summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-04-11 13:32:49 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-04-11 13:32:49 -0700
commitbe9877a7dce57de246f8c51ccc4e89ee9633fa8f (patch)
tree40e7b99eeb391dad310ac3985cafcfa7ed1a70a3
parent1b33229cb73a8f3ed8525a63004f1d647102600a (diff)
fix some css
-rw-r--r--style.scss15
1 files changed, 6 insertions, 9 deletions
diff --git a/style.scss b/style.scss
index fcce985..2756da1 100644
--- a/style.scss
+++ b/style.scss
@@ -469,20 +469,17 @@ h1.title {
background: color-mix(in srgb, var(--accent) 8%, transparent);
border-left: 3px solid var(--accent);
padding: 1rem 1.3rem;
- margin-top: 2rem;
- margin-bottom: 20px;
- margin-left: 10px;
-
+ margin: 2rem 0 20px 10px;
&::before {
- float: left;
font-weight: bold;
+ margin-right: 0.4em;
}
}
-.theorem::before { content: "Theorem.\00a0\00a0"; }
-.lemma::before { content: "Lemma.\00a0\00a0"; }
-.corollary::before { content: "Corollary.\00a0\00a0"; }
-.corollary::before { content: "Definition.\00a0\00a0"; }
+.theorem::before { content: "Theorem."; }
+.lemma::before { content: "Lemma."; }
+.corollary::before { content: "Corollary."; }
+.definition::before { content: "Definition."; }
.proof {
position: relative;