1
0
Fork 0

Now with sass-support

This commit is contained in:
Moritz »mo.« Sauer 2015-02-19 22:34:33 +01:00
parent e8835b4899
commit 87ca494ca0
62 changed files with 12427 additions and 269 deletions

311
_sass/_07_layout.scss Normal file
View file

@ -0,0 +1,311 @@
/* Special treatment for video layout
------------------------------------------------------------------- */
body.video,
body.video #masthead-no-image-header { background: #000; }
body.video #masthead-no-image-header { margin-bottom: 60px; }
body.video h1,
body.video h2,
body.video h3,
body.video h4,
body.video h5,
body.video h6,
body.video p,
body.video a,
body.video blockquote:before,
body.video blockquote:after,
body.video cite a, { color: #fff; }
body.video cite a:visited, { color: #fff; }
body.video cite { color: #fff; }
/* Navigation
------------------------------------------------------------------- */
#navigation {
-webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.2);
box-shadow: 0 2px 3px 0 rgba(0,0,0,.2);
}
/* Search
------------------------------------------------------------------- */
#search {
padding: 20px 0 0 0;
background: $ci-4;
}
/* Masthead
------------------------------------------------------------------- */
#masthead {
background: $primary-color;
}
#masthead-no-image-header {
background: $primary-color;
}
#masthead-with-text {
text-align: center;
font-size: rem-calc(54);
font-family: $header-font-family;
color: #fff;
text-transform: uppercase;
text-shadow: 0 2px 3px rgba(0,0,0,.4);
}
#masthead-no-image-header {
height: 175px;
}
#masthead-no-image-header #logo img {
margin-top: 60px;
}
.backstretch {
background: $primary-color;
}
/* Masthead  small-only
------------------------------------------------------------------- */
@media #{$small-only} {
#logo img {
display: none;
}
#masthead {
height: 200px;
}
#masthead-with-pattern {
padding: 15px 0;
}
#masthead-with-background-color {
padding: 15px 0;
}
#masthead-with-text {
height: 220px;
padding: 30px 0;
font-size: rem-calc(36);
}
#masthead-no-image-header {
display: none;
}
}
/* Masthead  medium-only
------------------------------------------------------------------- */
@media #{$medium-only} {
#logo img {
margin-top: 60px;
}
#masthead {
height: 280px;
}
#masthead-with-pattern {
padding: 20px 0;
}
#masthead-with-background-color {
padding: 20px 0;
}
#masthead-with-text {
padding: 60px 0;
height: 300px;
}
}
/* Masthead  large-only
------------------------------------------------------------------- */
@media #{$large-only} {
#logo img {
margin-top: 80px;
}
#masthead {
height: 310px;
}
#masthead-with-pattern {
padding: 30px 0;
}
#masthead-with-background-color {
padding: 30px 0;
}
#masthead-with-text {
height: 330px;
padding: 60px 0;
}
}
/* Masthead  xlarge-up
------------------------------------------------------------------- */
@media #{$xlarge-up} {
#logo img {
margin-top: 110px;
}
#masthead {
height: 380px;
}
#masthead-with-pattern {
padding: 45px 0;
}
#masthead-with-background-color {
padding: 45px 0;
}
#masthead-with-text {
padding: 95px 0;
height: 400px;
}
}
#title-image-small {
height: 240px;
}
#title-image-large {
height: 520px;
}
#title-image-index-small {
height: 120px;
}
#title-image-index-large {
height: 260px;
}
/* Breadcrumb
------------------------------------------------------------------- */
#breadcrumb {
background: scale-color($grey-1, $lightness: 55%);
border-top: 1px solid scale-color($grey-1, $lightness: 45%);
border-bottom: 1px solid scale-color($grey-1, $lightness: 45%);
}
/* Meta
------------------------------------------------------------------- */
#page-meta, #page-meta a {
color: $grey-5;
}
#page-meta .button {
background: $grey-5;
border: 0;
}
#page-meta .button {
color: #fff;
}
#page-meta .button:hover {
background: $primary-color;
}
/* Jump to top
------------------------------------------------------------------- */
#up-to-top {
padding: 160px 0 10px 0;
}
#up-to-top a {
font-size: 24px;
padding: 5px;
border-radius: 3px;
}
#up-to-top a:hover {
background: $grey-2;
}
/* Footer
------------------------------------------------------------------- */
#footer {
padding-top: 30px;
padding-bottom: 20px;
background: $footer-bg;
color: $footer-color;
}
footer p,
footer li {
font-size: rem-calc(13);
font-weight: 300;
}
#footer a {
color: $footer-link-color;
}
#footer h4,
#footer h5 {
letter-spacing: 1px;
color: #fff;
text-transform: uppercase;
}
#subfooter {
background: $subfooter-bg;
color: $subfooter-color;
padding-top: 30px;
padding-bottom: 10px;
}
#subfooter-left ul.inline-list {
float: left;
}
#subfooter li a {
color: $subfooter-link-color;
text-transform: uppercase;
}
#subfooter li a:hover {
color: #fff;
}
#subfooter .social-icons li a {
font-size: rem-calc(23);
display: block;
width: 36px;
border-radius: 50%;
color: $subfooter-bg;
background: $subfooter-color;
text-align: center;
}
#subfooter .social-icons li a:hover {
background: $subfooter-bg;
color: #fff;
}
/* CSS-Classes to add margin at the top or bottom
------------------------------------------------------------------- */
.t10 { margin-top: 10px !important; }
.t15 { margin-top: 15px !important; }
.t20 { margin-top: 20px !important; }
.t30 { margin-top: 30px !important; }
.t50 { margin-top: 50px !important; }
.t60 { margin-top: 60px !important; }
.t70 { margin-top: 70px !important; }
.t80 { margin-top: 80px !important; }
.t90 { margin-top: 90px !important; }
.b15 { margin-bottom: 15px !important; }
.b20 { margin-bottom: 20px !important; }
.b30 { margin-bottom: 30px !important; }
.b60 { margin-bottom: 60px !important; }
.pl20 { padding-left: 20px !important; }
.pr5 { padding-right: 5px !important; }
.pr10 { padding-right: 10px !important; }
.pr20 { padding-right: 20px !important; }