diff options
author | Marc Coquand <marcc0000@pm.me> | 2023-09-10 07:49:49 -0300 |
---|---|---|
committer | Marc Coquand <marcc0000@pm.me> | 2023-09-10 07:49:49 -0300 |
commit | 30a031edc5c5f161ba487822a4adb3c60a9864b1 (patch) | |
tree | a9c64d6d4059029b4554fba47d6d19e04728c1a2 /css | |
parent | 22a335754035ae9ee8d1bbdfc65ad83f8bbe834f (diff) | |
download | mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.gz mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.bz2 mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | css/main.css | 85 |
1 files changed, 72 insertions, 13 deletions
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; } |