X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/2772c1133942e6cf62dc39d5177e45ad71de8bcf..62f098270581ff12f0f71c8448a9b4a0041ff4f4:/personal/_sass/_layout.scss?ds=inline diff --git a/personal/_sass/_layout.scss b/personal/_sass/_layout.scss index 299869f..0054a61 100644 --- a/personal/_sass/_layout.scss +++ b/personal/_sass/_layout.scss @@ -25,6 +25,12 @@ body { /* This centers us in the page, and handles the "too wide" case */ padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */ } +/* The footer */ +#-footer { + padding-top: 3em; + text-align: center; +} + /* Navigation menu */ #-navi { padding: 0; @@ -94,6 +100,7 @@ body { /* This centers us in the page, and handles the "too wide" case */ clear: both; float: none; position: static; + border: none; } #-content { padding: #{ $outer-margin * 0.75 }; @@ -138,6 +145,9 @@ body { /* This centers us in the page, and handles the "too wide" case */ /* Printing */ @media print { + body { + background-color: white; + } body, #-frame, #-content { margin: 0; padding: 0; @@ -182,3 +192,17 @@ body { /* This centers us in the page, and handles the "too wide" case */ margin-top: 0.8em; } } + +/* Images (~350px wide) floating to the right but only if there is enough space */ +.float-right-350 { + float: right; + margin-left: 0.8em; + margin-bottom: 0.3em; +} +@media screen and (max-width:600px) { + .float-right-350 { + max-width: 300px; + float: none; + margin: auto; + } +}