barebones/style.css

672 lines
12 KiB
CSS
Executable File

/**
Theme Name: Barebones
Theme URI: http://github.com/benchmarkstudios/barebones
Author: Benchmark
*/
/**
* Colours
*/
/**
* Typography
*/
/**
* Breakpoints
*/
/**
* Grid
*/
/**
* Components
*/
/*
* Media query to respond to a minimum size (mobile first)
*/
/*
* Media query to respond to a maximum size
*/
/*
* Output font size in px/rem
*/
/*
* Placeholder mixin for <input>
*/
/**
* Clearfix
*/
/**
* Default variables and helper mixins
*/
/**
* Space between columns
*/
/**
* Max width of container
*/
/**
* Number of total columns
*/
/**
* Breakpoints
*/
/**
* Grid loop mixin
*/
/**
* Clearfix
*/
/**
* Grid scaffolding
*/
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px; }
.container:before,
.container:after {
content: " ";
display: table; }
.container:after {
clear: both; }
.row {
list-style: none;
margin-left: -24px; }
.row:before,
.row:after {
content: " ";
display: table; }
.row:after {
clear: both; }
.row.row--gutterless {
margin-left: 0; }
.col {
float: left;
padding-left: 24px;
box-sizing: border-box; }
.row--gutterless .col {
padding-left: 0; }
/**
* Columns generator
*/
@media only screen and (min-width: 1200px) {
.col--lg-offset-0 {
margin-left: 0%; }
.col--lg-1 {
width: 8.33333%; }
.col--lg-offset-1 {
margin-left: 8.33333%; }
.col--lg-2 {
width: 16.66667%; }
.col--lg-offset-2 {
margin-left: 16.66667%; }
.col--lg-3 {
width: 25%; }
.col--lg-offset-3 {
margin-left: 25%; }
.col--lg-4 {
width: 33.33333%; }
.col--lg-offset-4 {
margin-left: 33.33333%; }
.col--lg-5 {
width: 41.66667%; }
.col--lg-offset-5 {
margin-left: 41.66667%; }
.col--lg-6 {
width: 50%; }
.col--lg-offset-6 {
margin-left: 50%; }
.col--lg-7 {
width: 58.33333%; }
.col--lg-offset-7 {
margin-left: 58.33333%; }
.col--lg-8 {
width: 66.66667%; }
.col--lg-offset-8 {
margin-left: 66.66667%; }
.col--lg-9 {
width: 75%; }
.col--lg-offset-9 {
margin-left: 75%; }
.col--lg-10 {
width: 83.33333%; }
.col--lg-offset-10 {
margin-left: 83.33333%; }
.col--lg-11 {
width: 91.66667%; }
.col--lg-offset-11 {
margin-left: 91.66667%; }
.col--lg-12 {
width: 100%; }
.col--lg-offset-12 {
margin-left: 100%; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.col--md-offset-0 {
margin-left: 0%; }
.col--md-1 {
width: 8.33333%; }
.col--md-offset-1 {
margin-left: 8.33333%; }
.col--md-2 {
width: 16.66667%; }
.col--md-offset-2 {
margin-left: 16.66667%; }
.col--md-3 {
width: 25%; }
.col--md-offset-3 {
margin-left: 25%; }
.col--md-4 {
width: 33.33333%; }
.col--md-offset-4 {
margin-left: 33.33333%; }
.col--md-5 {
width: 41.66667%; }
.col--md-offset-5 {
margin-left: 41.66667%; }
.col--md-6 {
width: 50%; }
.col--md-offset-6 {
margin-left: 50%; }
.col--md-7 {
width: 58.33333%; }
.col--md-offset-7 {
margin-left: 58.33333%; }
.col--md-8 {
width: 66.66667%; }
.col--md-offset-8 {
margin-left: 66.66667%; }
.col--md-9 {
width: 75%; }
.col--md-offset-9 {
margin-left: 75%; }
.col--md-10 {
width: 83.33333%; }
.col--md-offset-10 {
margin-left: 83.33333%; }
.col--md-11 {
width: 91.66667%; }
.col--md-offset-11 {
margin-left: 91.66667%; }
.col--md-12 {
width: 100%; }
.col--md-offset-12 {
margin-left: 100%; } }
@media only screen and (min-width: 768px) and (max-width: 991px) {
.col--sm-offset-0 {
margin-left: 0%; }
.col--sm-1 {
width: 8.33333%; }
.col--sm-offset-1 {
margin-left: 8.33333%; }
.col--sm-2 {
width: 16.66667%; }
.col--sm-offset-2 {
margin-left: 16.66667%; }
.col--sm-3 {
width: 25%; }
.col--sm-offset-3 {
margin-left: 25%; }
.col--sm-4 {
width: 33.33333%; }
.col--sm-offset-4 {
margin-left: 33.33333%; }
.col--sm-5 {
width: 41.66667%; }
.col--sm-offset-5 {
margin-left: 41.66667%; }
.col--sm-6 {
width: 50%; }
.col--sm-offset-6 {
margin-left: 50%; }
.col--sm-7 {
width: 58.33333%; }
.col--sm-offset-7 {
margin-left: 58.33333%; }
.col--sm-8 {
width: 66.66667%; }
.col--sm-offset-8 {
margin-left: 66.66667%; }
.col--sm-9 {
width: 75%; }
.col--sm-offset-9 {
margin-left: 75%; }
.col--sm-10 {
width: 83.33333%; }
.col--sm-offset-10 {
margin-left: 83.33333%; }
.col--sm-11 {
width: 91.66667%; }
.col--sm-offset-11 {
margin-left: 91.66667%; }
.col--sm-12 {
width: 100%; }
.col--sm-offset-12 {
margin-left: 100%; } }
@media only screen and (max-width: 767px) {
.col--xs-offset-0 {
margin-left: 0%; }
.col--xs-1 {
width: 8.33333%; }
.col--xs-offset-1 {
margin-left: 8.33333%; }
.col--xs-2 {
width: 16.66667%; }
.col--xs-offset-2 {
margin-left: 16.66667%; }
.col--xs-3 {
width: 25%; }
.col--xs-offset-3 {
margin-left: 25%; }
.col--xs-4 {
width: 33.33333%; }
.col--xs-offset-4 {
margin-left: 33.33333%; }
.col--xs-5 {
width: 41.66667%; }
.col--xs-offset-5 {
margin-left: 41.66667%; }
.col--xs-6 {
width: 50%; }
.col--xs-offset-6 {
margin-left: 50%; }
.col--xs-7 {
width: 58.33333%; }
.col--xs-offset-7 {
margin-left: 58.33333%; }
.col--xs-8 {
width: 66.66667%; }
.col--xs-offset-8 {
margin-left: 66.66667%; }
.col--xs-9 {
width: 75%; }
.col--xs-offset-9 {
margin-left: 75%; }
.col--xs-10 {
width: 83.33333%; }
.col--xs-offset-10 {
margin-left: 83.33333%; }
.col--xs-11 {
width: 91.66667%; }
.col--xs-offset-11 {
margin-left: 91.66667%; }
.col--xs-12 {
width: 100%; }
.col--xs-offset-12 {
margin-left: 100%; } }
* {
background-color: transparent;
border: 0;
box-sizing: border-box;
font: inherit;
margin: 0;
padding: 0; }
html {
background-color: white;
font-size: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility; }
input,
select,
textarea,
button {
color: inherit;
display: inline-block; }
input[disabled],
select[disabled],
textarea[disabled],
button[disabled] {
cursor: not-allowed; }
button {
cursor: pointer; }
table {
border-collapse: collapse;
border-spacing: 0; }
table th,
table td {
text-align: left; }
.sr-only {
font-size: 0;
height: 0;
overflow: hidden;
position: absolute;
width: 0; }
@media only screen and (min-width: 1200px) {
.visible-lg {
display: block !important; } }
@media only screen and (min-width: 1200px) {
.hidden-lg {
display: none !important; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.visible-md {
display: block !important; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.hidden-md {
display: none !important; } }
@media only screen and (min-width: 768px) and (max-width: 991px) {
.visible-sm {
display: block !important; } }
@media only screen and (min-width: 768px) and (max-width: 991px) {
.hidden-sm {
display: none !important; } }
@media only screen and (max-width: 767px) {
.visible-xs {
display: block !important; } }
@media only screen and (max-width: 767px) {
.hidden-xs {
display: none !important; } }
/**
* Clearing and floating
*/
.alignleft,
.float-left {
float: left; }
img .alignleft,
img .float-left {
margin-right: 24px; }
.alignright,
.float-right {
float: right; }
img .alignright,
img .float-right {
margin-left: 24px; }
.aligncenter,
.float-center {
display: block;
margin-left: auto;
margin-right: auto; }
img .aligncenter,
img .float-center {
margin-bottom: 24px; }
/**
* Text aligments
*/
.align-text-left {
text-align: left; }
.align-text-right {
text-align: right; }
.align-text-center {
text-align: right; }
/**
* Elements visibility
*/
.visible-on-mobile {
display: none !important; }
@media screen and (max-width: 767px) {
.visible-on-mobile {
display: block !important; } }
.visible-on-tablet {
display: none !important; }
@media screen and (max-width: 992px) {
.visible-on-tablet {
display: block !important; } }
@media screen and (max-width: 992px) {
.visible-on-desktop {
display: none !important; } }
body {
color: #444;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
font-size: 1rem;
line-height: 1.5;
-webkit-text-size-adjust: none; }
h1,
h2,
h3,
h4,
h5,
h6,
p,
hr,
ul,
ol,
dl,
address {
margin-bottom: 24px; }
/**
* Basic styles for links
*/
a {
color: #444;
text-decoration: none; }
a:hover {
color: #444;
text-decoration: underline; }
a[href^="tel"] {
color: inherit;
text-decoration: none;
font-family: inherit;
font-size: inherit;
font-style: inherit; }
/**
* Rulers
*/
hr {
background-color: #444;
height: 1px; }
/**
* This file contains all @font-face declarations, if any.
*/
img {
max-width: 100%;
vertical-align: top; }
img[width],
img[height] {
max-width: none; }
/**
* Responsive images
*/
.is-fluid {
display: block;
width: 100%;
height: auto; }
/**
* Blanket input styles for normalisation
*/
*:focus {
outline: 0; }
input,
select,
textarea {
background-color: #fff;
border: solid 1px #444;
border-radius: 0;
color: #444;
line-height: 36px;
height: 36px;
padding: 0 12px;
width: 100%; }
input[type="checkbox"],
input[type="radio"] {
background: transparent;
border: 0;
line-height: normal;
height: auto;
width: auto; }
input[type="file"] {
line-height: normal;
height: auto;
padding: 6px 12px; }
input[type="submit"] {
border-radius: 0; }
input[disabled] {
background-color: whitesmoke;
cursor: not-allowed; }
select {
line-height: normal;
padding: 0;
padding-left: 12px; }
textarea {
min-height: 96px;
overflow: auto;
vertical-align: top;
resize: vertical; }
/**
* Form utility classes
*/
.form--inline .form__group {
display: inline-block; }
.checkbox,
.radio {
display: block;
padding-left: 24px; }
.checkbox.inline,
.radio.inline {
display: inline-block; }
.checkbox > input,
.radio > input {
float: left;
margin-left: -24px;
margin-top: 4px; }
.form__group {
display: block;
margin-bottom: 24px; }
.form__label {
display: block;
margin-bottom: 12px; }
/**
* Input Group
*
* Allows for prepend/append of elements
* (such as icons) on an input.
*/
.input-group {
position: relative; }
.input-group > input {
padding: 0 48px; }
.input-group .input-group__addon {
line-height: 36px;
height: 36px;
position: absolute;
text-align: center;
top: 0;
width: 36px; }
.input-group .input-group__addon:first-child {
left: 0; }
.input-group .input-group__addon:last-child {
right: 0; }
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: bold; }
small {
font-size: .75em; }
.btn {
background-color: #444;
color: #fff;
border: 1px solid transparent;
display: inline-block;
padding: 6px 24px;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: auto;
transition: all 0.5s; }
.btn::-moz-focus-inner {
border: 0;
padding: 0; }
.btn:hover {
text-decoration: none;
background-color: #fff;
color: #444;
border: 1px solid #444; }
.btn .is-disabled,
.btn:disabled {
pointer-events: none;
opacity: .65; }
.btn--inverse {
background-color: #fff;
color: #444;
border: 1px solid #444; }
.btn--inverse:hover {
background-color: #444;
color: #fff;
border: 1px solid transparent; }
.btn--block {
display: block;
width: 100%; }
.btn--block + .btn--block {
margin-top: 6px; }
.btn--link {
background-color: transparent;
color: #444; }
.nav {
list-style: none;
margin: 0; }
.nav > li {
display: inline-block;
margin-right: 24px; }
.nav > li:last-child {
margin-right: 0; }
.nav > li > a {
display: block; }
/*# sourceMappingURL=style.css.map */