From a2a27498f86b8902f3ee34c88af77f184e29cf7b Mon Sep 17 00:00:00 2001 From: Christophe HENRY Date: Thu, 11 Mar 2021 00:20:56 +0100 Subject: [PATCH] Adds style raw.css --- css/raw.css | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 css/raw.css diff --git a/css/raw.css b/css/raw.css new file mode 100644 index 0000000..94d606f --- /dev/null +++ b/css/raw.css @@ -0,0 +1,76 @@ +body { + max-width: 1024px; + margin: auto; + margin-top: 0.5em; + xfont-family: mono; +} + +p, h1, h2, h3, ul, li, pre, blockquote { + color: black; + margin: 0; + padding: 0; + font-size: 1rem; + font-weight: normal; +} + +ul { + list-style: none; +} + +li:before { + content: "* "; +} + +h1:before { + content: "# "; +} + +h2:before { + content: "## "; +} + +h3:before { + content: "### "; +} + +blockquote :before { + content: "> "; +} + +pre { + scrollbar-color: lightgrey white; + overflow-x: auto; +} + +a { + text-decoration: none; +} + +a, a:visited { + color: black; +} + +a:before { + content: "=> "; +} + +@media only screen and (max-width: 1024px) { + a { + margin: -4rem; + } + body { + margin: 3rem; + } + h1 { + font-size: 4rem; + } + h2 { + font-size: 3.5rem; + } + h3 { + font-size: 3rem; + } + p, pre, ul { + font-size: 2.6rem; + } +}