summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-02 09:11:17 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-02 09:11:17 +0800
commit5fdc3e6ae9f688dfdbae8c99669ba5427b2dee78 (patch)
tree06ed7cb765bcd5f0405b6af8c128e8d04ba80741 /assets
parentUpdate layouts (diff)
downloadwebsite-5fdc3e6ae9f688dfdbae8c99669ba5427b2dee78.tar.gz
website-5fdc3e6ae9f688dfdbae8c99669ba5427b2dee78.tar.zst
website-5fdc3e6ae9f688dfdbae8c99669ba5427b2dee78.zip
Add actual navbar
Diffstat (limited to 'assets')
-rw-r--r--assets/style.css33
1 files changed, 32 insertions, 1 deletions
diff --git a/assets/style.css b/assets/style.css
index 481e4af..949f7d1 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -33,15 +33,42 @@ a:link, a:visited {
aside#sidebar {
position: fixed;
+ top: 0;
+ left: 0;
width: min(33%, 200px);
height: 100%;
background-color: var(--sidebar-bg);
overflow-y: auto;
+ padding: 0px 10px;
+ box-sizing: border-box;
+}
+
+aside#sidebar a:link,
+aside#sidebar a:visited {
+ text-decoration: none;
+ color: var(--fg);
+}
+
+
+aside#sidebar > ul > li:not(first-child) {
+ margin-top: 1rem;
+}
+
+aside#sidebar > ul {
+ list-style: none;
+}
+
+aside#sidebar ul {
+ padding-left: 1rem;
+}
+
+aside#sidebar > ul {
+ padding-left: 0rem;
}
div#main-and-footer {
margin-left: min(33%, 200px);
- padding: 10px;
+ padding: 0px 10px;
}
main {
@@ -60,3 +87,7 @@ main:not(.wide) {
margin-left: 0px;
}
}
+
+.nav-current {
+ font-weight: bold;
+}