X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/e4d2676d0304ae068a925de5f052626463c12c31..7ff1b70ad9e1b46795a9502a520286c12af132e4:/personal/_sass/_layout.scss diff --git a/personal/_sass/_layout.scss b/personal/_sass/_layout.scss index 28d5919..90cc579 100644 --- a/personal/_sass/_layout.scss +++ b/personal/_sass/_layout.scss @@ -100,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 }; @@ -191,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:550px) { + .float-right-350 { + text-align: center; + float: none; + margin: 0; + } +}