mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-31 23:10:44 +00:00
005a16b484
Improved layout slightly to match grid
79 lines
No EOL
1.2 KiB
SCSS
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;
|
|
}
|
|
}
|
|
} |