ensl.org/app/assets/stylesheets/layout/_body.scss
Luke Barratt 005a16b484 Tests passing with redesign
Improved layout slightly to match grid
2014-04-17 08:55:19 +01:00

79 lines
No EOL
1.2 KiB
SCSS

/*
Main Containers
*/
$container-padding: em(20);
html,
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
background-color: transparent;
}
body {
background: $dark-blue;
@include background-image(linear-gradient($dark-blue, $medium-gray));
}
#container {
min-height: 100%;
}
.wrapper {
@include outer-container;
max-width: $max-width + $container-padding*2;
}
#content {
@include span-columns(12);
background: $light-blue;
padding: $container-padding $container-padding 0 $container-padding;
}
#forums {
@include span-columns(12);
}
#main {
@include span-columns(9 of 12);
}
#sidebar {
@include span-columns(3 of 12);
@include omega();
}
/*
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;
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;
}
}
}