X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=css%2Fmain.scss;h=a9288e1a70661cb80b5bf66627129dd8e184c1cf;hp=42eb84199af6148c8654a2324344d21f79738cae;hb=4d95c360b30ea22e81abfe967476ccf134cee611;hpb=f98cd29f7b53a7c08f21792773a5b3b49d41eb9c diff --git a/css/main.scss b/css/main.scss index 42eb841..a9288e1 100644 --- a/css/main.scss +++ b/css/main.scss @@ -1,3 +1,5 @@ +@import 'common'; + #cc-by-sa { /* It sits too high by default. */ vertical-align: middle; @@ -27,7 +29,8 @@ div.comment { #comment-section { /* make the top/bottom of comments have more space */ - padding: 30px 0; + padding-top: 30px; + padding-bottom: 30px; } @@ -130,11 +133,16 @@ footer { footer p { margin: 0; } -header,footer,.content,#comment-section { - /* top margin 0, left/right = auto, which centers it */ - margin: 0 auto; +.page_header,footer,.content,#comment-section { + // auto centers it + margin-left: auto; + margin-right: auto; + margin-top: 0; + margin-bottom: 0; + padding-left: 30px; + padding-right: 30px; /* default too wide */ - max-width: 700px; + max-width: $main-column-max-width; } footer { font-size: 15px;