aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 11:41:22 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 11:41:22 +0800
commit77dc066a5a4a1b96b806f8441ecd33c211ff21bd (patch)
treebb0da1807982f7057c796b886d4243b0f53ab0c1
parentstyle.css: font-size: 1rem; (diff)
downloadforge-77dc066a5a4a1b96b806f8441ecd33c211ff21bd.tar.gz
forge-77dc066a5a4a1b96b806f8441ecd33c211ff21bd.tar.zst
forge-77dc066a5a4a1b96b806f8441ecd33c211ff21bd.zip
style.css: Add some non-fancy styles
Diffstat (limited to '')
-rw-r--r--static/style.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
index 0ac7c32..e816df1 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,5 +1,8 @@
html {
font-family: sans-serif;
+ --link-color: #7c3e66;
+ --text-decoration-color: #b8b8b8;
+ --box-background-color: #e6e6e6;
}
html, code, pre {
font-size: 1rem;
@@ -13,4 +16,12 @@ html, code, pre {
.padding-wrapper > * {
width: 100%;
}
-
+a:link, a:visited {
+ text-decoration-color: var(--text-decoration-color);
+ color: var(--link-color);
+}
+code {
+ background-color: var(--box-background-color);
+ border-radius: 2px;
+ padding: 2px;
+}