1
Fork 0

Start fixing scss linting

This commit is contained in:
Jake Howard 2017-05-01 22:17:46 +01:00
parent a447870c6f
commit 2c7c34ada0
2 changed files with 1500 additions and 1596 deletions

View file

@ -8,124 +8,124 @@
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 { 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; margin: 0;
padding: 0;
border: 0; border: 0;
font-size: 100%; padding: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
font: inherit;
font-size: 100%;
} }
/* Basic */ /* Basic */
body { body {
background: #f5f5f5; background: #F5F5F5;
} }
body, input, select, textarea { body, input, select, textarea {
line-height: 1.65em;
letter-spacing: -0.015em;
color: #777; color: #777;
font-family: "Source Sans Pro", sans-serif; font-family: "Source Sans Pro", sans-serif;
font-size: 16pt; font-size: 16pt;
font-weight: 300; font-weight: 300;
line-height: 1.65em; }
letter-spacing: -0.015em;
}
a { a {
transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out; transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
border-bottom: dotted 1px; border-bottom: dotted 1px;
color: #e89980;
text-decoration: none; text-decoration: none;
} color: #E89980;
a:hover { &:hover {
border-bottom-color: transparent; border-bottom-color: transparent;
} }
}
strong, b { strong, b {
color: #646464; color: #646464;
font-weight: 400; font-weight: 400;
} }
em, i { em, i {
font-style: italic; font-style: italic;
} }
p { p {
margin: 0 0 2em 0; margin: 0 0 2em 0;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: #646464; color: #646464;
font-weight: 300; font-weight: 300;
line-height: 1em; line-height: 1em;
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { & a {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }
}
h2 { h2 {
font-size: 2.25em; font-size: 2.25em;
line-height: 1.5em; line-height: 1.5em;
letter-spacing: -0.035em; letter-spacing: -0.035em;
} }
h3 { h3 {
font-size: 1.75em; font-size: 1.75em;
line-height: 1.5em; line-height: 1.5em;
letter-spacing: -0.025em; letter-spacing: -0.025em;
} }
h4 { h4 {
font-size: 1.1em; font-size: 1.1em;
line-height: 1.5em; line-height: 1.5em;
letter-spacing: 0; letter-spacing: 0;
} }
h5 { h5 {
font-size: 0.9em; font-size: 0.9em;
line-height: 1.5em; line-height: 1.5em;
letter-spacing: 0; letter-spacing: 0;
} }
h6 { h6 {
font-size: 0.7em; font-size: 0.7em;
line-height: 1.5em; line-height: 1.5em;
letter-spacing: 0; letter-spacing: 0;
} }
sub { sub {
font-size: 0.8em; font-size: 0.8em;
position: relative; position: relative;
top: 0.5em; top: 0.5em;
} }
sup { sup {
font-size: 0.8em; font-size: 0.8em;
position: relative; position: relative;
top: -0.5em; top: -0.5em;
} }
hr { hr {
border: 0; border: 0;
border-bottom: solid 2px #e5e5e5; border-bottom: solid 2px #e5e5e5;
margin: 2em 0; margin: 2em 0;
}
hr.major { &.major {
margin: 3em 0; margin: 3em 0;
} }
}
blockquote { blockquote {
border-left: solid 4px #e5e5e5; border-left: solid 4px #e5e5e5;
font-style: italic; font-style: italic;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding: 0.5em 0 0.5em 2em; padding: 0.5em 0 0.5em 2em;
} }
pre { pre {
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
background: #f8f8f8; background: #f8f8f8;
border-radius: 6px; border-radius: 6px;
@ -136,9 +136,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
margin: 0 0 2em 0; margin: 0 0 2em 0;
overflow-x: auto; overflow-x: auto;
padding: 1em 1.5em; padding: 1em 1.5em;
} }
code { code {
background: #f8f8f8; background: #f8f8f8;
border-radius: 6px; border-radius: 6px;
border: solid 1px #e5e5e5; border: solid 1px #e5e5e5;
@ -146,63 +146,61 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
font-size: 0.9em; font-size: 0.9em;
margin: 0 0.25em; margin: 0 0.25em;
padding: 0.25em 0.65em; padding: 0.25em 0.65em;
} }
.align-left { .align-left {
text-align: left; text-align: left;
} }
.align-center { .align-center {
text-align: center; text-align: center;
} }
.align-right { .align-right {
text-align: right; text-align: right;
} }
/* Section/Article */ /* Section/Article */
section.special, article.special {
section.special, article.special {
text-align: center; text-align: center;
} }
header p { header p {
color: #999; color: #999;
position: relative; position: relative;
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
font-style: italic; font-style: italic;
} }
header h2 + p { header h2 + p {
font-size: 1.25em; font-size: 1.25em;
margin-top: -1em; margin-top: -1em;
line-height: 1.5em; line-height: 1.5em;
} }
header h3 + p { header h3 + p {
font-size: 1.1em; font-size: 1.1em;
margin-top: -0.85em; margin-top: -0.85em;
line-height: 1.5em; line-height: 1.5em;
} }
header h4 + p, header h4 + p,
header h5 + p, header h5 + p,
header h6 + p { header h6 + p {
font-size: 0.8em; font-size: 0.8em;
margin-top: -0.5em; margin-top: -0.5em;
line-height: 1.5em; line-height: 1.5em;
} }
header.major { header.major {
padding: 1em 0; padding: 1em 0;
text-align: center; text-align: center;
}
header.major h2 { h2 {
margin: 0; margin: 0;
} }
header.major p { p {
display: inline-block; display: inline-block;
border-top: solid 2px #e5e5e5; border-top: solid 2px #e5e5e5;
color: #777; color: #777;
@ -210,26 +208,26 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
padding: 1.5em 0 0 0; padding: 1.5em 0 0 0;
font-style: normal; font-style: normal;
} }
}
/* Form */ /* Form */
form {
form {
margin: 0 0 2em 0; margin: 0 0 2em 0;
} }
label { label {
color: #646464; color: #646464;
display: block; display: block;
font-size: 0.9em; font-size: 0.9em;
font-weight: 300; font-weight: 300;
margin: 0 0 1em 0; margin: 0 0 1em 0;
} }
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],
input[type="email"], input[type="email"],
select, select,
textarea { textarea {
appearance: none; appearance: none;
background: #f8f8f8; background: #f8f8f8;
border-radius: 6px; border-radius: 6px;
@ -240,41 +238,29 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
padding: 0 1em; padding: 0 1em;
text-decoration: none; text-decoration: none;
width: 100%; width: 100%;
}
input[type="text"]:invalid, &:invalid {
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
box-shadow: none; box-shadow: none;
} }
input[type="text"]:focus, &:focus {
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
border-color: #e89980; border-color: #e89980;
box-shadow: 0 0 0 2px #e89980; box-shadow: 0 0 0 2px #e89980;
} }
}
.select-wrapper { .select-wrapper {
text-decoration: none; text-decoration: none;
display: block; display: block;
position: relative; position: relative;
}
.select-wrapper:before { &:before {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-family: FontAwesome; font-family: FontAwesome;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
text-transform: none !important; text-transform: none !important;
}
.select-wrapper:before {
color: #e5e5e5; color: #e5e5e5;
content: '\f078'; content: '\f078';
display: block; display: block;
@ -288,23 +274,24 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
width: 3em; width: 3em;
} }
.select-wrapper select::-ms-expand { select::-ms-expand {
display: none; display: none;
} }
}
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],
input[type="email"], input[type="email"],
select { select {
height: 3em; height: 3em;
} }
textarea { textarea {
padding: 0.75em 1em; padding: 0.75em 1em;
} }
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
appearance: none; appearance: none;
display: block; display: block;
float: left; float: left;
@ -312,10 +299,8 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
opacity: 0; opacity: 0;
width: 1em; width: 1em;
z-index: -1; z-index: -1;
}
input[type="checkbox"] + label, & + label {
input[type="radio"] + label {
text-decoration: none; text-decoration: none;
color: #777; color: #777;
cursor: pointer; cursor: pointer;
@ -325,20 +310,14 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
padding-left: 2.55em; padding-left: 2.55em;
padding-right: 0.75em; padding-right: 0.75em;
position: relative; position: relative;
}
input[type="checkbox"] + label:before, &:before {
input[type="radio"] + label:before {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-family: FontAwesome; font-family: FontAwesome;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
text-transform: none !important; text-transform: none !important;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
background: #f8f8f8; background: #f8f8f8;
border-radius: 6px; border-radius: 6px;
border: solid 1px #e5e5e5; border: solid 1px #e5e5e5;
@ -352,63 +331,62 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
top: 0; top: 0;
width: 1.8em; width: 1.8em;
} }
}
input[type="checkbox"]:checked + label:before, &:checked + label:before {
input[type="radio"]:checked + label:before {
background: #666; background: #666;
border-color: #666; border-color: #666;
color: #ffffff; color: #ffffff;
content: '\f00c'; content: '\f00c';
} }
input[type="checkbox"]:focus + label:before, &:checked + label:before {
input[type="radio"]:focus + label:before {
border-color: #e89980; border-color: #e89980;
box-shadow: 0 0 0 1px #e89980; box-shadow: 0 0 0 1px #e89980;
} }
}
input[type="checkbox"] + label:before { input[type="checkbox"] + label:before {
border-radius: 6px; border-radius: 6px;
} }
input[type="radio"] + label:before { input[type="radio"] + label:before {
border-radius: 100%; border-radius: 100%;
} }
::-webkit-input-placeholder { ::-webkit-input-placeholder {
color: #999 !important; color: #999 !important;
opacity: 1.0; opacity: 1.0;
} }
:-moz-placeholder { :-moz-placeholder {
color: #999 !important; color: #999 !important;
opacity: 1.0; opacity: 1.0;
} }
::-moz-placeholder { ::-moz-placeholder {
color: #999 !important; color: #999 !important;
opacity: 1.0; opacity: 1.0;
} }
:-ms-input-placeholder { :-ms-input-placeholder {
color: #999 !important; color: #999 !important;
opacity: 1.0; opacity: 1.0;
} }
.formerize-placeholder { .formerize-placeholder {
color: #999 !important; color: #999 !important;
opacity: 1.0; opacity: 1.0;
} }
/* Box */ /* Box */
.box {
.box {
background: #fff; background: #fff;
border-radius: 6px; border-radius: 6px;
box-shadow: 0 2px 0 0 #e5e5e5; box-shadow: 0 2px 0 0 #e5e5e5;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding: 3em; padding: 3em;
} }
.box > :last-child { .box > :last-child {
margin-bottom: 0; margin-bottom: 0;
@ -517,12 +495,11 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Icon */ /* Icon */
.icon {
.icon {
text-decoration: none; text-decoration: none;
border-bottom: none; border-bottom: none;
position: relative; position: relative;
} }
.icon:before { .icon:before {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -580,12 +557,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
/* Image */ /* Image */
.image { .image {
border-radius: 6px; border-radius: 6px;
border: 0; border: 0;
display: inline-block; display: inline-block;
position: relative; position: relative;
} }
.image img { .image img {
border-radius: 6px; border-radius: 6px;
@ -616,22 +593,21 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* List */ /* List */
ol {
ol {
list-style: decimal; list-style: decimal;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1.25em; padding-left: 1.25em;
} }
ol li { ol li {
padding-left: 0.25em; padding-left: 0.25em;
} }
ul { ul {
list-style: disc; list-style: disc;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1em; padding-left: 1em;
} }
ul li { ul li {
padding-left: 0.5em; padding-left: 0.5em;
@ -742,21 +718,20 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
padding: 0 0 0 0.5em; padding: 0 0 0 0.5em;
} }
dl { dl {
margin: 0 0 2em 0; margin: 0 0 2em 0;
} }
/* Table */ /* Table */
.table-wrapper {
.table-wrapper {
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
overflow-x: auto; overflow-x: auto;
} }
table { table {
margin: 0 0 2em 0; margin: 0 0 2em 0;
width: 100%; width: 100%;
} }
table tbody tr { table tbody tr {
border: solid 1px #e5e5e5; border: solid 1px #e5e5e5;
@ -815,11 +790,10 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Button */ /* Button */
input[type="submit"],
input[type="submit"], input[type="reset"],
input[type="reset"], input[type="button"],
input[type="button"], .button {
.button {
appearance: none; appearance: none;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
background-color: #666; background-color: #666;
@ -835,7 +809,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
} }
input[type="submit"]:hover, input[type="submit"]:hover,
input[type="reset"]:hover, input[type="reset"]:hover,
@ -959,16 +933,15 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Header */ /* Header */
#page-wrapper {
#page-wrapper {
padding-top: 3em; padding-top: 3em;
} }
body.landing #page-wrapper { body.landing #page-wrapper {
padding-top: 0; padding-top: 0;
} }
@-moz-keyframes reveal-header { @keyframes reveal-header {
0% { 0% {
top: -5em; top: -5em;
} }
@ -976,39 +949,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
100% { 100% {
top: 0; top: 0;
} }
} }
@-webkit-keyframes reveal-header { #header {
0% {
top: -5em;
}
100% {
top: 0;
}
}
@-ms-keyframes reveal-header {
0% {
top: -5em;
}
100% {
top: 0;
}
}
@keyframes reveal-header {
0% {
top: -5em;
}
100% {
top: 0;
}
}
#header {
background: #444; background: #444;
color: #bbb; color: #bbb;
cursor: default; cursor: default;
@ -1019,7 +962,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
top: 0; top: 0;
width: 100%; width: 100%;
z-index: 10000; z-index: 10000;
} }
#header h1 { #header h1 {
color: inherit; color: inherit;
@ -1170,7 +1113,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
} }
.dropotron { .dropotron {
background: #fff; background: #fff;
border-radius: 6px; border-radius: 6px;
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.065), inset 0 -1px 0 0 #fff, inset 0 0 0 1px rgba(229, 229, 229, 0.5); box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.065), inset 0 -1px 0 0 #fff, inset 0 0 0 1px rgba(229, 229, 229, 0.5);
@ -1178,7 +1121,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
margin: calc(-0.5em + 1px) 0 0 1px; margin: calc(-0.5em + 1px) 0 0 1px;
padding: 0.5em 0; padding: 0.5em 0;
width: 11em; width: 11em;
} }
.dropotron li { .dropotron li {
padding: 0; padding: 0;
@ -1225,8 +1168,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Banner */ /* Banner */
#banner {
#banner {
background-attachment: scroll, fixed; background-attachment: scroll, fixed;
background-color: #666; background-color: #666;
background-image: url("images/overlay.png"), url("../../images/banner.jpg"); background-image: url("images/overlay.png"), url("../../images/banner.jpg");
@ -1236,7 +1178,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
color: #fff; color: #fff;
padding: 12em 0 20em 0; padding: 12em 0 20em 0;
text-align: center; text-align: center;
} }
#banner :last-child { #banner :last-child {
margin-bottom: 0; margin-bottom: 0;
@ -1291,10 +1233,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Main */ /* Main */
#main {
#main {
padding: 4em 0; padding: 4em 0;
} }
#main > header { #main > header {
text-align: center; text-align: center;
@ -1315,17 +1256,17 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
padding: 1em 0 1.25em 0; padding: 1em 0 1.25em 0;
} }
body.landing #main { body.landing #main {
margin-top: -14em; margin-top: -14em;
} }
/* Footer */ /* Footer */
#footer { #footer {
background: #f0f0f0; background: #f0f0f0;
padding: 4em 0 6em 0; padding: 4em 0 6em 0;
text-align: center; text-align: center;
} }
#footer .icons a { #footer .icons a {
transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out;
@ -1364,13 +1305,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* CTA */ /* CTA */
#cta {
#cta {
background: #e89980; background: #e89980;
color: #f9e5df; color: #f9e5df;
padding: 3.5em 0 4em 0; padding: 3.5em 0 4em 0;
text-align: center; text-align: center;
} }
#cta h2, #cta h3, #cta h4, #cta h5, #cta h6 { #cta h2, #cta h3, #cta h4, #cta h5, #cta h6 {
color: inherit; color: inherit;
@ -1430,41 +1370,33 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Wide */ /* Wide */
@media screen and (max-width: 1680px) {
@media screen and (max-width: 1680px) {
/* Basic */ /* Basic */
body, input, select, textarea { body, input, select, textarea {
font-size: 13pt; font-size: 13pt;
} }
/* Banner */ /* Banner */
#banner { #banner {
padding: 10em 0 18em 0; padding: 10em 0 18em 0;
} }
}
}
/* Normal */ /* Normal */
@media screen and (max-width: 1280px) {
@media screen and (max-width: 1280px) {
/* Basic */ /* Basic */
body, input, select, textarea { body, input, select, textarea {
font-size: 11pt; font-size: 11pt;
} }
/* Header */ /* Header */
.dropotron.level-0 { .dropotron.level-0 {
font-size: 1em; font-size: 1em;
} }
/* Banner */ /* Banner */
#banner { #banner {
background-attachment: scroll; background-attachment: scroll;
} }
@ -1472,31 +1404,25 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
#banner h2 { #banner h2 {
font-size: 3.5em; font-size: 3.5em;
} }
}
}
/* Narrow */ /* Narrow */
@media screen and (max-width: 980px) {
@media screen and (max-width: 980px) {
/* Basic */ /* Basic */
body, input, select, textarea { body, input, select, textarea {
font-size: 11pt; font-size: 11pt;
} }
}
}
/* Narrower */ /* Narrower */
#navPanel, #navButton {
#navPanel, #navButton {
display: none; display: none;
} }
@media screen and (max-width: 840px) { @media screen and (max-width: 840px) {
/* Basic */ /* Basic */
html, body { html, body {
overflow-x: hidden; overflow-x: hidden;
} }
@ -1510,7 +1436,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Section/Article */ /* Section/Article */
header br { header br {
display: none; display: none;
} }
@ -1520,7 +1445,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Box */ /* Box */
.box { .box {
padding: 3em 2em; padding: 3em 2em;
} }
@ -1545,7 +1469,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Header */ /* Header */
#page-wrapper { #page-wrapper {
padding-top: 0; padding-top: 0;
} }
@ -1557,7 +1480,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
/* Banner */ /* Banner */
/* Off-Canvas Navigation */ /* Off-Canvas Navigation */
#page-wrapper { #page-wrapper {
backface-visibility: hidden; backface-visibility: hidden;
transition: transform 0.5s ease; transition: transform 0.5s ease;
@ -1683,15 +1605,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
body.navPanel-visible #navPanel { body.navPanel-visible #navPanel {
transform: translateX(0); transform: translateX(0);
} }
}
}
/* Mobile */ /* Mobile */
@media screen and (max-width: 736px) {
@media screen and (max-width: 736px) {
/* Basic */ /* Basic */
body, input, select, textarea { body, input, select, textarea {
font-size: 11pt; font-size: 11pt;
} }
@ -1711,7 +1630,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Section/Article */ /* Section/Article */
header.major { header.major {
padding: 1em; padding: 1em;
} }
@ -1722,7 +1640,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Box */ /* Box */
.box { .box {
margin: 1em; margin: 1em;
overflow-x: hidden; overflow-x: hidden;
@ -1765,7 +1682,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Banner */ /* Banner */
#banner { #banner {
padding: 4em 0; padding: 4em 0;
} }
@ -1779,7 +1695,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Main */ /* Main */
#main { #main {
padding: 4em 0 0 0; padding: 4em 0 0 0;
} }
@ -1803,7 +1718,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Footer */ /* Footer */
#footer { #footer {
padding: 4em 0; padding: 4em 0;
} }
@ -1815,15 +1729,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
} }
}
}
/* Mobile (Portrait) */ /* Mobile (Portrait) */
@media screen and (max-width: 480px) {
@media screen and (max-width: 480px) {
/* Basic */ /* Basic */
html, body { html, body {
min-width: 320px; min-width: 320px;
} }
@ -1833,13 +1744,11 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Section/Article */ /* Section/Article */
header.major { header.major {
padding: 0; padding: 0;
} }
/* List */ /* List */
ul.actions { ul.actions {
margin: 0 0 2em 0; margin: 0 0 2em 0;
} }
@ -1873,7 +1782,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
/* Box */ /* Box */
.box { .box {
border-radius: 0; border-radius: 0;
box-shadow: none; box-shadow: none;
@ -1887,8 +1795,8 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
.box .image.featured { .box .image.featured {
border-radius: 0;
margin-left: -1em; margin-left: -1em;
border-radius: 0;
width: calc(100% + 2em); width: calc(100% + 2em);
} }
@ -1897,31 +1805,27 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
} }
.box .image.featured:first-child { .box .image.featured:first-child {
margin-bottom: 3em;
margin-top: -3em; margin-top: -3em;
margin-bottom: 3em;
} }
.box .image.featured:last-child { .box .image.featured:last-child {
margin-bottom: -3em;
margin-top: 3em; margin-top: 3em;
margin-bottom: -3em;
} }
/* Banner */ /* Banner */
#banner { #banner {
padding: 5em 1em 4em 1em; padding: 5em 1em 4em;
} }
/* Main */ /* Main */
#main > .box:first-child { #main > .box:first-child {
margin-top: 0; margin-top: 0;
} }
/* CTA */ /* CTA */
#cta { #cta {
padding: 2.5em 1em 3em 1em; padding: 2.5em 1em 3em;
}
} }
}

View file

@ -4,9 +4,9 @@ $fa-font-path: "../fonts";
@import "node_modules/bootstrap/scss/bootstrap-grid"; @import "node_modules/bootstrap/scss/bootstrap-grid";
// Import Alpha theme (ish) // Import Alpha theme (ish)
@import 'alpha'; @import "alpha";
.box .box { .box .box {
border-radius: 0px; border-radius: 0;
} }