From 32e28820fd6a64efc6ea89181d9df1070eb96570 Mon Sep 17 00:00:00 2001 From: Runxi Yu <me@runxiyu.org> Date: Mon, 31 Mar 2025 12:13:27 +0800 Subject: [PATCH] Unify font sizes --- static/style.css | 7 +------ diff --git a/static/style.css b/static/style.css index 3c36e191e31aef41668e58597fc52720f7279aa2..a33314fa18463d3b23c976a43622448dabdb2c75 100644 --- a/static/style.css +++ b/static/style.css @@ -17,6 +17,7 @@ html { font-family: sans-serif; background-color: var(--background-color); color: var(--text-color); + font-size: 1rem; --background-color: hsl(0, 0%, 100%); --text-color: hsl(0, 0%, 0%); --link-color: hsl(320, 50%, 36%); @@ -267,7 +268,6 @@ textarea, input[type=text], input[type=password] { font-family: sans-serif; - font-size: smaller; background-color: var(--lighter-box-background-color); color: var(--text-color); border: none; @@ -337,7 +337,6 @@ display: inline-block; width: auto; min-width: fit-content; padding: .1rem .75rem; - font-size: 0.9rem; transition: background .1s linear; cursor: pointer; } @@ -370,7 +369,6 @@ align-items: center; flex: 1 1 auto; min-width: 0; overflow-x: auto; - font-size: 0.9rem; gap: 0.25rem; white-space: nowrap; } @@ -381,7 +379,6 @@ #main-header-user { display: flex; align-items: center; white-space: nowrap; - font-size: 0.95rem; } @media (max-width: 37.5rem) { header#main-header { @@ -428,7 +425,6 @@ grid-template-columns: auto 1fr; gap: 0; border: var(--lighter-border-color) 1px solid; overflow: auto; - font-size: 0.96rem; } .key-val-grid > .title-row { @@ -483,7 +479,6 @@ background-color: var(--lighter-box-background-color); font-weight: bold; padding: 3px 5px; border-bottom: var(--lighter-border-color) 1px solid; - font-size: 1rem; margin: 0; text-align: center; } -- 2.48.1