Skip to content

Commit

Permalink
css: make article relative
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Oct 5, 2023
1 parent afa163f commit 3268d45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quartz/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ a {
}

& article {
position: relative;

& > h1 {
font-size: 2rem;
}
Expand Down Expand Up @@ -325,7 +327,6 @@ pre {
border-radius: 5px;
overflow-x: auto;
border: 1px solid var(--lightgray);
position: relative;

&:has(> code.mermaid) {
border: none;
Expand Down

0 comments on commit 3268d45

Please sign in to comment.