create dotgrid module
This commit is contained in:
parent
21187be0b6
commit
de85c23805
5
modules/dotgrid.css
Normal file
5
modules/dotgrid.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
body {
|
||||||
|
background-size: var(--dotgrid-size) var(--dotgrid-size);
|
||||||
|
background-image: radial-gradient(circle, var(--fg-lc) var(--dotgrid-dot-size), rgba(0, 0, 0, 0) 1px);
|
||||||
|
background-position: center;
|
||||||
|
}
|
10
modules/readmes/dotgrid.txt
Normal file
10
modules/readmes/dotgrid.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
in the css
|
||||||
|
|
||||||
|
@import url("https://styles.alv.cx/modules/dotgrid.css");
|
||||||
|
|
||||||
|
variables:
|
||||||
|
|
||||||
|
--dotgrid-size: 3em;
|
||||||
|
--dotgrid-dot-size: 1px;
|
||||||
|
|
||||||
|
puts a background image on the `body` element.
|
Loading…
Reference in New Issue
Block a user