ensl.org/app/assets/stylesheets/layout/_body.scss

79 lines
1.2 KiB
SCSS
Raw Normal View History

/*
Main Containers
*/
$container-padding: em(20);
html,
2014-04-06 14:14:03 +00:00
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
2014-04-16 08:44:36 +00:00
background-color: transparent;
}
body {
background: $dark-blue;
@include background-image(linear-gradient($dark-blue, $medium-gray));
2014-04-06 14:14:03 +00:00
}
#container {
min-height: 100%;
}
2014-04-06 14:14:03 +00:00
.wrapper {
@include outer-container;
max-width: $max-width + $container-padding*2;
2014-04-06 14:14:03 +00:00
}
#content {
2014-04-06 14:14:03 +00:00
@include span-columns(12);
background: $light-blue;
padding: $container-padding $container-padding 0 $container-padding;
2014-04-06 14:14:03 +00:00
}
#forums {
@include span-columns(12);
}
2014-04-06 14:14:03 +00:00
#main {
@include span-columns(9 of 12);
2014-04-06 14:14:03 +00:00
}
#sidebar {
@include span-columns(3 of 12);
2014-04-06 14:14:03 +00:00
@include omega();
}
2014-04-13 11:16:51 +00:00
/*
Heading styles
*/
h1, h2, h3, h4, h5, h6 {
&.fancy {
text-align: center;
position: relative;
background-color: $light-blue;
&:before {
content: "";
display: block;
border-top: 2px solid $light-gray;
2014-04-13 11:16:51 +00:00
width: 100%;
height: 2px;
position: absolute;
top: 50%;
z-index: 1;
}
span {
background: inherit;
padding: 0 .5em;
position: relative;
display: inline-block;
z-index: 1;
}
}
}