css: make article relative

This commit is contained in:
Jacky Zhao 2023-10-05 13:48:52 -07:00
parent 0d500da752
commit 6c8e7e5bb0

View File

@ -95,6 +95,8 @@ a {
} }
& article { & article {
position: relative;
& > h1 { & > h1 {
font-size: 2rem; font-size: 2rem;
} }
@ -325,7 +327,6 @@ pre {
border-radius: 5px; border-radius: 5px;
overflow-x: auto; overflow-x: auto;
border: 1px solid var(--lightgray); border: 1px solid var(--lightgray);
position: relative;
&:has(> code.mermaid) { &:has(> code.mermaid) {
border: none; border: none;