mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
css: make article relative
This commit is contained in:
parent
afa163f2fe
commit
3268d45a20
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue