move a css variable to :root
This commit is contained in:
parent
44c5b933b5
commit
00e1e06db8
1 changed files with 1 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
:root {
|
||||
--image-width: 1000px;
|
||||
--border-thickness: 2px;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -17,8 +18,6 @@ body {
|
|||
}
|
||||
|
||||
#mainfig {
|
||||
--border-thickness: 2px;
|
||||
|
||||
margin: 1em auto;
|
||||
width: min-content;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in a new issue