move a css variable to :root

This commit is contained in:
rhiannon morris 2024-08-04 16:48:13 +02:00
parent 44c5b933b5
commit 00e1e06db8

View file

@ -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;