assets/public/css/base.css
/* https://github.com/BrunoBernardino/Skeleton */
/* ====== Reset & Basics (Inspired by E. Meyers) ====== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* ====== Basic Styles ====== */
body {
background: #fff;
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%;
}
/* ====== Typography ====== */
h1, h2, h3, h4, h5, h6 {
color: #181818;
font-family: "Georgia", "Times New Roman", serif;
font-weight: normal;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }
.subheader { color: #777; }
p { margin: 0 0 20px 0; }
p img { margin: 0; }
p.lead { font-size: 21px; line-height: 27px; color: #777; }
em { font-style: italic; }
strong { font-weight: bold; color: #333; }
small { font-size: 80%; }
/* Blockquotes */
blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
/* ====== Links ====== */
a, a:visited { color: #333; text-decoration: none; outline: 0; }
a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; }
/* ====== Lists ====== */
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }
/* ====== Images ====== */
img {
max-width: 100%;
height: auto;
}
/* ====== Buttons ====== */
.button {
background: #CDD3D7; /* Old browsers */
background: -moz-linear-gradient(top, #CDD3D7 0%, #BDC3C7 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#CDD3D7), color-stop(100%,#BDC3C7)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #CDD3D7 0%,#BDC3C7 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #CDD3D7 0%,#BDC3C7 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #CDD3D7 0%,#BDC3C7 100%); /* IE10+ */
background: linear-gradient(top, #CDD3D7 0%,#BDC3C7 100%); /* W3C */
border: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #444;
display: inline-block;
font-size: 12px;
font-weight: normal;
text-decoration: none;
cursor: pointer;
margin-bottom: 20px;
line-height: normal;
padding: 8px 10px;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.button:hover, .button:active {
color: #FFF;
background: #95A5A6; /* Old browsers */
background: -moz-linear-gradient(top, #95A5A6 0%, #7F8C8D 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#95A5A6), color-stop(100%,#7F8C8D)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #95A5A6 0%,#7F8C8D 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #95A5A6 0%,#7F8C8D 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #95A5A6 0%,#7F8C8D 100%); /* IE10+ */
background: linear-gradient(top, #95A5A6 0%,#7F8C8D 100%); /* W3C */
}
.button.primary {
background: #1ABC9C; /* Old browsers */
background: -moz-linear-gradient(top, #1ABC9C 0%, #16A085 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1ABC9C), color-stop(100%,#16A085)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #1ABC9C 0%,#16A085 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #1ABC9C 0%,#16A085 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #1ABC9C 0%,#16A085 100%); /* IE10+ */
background: linear-gradient(top, #1ABC9C 0%,#16A085 100%); /* W3C */
color: #FFF;
}
.button.primary:hover, .button.primary:active {
background: #2ECC71; /* Old browsers */
background: -moz-linear-gradient(top, #2ECC71 0%, #27AE60 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2ECC71), color-stop(100%,#27AE60)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2ECC71 0%,#27AE60 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2ECC71 0%,#27AE60 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #2ECC71 0%,#27AE60 100%); /* IE10+ */
background: linear-gradient(top, #2ECC71 0%,#27AE60 100%); /* W3C */
}
.button.secondary {
background: #3498DB; /* Old browsers */
background: -moz-linear-gradient(top, #3498DB 0%, #2980B9 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3498DB), color-stop(100%,#2980B9)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #3498DB 0%,#2980B9 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #3498DB 0%,#2980B9 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #3498DB 0%,#2980B9 100%); /* IE10+ */
background: linear-gradient(top, #3498DB 0%,#2980B9 100%); /* W3C */
color: #FFF;
}
.button.secondary:hover, .button.secondary:active {
background: #34495E; /* Old browsers */
background: -moz-linear-gradient(top, #34495E 0%, #2C3E50 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#34495E), color-stop(100%,#2C3E50)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #34495E 0%,#2C3E50 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #34495E 0%,#2C3E50 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #34495E 0%,#2C3E50 100%); /* IE10+ */
background: linear-gradient(top, #34495E 0%,#2C3E50 100%); /* W3C */
}
.button.tertiary {
background: #E74C3C; /* Old browsers */
background: -moz-linear-gradient(top, #E74C3C 0%, #C0392B 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E74C3C), color-stop(100%,#C0392B)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #E74C3C 0%,#C0392B 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #E74C3C 0%,#C0392B 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #E74C3C 0%,#C0392B 100%); /* IE10+ */
background: linear-gradient(top, #E74C3C 0%,#C0392B 100%); /* W3C */
color: #FFF;
}
.button.tertiary:hover, .button.tertiary:active {
background: #E67E22; /* Old browsers */
background: -moz-linear-gradient(top, #E67E22 0%, #D35400 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E67E22), color-stop(100%,#D35400)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #E67E22 0%,#D35400 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #E67E22 0%,#D35400 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #E67E22 0%,#D35400 100%); /* IE10+ */
background: linear-gradient(top, #E67E22 0%,#D35400 100%); /* W3C */
}
.button.full-width {
width: 100%;
padding-left: 0;
padding-right: 0;
text-align: center;
}
.button.medium {
font-size: 1.2em;
padding-left: 15px;
padding-right: 15px;
}
.button.large {
font-size: 1.5em;
padding-left: 20px;
padding-right: 20px;
}
/* Fix for odd Mozilla border & padding issues */
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/* ====== Forms ====== */
form {
margin-bottom: 20px; }
fieldset {
margin-bottom: 20px; }
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
border: 1px solid #ccc;
padding: 6px 4px;
outline: none;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
margin: 0;
width: 210px;
max-width: 100%;
display: block;
margin-bottom: 20px;
background: #fff;
}
input[type="text"].medium,
input[type="password"].medium,
input[type="email"].medium,
textarea.medium,
select.medium {
width: 40%;
}
input[type="text"].large,
input[type="password"].large,
input[type="email"].large,
textarea.large,
select.large {
width: 70%;
}
input[type="text"].full-width,
input[type="password"].full-width,
input[type="email"].full-width,
textarea.full-width,
select.full-width {
width: 99%;
}
input[type="text"].auto,
input[type="password"].auto,
input[type="email"].auto,
textarea.auto,
select.auto {
width: auto;
}
select {
padding: 0;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
border: 1px solid #aaa;
color: #444;
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
box-shadow: 0 0 3px rgba(0,0,0,.2);
}
textarea {
min-height: 60px;
}
label,
legend {
display: block;
font-weight: bold;
font-size: 13px;
}
label.checkbox, label.radio {
cursor: pointer;
}
select {
width: 220px;
}
input[type="checkbox"] {
display: inline;
}
label span,
legend span {
font-weight: normal;
font-size: 13px;
color: #444;
}
/* ====== Misc ====== */
.remove-bottom { margin-bottom: 0 !important; }
.half-bottom { margin-bottom: 10px !important; }
.add-bottom { margin-bottom: 20px !important; }
.old-browser {
margin: 0 0 20px 0;
background: #900;
color: #FFF;
padding: 1em;
font-size: 1.2em;
text-align: center;
display: none;
}
.ie6 .old-browser, .ie7 .old-browser, .ie8 .old-browser, .ie9 .old-browser {
display: block;
}
.old-browser strong {
color: #FFF;
}
.old-browser a {
color: #FFF;
text-decoration: underline;
}
.old-browser a:active, .old-browser a:hover {
color: #333;
text-decoration: none;
}