diff options
Diffstat (limited to 'served/words/writing.css')
-rw-r--r-- | served/words/writing.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/served/words/writing.css b/served/words/writing.css new file mode 100644 index 0000000..6056768 --- /dev/null +++ b/served/words/writing.css @@ -0,0 +1,54 @@ +h2, h3, h4, h5 { + margin-top: 32px; +} + +blockquote { + border-left: 4px solid var(--text); + padding: 8px 8px 8px 12px; + margin: 0 auto; + background-color: var(--background-dim); + color: var(--text); + font-style: italic; +} + +blockquote p { + margin: 0; +} + +code { + background-color: var(--background-dim); +} + +details.tldr { + width: 100%; + margin: 1rem auto; +} + +details.tldr { + color: var(--text-dim); + + padding: 8px; + + border-radius: 8px; + border: 1px dashed var(--text-dim); +} + +details[open].tldr summary { + padding-bottom: 8px; + margin-bottom: 8px; + border-bottom: 1px solid var(--text-dim); +} + +details.tldr p { + margin: 0; +} + +q { + background-color: var(--background-dim); + font-style: italic; + padding: 4px; +} + +q::before, q::after { + content: none; +} |