feat: improve styling for solutions

This commit is contained in:
Tim Grelka
2026-02-14 23:08:48 +01:00
parent 6b5189d2c4
commit 0b30a7a41d
4 changed files with 27 additions and 20 deletions
+6 -6
View File
@@ -19,7 +19,7 @@
font-style: italic;
}
.question {
.question:not(.for-solution) {
padding: 1ex;
background: #ddd;
margin-top: 2em;
@@ -190,7 +190,7 @@ td {
}
ul {
list-style-type: square;
list-style-type: square;
}
ul li::marker {
@@ -438,15 +438,15 @@ span.formula {
/* Enable Line Breaks in Equations ... */
.course .katex-display > .katex {
white-space: normal
white-space: normal;
}
/* Add space between broken lines: */
.course .katex-display .base {
margin: 0.5em 0em
margin: 0.5em 0em;
}
/* Compensate by reducing space around display math */
.course .katex-display {
margin: 1em 0em;
}
margin: 1em 0em;
}