summaryrefslogtreecommitdiffhomepage
path: root/common/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.css')
-rw-r--r--common/main.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/common/main.css b/common/main.css
index 0773a91..ba326cf 100644
--- a/common/main.css
+++ b/common/main.css
@@ -42,6 +42,10 @@
line-height: 24px;
}
+html {
+ scroll-behavior: smooth;
+}
+
body {
background-color: #ddd;
}
@@ -165,6 +169,23 @@ h2 {
font-size: x-small;
}
+.anchor-link {
+ margin-right: 8px;
+ width: 16px;
+ height: 16px;
+ background-image: url(img/anchor_link.svg);
+ background-size: 16px 16px;
+ display: inline-block;
+ cursor: pointer;
+ opacity: 0.5;
+ transition: 0.25s;
+ transform: translateY(4px);
+}
+
+.anchor-link:hover {
+ opacity: 1.0;
+}
+
ul {
width: fit-content;
padding-left: 48px;