From 254a7f8dee4be94b5388dcbdb4614fca3aa7656b Mon Sep 17 00:00:00 2001 From: Rick Date: Wed, 3 Feb 2021 19:47:31 +0100 Subject: [PATCH] tentative de responsive --- static/css/style.css | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 8df1e3a..631999f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -54,10 +54,10 @@ a { color: white; } -a:hover { +/* a:hover { color: #121224; background-color: white; -} +} */ h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; @@ -84,14 +84,14 @@ h1, h2, h3, h4, h5, h6 { .pre-art { background-color: #0E0E1B; - padding: 2%; - padding-bottom: 3%; + padding: 1em; + padding-bottom: 2em; border: 1px solid darkgray; box-shadow: 1px 1px 5px grey; color: white; margin-left: 20%; margin-right: 20%; - margin-bottom: 5%; + margin-bottom: 30px; } .summary { @@ -394,3 +394,15 @@ pre * { .highlight .vi { color: #000000; } .highlight .il { color: #0000cf; font-weight: bold; } + +@media (max-width: 800px) { + .pre-art { + margin-left: 1em; + margin-right: 1em; + } + + #article { + margin-left: 1em; + margin-right: 1em; + } +} \ No newline at end of file