diff --git a/index.html b/index.html index 6209a50..7536c67 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,6 @@ hugulumu.fr - diff --git a/styles/fonts/notomono/NotoMono-Regular-webfont.woff b/styles/fonts/notomono/NotoMono-Regular-webfont.woff new file mode 100644 index 0000000..d27e16d Binary files /dev/null and b/styles/fonts/notomono/NotoMono-Regular-webfont.woff differ diff --git a/styles/style.css b/styles/style.css index e64f974..b92b194 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,3 +1,6 @@ +html { + font-size: 62.5%; +} body { /* */ @@ -10,11 +13,6 @@ body * { script, style { display: none; } -p, pre { - line-height: 0.8; - font-size: 12px; - font-family: monospace; -} pre { margin: 10px 0px; } diff --git a/styles/text.css b/styles/text.css index bd2c0f1..be78413 100644 --- a/styles/text.css +++ b/styles/text.css @@ -1,9 +1,30 @@ +@font-face { + font-family: "notomono"; + src: + local("Noto Mono"), + url("./fonts/notomono/NotoMono-Regular-webfont.woff") format("woff"); + font-weight: normal; + font-style: normal; +} +h1, h2, h3, h4, h5, h6, p, pre, li { + font-family: "notomono", monospace; +} +p, li { + font-size: 1.5rem; +} +pre { + line-height: 0.8; + font-size: 1.2rem; +} ul { /* */ display: block; - list-style-type: "•"; + list-style-type: "• "; } li { display: list-item; } +li::marker { + font-size: 1.2rem; +}