Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/styles.css1
diff --git a/src/styles.css b/src/styles.css
index c039f03..7bf175e 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -268,6 +268,7 @@ article > #article-container > h1:first-child {
/*#### Exercise solution ####*/
.exercise-solution { float: right; font-weight: bold; }
+.exercise-solution ~ p { margin-top: 0; }
/* Slightly smaller than browser defaults https://stackoverflow.com/a/70720104/12036073 https://stackoverflow.com/a/47560151/12036073 */
h2 ~ .exercise-solution { font-size: 1.4em; margin-top: 0.6em; }