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 {
|
:root {
|
||||||
--image-width: 1000px;
|
--image-width: 1000px;
|
||||||
|
--border-thickness: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -17,8 +18,6 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#mainfig {
|
#mainfig {
|
||||||
--border-thickness: 2px;
|
|
||||||
|
|
||||||
margin: 1em auto;
|
margin: 1em auto;
|
||||||
width: min-content;
|
width: min-content;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in a new issue