logo

blog

Unnamed repository; edit this file 'description' to name the repository.
commit 0134c903657d043fdf08caf8372bfbc0f78ac313
parent d0b02d212d0c6b5559c7adf6f085cc10d275bfc9
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:
css/index.css | 13+++++++++----
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;