From 56d2382c282431115b2964d440b790ce11f19e72 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 23 Dec 2021 22:05:27 +0000
Subject: [PATCH] fix relative link styling, change graph and backlinks to refer to name rather than path
---
assets/base.scss | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/assets/base.scss b/assets/base.scss
index bd0b609..f50e9cc 100644
--- a/assets/base.scss
+++ b/assets/base.scss
@@ -128,9 +128,6 @@
article a {
font-family: Source Sans Pro;
font-weight: 600;
- text-decoration: underline;
- text-decoration-color: var(--tertiary);
- text-decoration-thickness: .15em;
}
sup > a {
@@ -191,10 +188,11 @@
}
// internal link
-a[href^="/"] {
+a[href^="./"] {
text-decoration: none;
- background-color: #afbfc922;
+ background-color: #afbfc933;
padding: 0 0.2em;
+ font-weight: 600;
border-radius: 3px;
}
@@ -370,4 +368,4 @@
}
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.10.0