logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: eb079d1bbe1f2c3c2387c8814d827d27ead0d323
parent 9d13861a4816a9ce8754cb0c61629b65433cc3bd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  8 Oct 2016 16:24:25 +0200

css/index.css: Have separated sections… I may use a different name

Diffstat:

Mcss/index.css13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/css/index.css b/css/index.css @@ -3,7 +3,7 @@ float: left; margin: 1em; } -#art, header { text-align: center; } +#art, header {text-align: center; } #art img { width: 100%; max-width: 95vw; max-height: 95vh; object-fit: contain;} .warn { background-color: rgba(255, 60, 0, 0.2); @@ -21,13 +21,18 @@ a { } h1, h2, h3, h4, h5, h6 { font-family: serif; } pre { white-space: pre-wrap; } -article, #content, main { +section h1, section h2 { text-align: center; } +article, section { + display: inline-table; + vertical-align: top; +} +article, section, main { margin: 1.5rem; padding: 0.5rem; -} -article { + background-color: #073642; border: 2pt solid #657b83; } +#art { border: none;} code { display: inline-table; padding: 0 0.25em;