diff options
1 files changed, 14 insertions, 0 deletions
| -rw-r--r-- | src/styles.csma | 14 |
diff --git a/src/styles.csma b/src/styles.csma index 2b8f9d3..764e2ec 100644 --- a/src/styles.csma +++ b/src/styles.csma @@ -257,6 +257,7 @@ <Contents in page> {} <Pagenav> {} <Paragraphs with icons> {} + <Teaching> {} <Page specific> {} <Headers> @@ -345,6 +346,19 @@ } <Article> { +<Teaching> { + .exercise-solution { + float: right; + font-weight: bold; + } + + /* 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; } + h3 ~ .exercise-solution { font-size: 1.1em; margin-top: 0.8em; } +} +} + +<Article> { <Page specific> { <About page> { |