# HG changeset patch # User Kai T. Ohlhus # Date 1476374137 -7200 # Node ID 4e0675ad8c98df8c971b8e0539e8b021973087c6 # Parent 5fc2af5013164961316a659cb14a4068d7a62fcf Tidy up CSS. Improve image alingment on page content. diff -r 5fc2af501316 -r 4e0675ad8c98 css/octave.css --- a/css/octave.css Thu Oct 13 17:55:06 2016 +0200 +++ b/css/octave.css Thu Oct 13 17:55:37 2016 +0200 @@ -18,10 +18,6 @@ height: 18px; } -span.post-small { - font-size: 85%; -} - div.alert { border: 2px solid #ff0000; padding: 5px; @@ -61,12 +57,24 @@ color: #1b1c7d; } +div.news-content { + margin-left:1em; +} + div.page-content { width: 540px; margin: 0 auto; text-align: justify; } +div.page-content img { + max-width:100%; + display: block; + margin-left: auto; + margin-right: auto; + border: 1px solid #0790c0; +} + footer { clear: both; font-size: x-small; @@ -76,11 +84,6 @@ margin-top: 20px; } -dt { - font-weight: bold; - margin-top: 7px; -} - time { font-weight: normal; } @@ -147,6 +150,8 @@ ul.topnav li.icon { float: right; display: inline-block; + margin-left: 15px; + margin-right: 15px; } ul.topnav.responsive { position: relative; @@ -168,6 +173,9 @@ width: auto; margin: 15px; } + div.page-content img { + width: 500px; + } } @media screen and (min-width:1000px) { @@ -176,6 +184,10 @@ margin-left: 10%; margin-right: 10%; } + + div.page-content img { + width: 500px; + } } /* Syntax highlight with https://rubygems.org/gems/pygments.rb within Jekyll */