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 { :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;