-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Emit semantic HTML instead of blockquotes for notes
- Loading branch information
1 parent
d207d89
commit 378bbf7
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
This is copied directly from the styles for blockquotes, because notes were | ||
historically rendered *as* blockquotes. This keeps the presentation of them | ||
identical while updating the presentation. | ||
*/ | ||
.note { | ||
margin: 20px 0; | ||
padding: 0 20px; | ||
color: var(--fg); | ||
background-color: var(--quote-bg); | ||
border-block-start: 0.1em solid var(--quote-border); | ||
border-block-end: 0.1em solid var(--quote-border); | ||
} |
Empty file.