summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-04-11 14:09:26 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-04-11 14:09:26 -0700
commit56580b952901242786da04d0cb3d8e1ea1698db7 (patch)
treedffdd0d6a5edc3c8aebca74314745a53c1176512 /style.scss
parentf17203b32bd1ecb0d908bbf03b9239e2efde59d6 (diff)
parent75cfba0e2e705ed0a87abcd5b6822beed8fad555 (diff)
Merge branch 'mindmap'
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss23
1 files changed, 15 insertions, 8 deletions
diff --git a/style.scss b/style.scss
index 9204cd3..467af9d 100644
--- a/style.scss
+++ b/style.scss
@@ -460,26 +460,33 @@ h1.title {
vertical-align: middle
}
-.theorem, .proof {
+.theorem,
+.lemma,
+.corollary,
+.definition,
+.proof {
display: block;
font-style: normal;
background: color-mix(in srgb, var(--accent) 8%, transparent);
border-left: 3px solid var(--accent);
padding: 1rem 1.3rem;
- margin-top: 2rem;
- margin-left: 10px;
- &::before { float: left; font-weight: bold; }
+ margin: 2rem 0 20px 10px;
+ &::before {
+ font-weight: bold;
+ margin-right: 0.4em;
+ }
}
-.theorem { margin-bottom: 20px; &::before { content: "Theorem.\00a0\00a0"; } }
+.theorem::before { content: "Theorem."; }
+.lemma::before { content: "Lemma."; }
+.corollary::before { content: "Corollary."; }
+.definition::before { content: "Definition."; }
.proof {
position: relative;
margin-bottom: 30px;
padding-right: 1.2em;
- &::before {
- content: "Proof.\00a0\00a0";
- }
+ &::before { content: "Proof.\00a0\00a0"; }
&::after {
content: "";
position: absolute;