Skip to content

Commit

Permalink
Style blockquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Nov 4, 2024
1 parent ec35c79 commit 4600824
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/assets/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ ul:not([class]), ol:not([class]) {
ul:not([class]) ul, ol:not([class]) ol,
ul:not([class]) ol, ol:not([class]) ul { margin-top: var(--sz-list-gap); }

blockquote {
padding: 0.8em 1em;
background-color: var(--clr-code-bg);
border-inline-start: 0.15em solid var(--clr-code-border);
margin-bottom: 1em;
}
blockquote > * + :not([class]) { margin-block-start: var(--sz-paragraph-margin); }

button:hover { cursor: pointer; }
details:focus { outline-offset: 0.2em; }
summary { cursor: pointer; }

0 comments on commit 4600824

Please sign in to comment.