diff options
Diffstat (limited to 'blog/_assets/stylesheets/main.scss')
-rw-r--r-- | blog/_assets/stylesheets/main.scss | 70 |
1 files changed, 12 insertions, 58 deletions
diff --git a/blog/_assets/stylesheets/main.scss b/blog/_assets/stylesheets/main.scss index 0396e6f..c553c40 100644 --- a/blog/_assets/stylesheets/main.scss +++ b/blog/_assets/stylesheets/main.scss @@ -37,10 +37,8 @@ h1 { } #page-container { - position: relative; - max-width: 28cm; + max-width: 980px; margin: { - //top: 10mm; left: auto; right: auto; } @@ -54,66 +52,22 @@ h1 { } #body-content { - position: relative; - min-height: 700px; + &.narrow { + float: left; + max-width: 738px; + min-width: 300px; + } line-height: 170%; font-size: $base-font-size; background-color: $body-bg; - - @media screen and (min-width: 28cm) { - padding: 1cm; - } - - @include round-corners; - - #body { - } - - #side-body { - } - - #news, #links { - //width: 8.55cm; - //float: left; - //margin-right: 5mm; - - &.wide { - width: 100%; - float: none; - } - } } -#sponsor-pos-1, -#sponsor-pos-2 { - text-align: center; +#sponsor-pos-1 { + width: 224px; margin: { - left: auto; - right: auto; - } - height: 500px; - width: 3*(250px + 4mm); - .sponsor-logos { - float: left; - width: 250px; - display: inline-block; - .logo { - display: block; - vertical-align: middle; - img { - vertical-align: middle; - padding-top: 2mm; - padding-bottom: 2mm; - } - &:hover { - background-color: $nav-link-hover-bg; - } - } - &:after { - content: "."; - visibility: hidden; - clear: both; - } - } + left: 18px; + right: 0; + }; + float: left; } |