commit e2429f6e912c8907f504d10eb62156b7147bf169
parent f4f733fa02c68dafb539f9867cf5694859dacd54
Author: gracefu <81774659+gracefuu@users.noreply.github.com>
Date: Fri, 11 Apr 2025 22:27:13 +0800
Decorate site
Diffstat:
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml
@@ -90,7 +90,7 @@ h1, h2, h3, h4, h5, h6 {
/*
10. Create a root stacking context
*/
-#root, #__next {
+#content {
isolation: isolate;
}
</style>
@@ -117,8 +117,8 @@ html.font-loading.font-loaded {
</style>
<style>
-hr {
- border: 0.25px solid;
+body {
+ background-color: #fdf9ee;
}
h1 {
@@ -127,8 +127,12 @@ h1 {
h1, h2, h3, h4, h5, h6,
p, hr {
- margin-top: 0.75em;
- margin-bottom: 0.25em;
+ margin-block-start: 0.75em;
+ margin-block-end: 0.25em;
+}
+
+hr {
+ border: 0.25px solid;
}
a {
@@ -146,7 +150,6 @@ a:visited {
a:visited:hover {
color: #910f46;
}
-
</style>
<style>
@@ -186,6 +189,8 @@ a:visited:hover {
#nav-rule {
margin: 0 15px;
+ border: none;
+ border-top: 10px dotted lightpink;
}
#content {