diff --git a/css/index.css b/css/index.css index 450fa63..22a806d 100644 --- a/css/index.css +++ b/css/index.css @@ -27,6 +27,8 @@ html { --menu-font: white; --font-regular: "Cabin", sans-serif; --font-emphasis: "Oswald", sans-serif; + --font-mono: "DejaVu Sans Mono", Menlo, Monaco, Consolas, monospace; + --font-copyright: Verdana, sans-serif; /* Copyright must be Verdana! */ } /* Index */ @@ -38,7 +40,7 @@ html { body { background: var(--bgcolor); font-size: 100%; - font-family: "Cabin",sans-serif; + font-family: var(--font-regular); color: var(--dark-color); position: relative; height: 100%; @@ -49,7 +51,7 @@ body { color: rgba(0, 0, 0, 0.6); } h1, h2, h3, h4, h5, h6 { - font-family: "Oswald",sans-serif; + font-family: var(--font-emphasis); } /* General reset */ @@ -169,7 +171,7 @@ img, input, select, textarea { /* Use a consistent monospace font everywhere */ .monospace, .bbc_code, .phpcode, pre { - font-family: "DejaVu Sans Mono", Menlo, Monaco, Consolas, monospace; + font-family: var(--font-mono); } .sceditor-container textarea, .sceditor-container textarea:focus { @@ -1536,7 +1538,7 @@ font-size: large; } #footer li.copyright { display: block; - font-family: Verdana, sans-serif; /* Copyright must be Verdana! */ + font-family: var(--font-copyright); } #footerfix { flex: 1 0 auto; @@ -4035,7 +4037,7 @@ ul.post_options li { /* File error */ .errorfile_table { - font-family: monospace; + font-family: var(--font-mono); border-spacing: 1px; } .errorfile_table td {