diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-04-11 14:09:26 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-04-11 14:09:26 -0700 |
| commit | 56580b952901242786da04d0cb3d8e1ea1698db7 (patch) | |
| tree | dffdd0d6a5edc3c8aebca74314745a53c1176512 /style.scss | |
| parent | f17203b32bd1ecb0d908bbf03b9239e2efde59d6 (diff) | |
| parent | 75cfba0e2e705ed0a87abcd5b6822beed8fad555 (diff) | |
Merge branch 'mindmap'
Diffstat (limited to 'style.scss')
| -rw-r--r-- | style.scss | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -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; |
