From 094ab9d064b8e3d24f0cb656aaf4e0ea08365ac5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 27 Dec 2021 18:15:10 +0000
Subject: [PATCH] dedupe backlinks
---
assets/base.scss | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/assets/base.scss b/assets/base.scss
index 4d195c3..7d3acdc 100644
--- a/assets/base.scss
+++ b/assets/base.scss
@@ -119,14 +119,18 @@
// internal link
&[href^="./"], &[href^="/"] {
text-decoration: none;
- background-color: #afbfc933;
- padding: 0 0.2em;
- margin-right: -0.2em;
- font-weight: 600;
+ background-color: transparentize(#8f9fa9, 0.85);
+ padding: 0 0.1em;
+ margin: auto -0.1em;
border-radius: 3px;
}
}
+.backlinks a {
+ font-weight: 600;
+ font-size: 0.9rem;
+}
+
sup > a {
text-decoration: none;
padding: 0 0.1em 0 0.2em;
@@ -134,8 +138,8 @@
a {
font-family: Inter, sans-serif;
- font-weight: 700;
font-size: 1em;
+ font-weight: 700;
text-decoration: none;
transition: all 0.2s ease;
color: var(--secondary);
--
Gitblit v1.10.0