From 938888f015f9b262eedfc171519fff118cffbf5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Sat, 19 Aug 2023 13:38:57 +0100 Subject: [PATCH] Fix image size --- build/fic4.css | 106 +++++++++++++++++++++++++------------------------ 1 file changed, 54 insertions(+), 52 deletions(-) diff --git a/build/fic4.css b/build/fic4.css index f3cdb99..3f1fb86 100644 --- a/build/fic4.css +++ b/build/fic4.css @@ -1,41 +1,41 @@ /* ----- COLOURS ----- */ body, details > summary::marker { - color: #222; + color: #222; } body { - background-color: white; + background-color: white; } a, a:link, a:hover, a:visited, a:active, h1, h2, h3, details > summary { - color: var(--colourone); + color: var(--colourone); } li:before { - color: #9e9e9e; + color: #9e9e9e; } details, blockquote { - border: 2px solid var(--colourone); - box-shadow: 8px 8px 0px var(--colourone); + border: 2px solid var(--colourone); + box-shadow: 8px 8px 0px var(--colourone); } body { - font-family: 'Lato', sans-serif; - font-size: 13px; word-wrap: break-word; + font-family: 'Lato', sans-serif; + font-size: 13px; word-wrap: break-word; } img { - max-width: 100%; + max-width: 100%; } a, a:link, a:hover, a:visited, a:active { - text-decoration: none; + text-decoration: none; } a:hover { - border-bottom: 1px solid; + border-bottom: 1px solid; } /* ---- BOXES ---- */ @@ -46,110 +46,112 @@ details > summary { } details, blockquote { - padding: 20px; - margin-bottom: 15px !important; + padding: 20px; + margin-bottom: 15px !important; } blockquote { - max-width: 100%; - min-width: 10%; - display: inline-block; + max-width: 100%; + min-width: 10%; + display: inline-block; } blockquote p, details p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } blockquote ul { - margin-top: 0; - margin-bottom: 0; + margin-top: 0; + margin-bottom: 0; } blockquote > * + *, details > * + * { - margin-top: 20px !important; + margin-top: 20px !important; } /* ---- CONTENT ---- */ @media only screen and (min-width: 900px) { - - div#site-wrapper { - width: 90%; - margin: 1em auto; - } + + div#site-wrapper { + width: 90%; + margin: 1em auto; + } } @media only screen and (max-width: 900px) { - div#site-wrapper { - width: 99%; margin: 1em auto; - } + div#site-wrapper { + width: 99%; margin: 1em auto; + } } input, select { - background-color: white; - font-family: 'Lato', sans-serif; + background-color: white; + font-family: 'Lato', sans-serif; } textarea { - font-family: 'Inconsolata', monospace; + font-family: 'Inconsolata', monospace; } code, pre, .timestamp { - background: #f0f0f0; - font-family: 'Inconsolata', monospace !important; + background: #f0f0f0; + font-family: 'Inconsolata', monospace !important; } pre { - display: inline-block; - padding: 2px; - max-width: 100%; - overflow: auto; + display: inline-block; + padding: 2px; + max-width: 100%; + overflow: auto; } ul { - list-style: none; + list-style: none; } ul li:before { - content: "+ "; - font-weight: bold; + content: "+ "; + font-weight: bold; } ol { - list-style: none; - counter-reset: li + list-style: none; + counter-reset: li } ol li:before { - content: counter(li)". "; - font-weight: bold; + content: counter(li)". "; + font-weight: bold; } ol li { - counter-increment: li; + counter-increment: li; } /* ----- GIFSETS ----- */ div.figure { - text-align: center; - padding: 0; + text-align: center; + padding: 0; } div.figure img { - display: inline; - margin: 5px; + display: inline; + margin: 5px; } div.figure.oneup img { - width: 90%; + width: auto; + height: auto; + max-width: 90%; } div.figure.twoup img { - width: 40%; + width: 40%; } div.figure.threeup img {