summaryrefslogtreecommitdiffstats
path: root/src/assets/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/index.css')
-rw-r--r--src/assets/index.css21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/assets/index.css b/src/assets/index.css
index db51dc8..2a75675 100644
--- a/src/assets/index.css
+++ b/src/assets/index.css
@@ -44,10 +44,11 @@ body {
& *:any-link {
text-decoration: none;
}
+ }
- & > main {
- grid-area: main;
- }
+ & > main {
+ margin: 0.5rem 0;
+ grid-area: main;
}
}
}
@@ -63,6 +64,16 @@ body {
}
}
+.header-anchor:any-link {
+ text-decoration: none;
+
+ @media screen {
+ &:is(:hover, :active) {
+ font-style: inherit;
+ }
+ }
+}
+
a[href^="mailto:"]::after {
content: "📧";
}
@@ -107,10 +118,10 @@ img {
text-align: center;
padding: 16px;
- .navlinks {
+ &.navlinks {
display: none;
- .navopen {
+ &.navopen {
display: block;
}
}