endive-scss
Version:
Simplistic SCSS framework to assist in rapid front-end development
571 lines (520 loc) • 12.8 kB
CSS
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 {
content: "";
content: none; }
q:before, q:after {
content: "";
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
*,
*:before,
*:after {
box-sizing: border-box; }
body {
font-family: "Assistant", arial, sans-serif;
color: #434A54; }
.wrapper {
position: relative;
margin: 0 auto;
width: 96%; }
.wrapper-fixed {
margin: 0 auto;
width: 100%; }
@media screen and (min-width: 768px) {
.wrapper-fixed {
width: 756px; } }
@media screen and (min-width: 1024px) {
.wrapper-fixed {
width: 960px; } }
@media screen and (min-width: 1200px) {
.wrapper-fixed {
width: 1160px; } }
.row {
position: relative;
width: 100%; }
.row:after {
content: "";
display: table;
clear: both; }
.row.row-margin-top-1 {
margin-top: 1em; }
.row.row-margin-bottom-1 {
margin-bottom: 1em; }
.row.row-margin-both-1 {
margin: 1em 0; }
.row.row-margin-top-2 {
margin-top: 2em; }
.row.row-margin-bottom-2 {
margin-bottom: 2em; }
.row.row-margin-both-2 {
margin: 2em 0; }
.row.row-margin-top-3 {
margin-top: 3em; }
.row.row-margin-bottom-3 {
margin-bottom: 3em; }
.row.row-margin-both-3 {
margin: 3em 0; }
.row.row-margin-top-4 {
margin-top: 4em; }
.row.row-margin-bottom-4 {
margin-bottom: 4em; }
.row.row-margin-both-4 {
margin: 4em 0; }
.row.row-margin-top-5 {
margin-top: 5em; }
.row.row-margin-bottom-5 {
margin-bottom: 5em; }
.row.row-margin-both-5 {
margin: 5em 0; }
.row.row-margin-top-6 {
margin-top: 6em; }
.row.row-margin-bottom-6 {
margin-bottom: 6em; }
.row.row-margin-both-6 {
margin: 6em 0; }
.row.row-margin-top-7 {
margin-top: 7em; }
.row.row-margin-bottom-7 {
margin-bottom: 7em; }
.row.row-margin-both-7 {
margin: 7em 0; }
.row.row-margin-top-8 {
margin-top: 8em; }
.row.row-margin-bottom-8 {
margin-bottom: 8em; }
.row.row-margin-both-8 {
margin: 8em 0; }
.row.row-margin-top-9 {
margin-top: 9em; }
.row.row-margin-bottom-9 {
margin-bottom: 9em; }
.row.row-margin-both-9 {
margin: 9em 0; }
.row.row-striped-columns .col:nth-child(even) {
background: #E6E9ED; }
.row.row-striped-columns .col:nth-child(odd) {
background: #F5F7FA; }
.fixed {
position: fixed;
z-index: 999; }
.fixed.fixed-top {
width: 100%;
top: 0; }
.fixed.fixed-bottom {
width: 100%;
bottom: 0; }
.col {
float: left;
padding: 12px;
margin-left: 0; }
.col.no-padding {
padding: 0; }
@media screen and (min-width: 768px) {
.col {
margin-left: 3%; } }
.col:first-child {
margin-left: 0; }
.col.col-1 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-1 {
width: 5.58333%; } }
.col.col-2 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-2 {
width: 14.16667%; } }
.col.col-3 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-3 {
width: 22.75%; } }
.col.col-4 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-4 {
width: 31.33333%; } }
.col.col-5 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-5 {
width: 39.91667%; } }
.col.col-6 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-6 {
width: 48.5%; } }
.col.col-7 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-7 {
width: 57.08333%; } }
.col.col-8 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-8 {
width: 65.66667%; } }
.col.col-9 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-9 {
width: 74.25%; } }
.col.col-10 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-10 {
width: 82.83333%; } }
.col.col-11 {
width: 100%; }
@media screen and (min-width: 768px) {
.col.col-11 {
width: 91.41667%; } }
.col.col-12 {
width: 100%; }
.no-gutter .col {
float: left;
min-height: 32px;
margin-left: 0; }
.no-gutter .col:first-child {
margin-left: 0; }
.no-gutter .col.col-1 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-1 {
width: 8.33333%; } }
.no-gutter .col.col-2 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-2 {
width: 16.66667%; } }
.no-gutter .col.col-3 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-3 {
width: 25%; } }
.no-gutter .col.col-4 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-4 {
width: 33.33333%; } }
.no-gutter .col.col-5 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-5 {
width: 41.66667%; } }
.no-gutter .col.col-6 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-6 {
width: 50%; } }
.no-gutter .col.col-7 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-7 {
width: 58.33333%; } }
.no-gutter .col.col-8 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-8 {
width: 66.66667%; } }
.no-gutter .col.col-9 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-9 {
width: 75%; } }
.no-gutter .col.col-10 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-10 {
width: 83.33333%; } }
.no-gutter .col.col-11 {
width: 100%; }
@media screen and (min-width: 768px) {
.no-gutter .col.col-11 {
width: 91.66667%; } }
.no-gutter .col.col-12 {
width: 100%; }
.divider {
height: 2px;
width: 100%;
background: #E6E9ED;
margin: 8px 0 12px; }
form {
background: none; }
form .row {
padding: 12px 0; }
form .col {
padding: 0; }
form label {
display: block;
color: #434A54;
font-size: 0.85em;
margin: 0 0 4px; }
form input,
form select,
form textarea {
width: 100%;
background: #fff;
font-size: 1em;
color: #434A54;
border: 1px solid #CCD1D9;
padding: 8px 12px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px; }
form input:focus,
form select:focus,
form textarea:focus {
outline: 0;
outline: none;
border: 1px solid #C2185B; }
form input[type="submit"],
form select[type="submit"],
form textarea[type="submit"] {
background: #C2185B;
color: #fff;
font-size: 1em;
border: none;
padding: 12px 0; }
form input[type="submit"]:hover,
form select[type="submit"]:hover,
form textarea[type="submit"]:hover {
cursor: pointer; }
.form-alt {
background: #E6E9ED;
padding: 8px 16px;
width: 50%;
margin: 0 auto; }
.form-alt label {
display: block;
color: #434A54;
font-size: 0.85em;
margin: 0 0 4px; }
.form-alt input,
.form-alt select,
.form-alt textarea {
width: 100%;
background: #fff;
font-size: 1em;
color: #434A54;
border: 1px solid #CCD1D9;
padding: 8px 12px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px; }
.form-alt input:focus,
.form-alt select:focus,
.form-alt textarea:focus {
outline: 0;
outline: none;
border: 1px solid #C2185B; }
h1 {
font-size: 3em;
margin: 8px 0 12px; }
h2 {
font-size: 2.5em;
margin: 8px 0 12px; }
h3 {
font-size: 1.75em;
margin: 8px 0 12px; }
h4 {
font-size: 1.25em;
margin: 8px 0 12px; }
h5 {
font-size: 1em;
margin: 8px 0 12px; }
h6 {
font-size: 0.85em;
margin: 8px 0 12px; }
h1.heading-landing {
color: #C2185B;
font-size: 6em;
font-family: "Shrikhand", arial, sans-serif; }
@media screen and (min-width: 768px) {
h1.heading-landing {
font-size: 9em; } }
h2.heading-primary {
color: #C2185B;
font-size: 1.66667em;
font-family: "Assistant", arial, sans-serif; }
@media screen and (min-width: 768px) {
h2.heading-primary {
font-size: 2.5em; } }
h3.heading-secondary {
color: #AAB2BD;
font-size: 1.16667em;
font-family: "Assistant", arial, sans-serif; }
@media screen and (min-width: 768px) {
h3.heading-secondary {
font-size: 1.75em; } }
.navigation ul {
list-style: none;
margin: 0;
padding: 0; }
.navigation ul li {
display: inline-block;
list-style: none;
margin: 0; }
.navigation ul li a {
display: block;
text-decoration: none;
padding: 12px 16px; }
.navigation-vertical {
width: 100%; }
.navigation-vertical ul {
width: 100%; }
.navigation-vertical ul li {
display: block;
width: 100%; }
.navigation-vertical ul li a {
width: 100%; }
.navigation-primary {
background: #C2185B; }
.navigation-primary ul {
list-style: none;
margin: 0;
padding: 0; }
.navigation-primary ul li {
display: inline-block;
list-style: none;
margin: 0; }
.navigation-primary ul li a {
display: block;
text-decoration: none;
padding: 12px 16px;
color: #fff; }
.navigation-primary ul li a:hover {
color: #fff;
background: #ab1550;
text-decoration: none; }
.navigation-example {
background: #AAB2BD; }
.navigation-example ul {
list-style: none;
margin: 0;
padding: 0; }
.navigation-example ul li {
display: inline-block;
list-style: none;
margin: 0; }
.navigation-example ul li a {
display: block;
text-decoration: none;
padding: 12px 16px;
color: #fff; }
.navigation-example ul li a:hover {
color: #fff;
background: #9ca5b2;
text-decoration: none; }
ul.list {
list-style: disc;
margin: 0 0 1em 2em; }
ul.list li {
line-height: 1.4em; }
ol.list {
list-style: decimal;
margin: 0 0 1em 2em; }
ol.list li {
line-height: 1.4em; }
.text-left {
text-align: left; }
.text-center {
text-align: center; }
.text-right {
text-align: right; }
b,
strong,
.text-bold {
font-weight: bold; }
.note {
display: inline-block;
font-size: 1em;
margin: 0 0 8px; }
.note-underlined {
padding: 0 0 2px;
border-bottom: 1px solid #AAB2BD; }
.button {
display: inline-block;
text-decoration: none; }
.button-primary {
color: #fff;
background: #C2185B;
padding: 8px 24px;
font-size: 15px; }
.button-primary:hover {
background: #951246; }
.button-secondary {
color: #fff;
background: #AAB2BD;
padding: 8px 24px;
font-size: 15px; }
.button-secondary:hover {
background: #8d98a7; }
.alert {
width: 100%;
background: none;
padding: 12px 16px;
margin: 8px 0 16px;
color: #434A54;
border: 1px solid #CCD1D9;
font-size: 0.85em; }
.alert-primary {
background: none;
padding: 12px 16px;
margin: 8px 0 16px;
color: #C2185B;
border: 1px solid #C2185B; }
img {
max-width: 100%;
max-height: 100%; }
.img-thumbnail {
max-width: 100px;
max-height: 100px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border: none;
padding: 0; }
.img-medium {
max-width: 480px;
max-height: 320px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border: none;
padding: 0; }
.img-large {
max-width: 800px;
max-height: 600px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border: none;
padding: 0; }
.img-profile {
max-width: 100px;
max-height: 100px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border: none;
padding: 0; }
.img-bordered {
max-width: 100%;
max-height: 100%;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border: 1px solid #C2185B;
padding: 3px; }