From 30a031edc5c5f161ba487822a4adb3c60a9864b1 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 10 Sep 2023 07:49:49 -0300 Subject: Initial commit --- css/main.css | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 72 insertions(+), 13 deletions(-) (limited to 'css/main.css') diff --git a/css/main.css b/css/main.css index f2f6f84..659b7d5 100644 --- a/css/main.css +++ b/css/main.css @@ -1,18 +1,39 @@ -.m { - font-family: "Times New Roman", serif; - font-size: 72px; - text-decoration: none; +@font-face { + font-family: "Didot"; + src: url("/assets/Didot Bold.otf") format("OpenType"); +} + +.front-text { + font-family: "Noto Sans", sans-serif; color: black; } + .code { - font-family: monospace; + font-family: "Noto Sans Mono", monospace; color: gray; } +.date { + font-size: 16px; +} + +@media (max-width:700px) { + .side-margin { + margin-left: 1rem; + margin-right: 1rem; + } +} +@media (min-width:700px) { + .side-margin { + margin-left: 4rem; + margin-right: 1rem; + } +} + .link { - padding: 2px; color: black; + border-radius: 3%; } .link:active { @@ -21,13 +42,51 @@ text-decoration: none; } +.article-m { + font-family: "Noto Sans Mono", monospace; + font-size: 24px; + text-decoration: none; + opacity: 0.6; + color: black; + font-weight: bold; + padding: 0px; + margin-top: 2rem; +} + +.article-m:hover { + opacity: 1; + color: blue; +} +.article-m:active { + color: white; + background: blue; + text-decoration: none; +} + body { - padding:0; - margin:0; - overflow:hidden; - font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif; - font-size:14px; - font-weight:400; - line-height:14px + padding: 0; + margin: 0; + overflow: hidden; + font-family: "Times New Roman", "Liberation Serif", serif; + font-size: 16px; + font-weight: 400; + line-height: 1.8; +} + +h1 { + font-family: "Times New Roman", Serif; + font-weight: 500; + font-size: 32px; + margin-bottom: 0; + line-height: 1.5; +} + +h2 { + font-family: "Times New Roman", Serif; + font-weight: 500; + font-size: 24px; + line-height: 1.5; + + margin-bottom: 0; } -- cgit v1.2.3