logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 2e36a68cb5f5dfdaf7733b5531045e1e1a3927b3
parent 903317e6f0462c92437b32dc5e092e7f302e3f8a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 30 Jul 2019 16:49:23 +0200

css/index.css: Improve responsiveness of articles display

Diffstat:

Mcss/index.css10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/css/index.css b/css/index.css @@ -33,10 +33,13 @@ article, section { vertical-align: top; } article, section, main { - margin: 1.5rem; + margin: 1.5rem auto; padding: 0.5rem; background-color: var(--dark-ansi00-soft); + max-width: 80em; + display: table; } + table { border: 0.1em solid; border-collapse: collapse; @@ -80,7 +83,10 @@ img.thumb_inline { } /* Images/Figures */ -figure { text-align: center; } +figure { + text-align: center; + margin: auto; +} #art { border: none; text-align: center;