adds fonts and tailwind generation
This commit is contained in:
32
assets/scss/components/_wompum.scss
Normal file
32
assets/scss/components/_wompum.scss
Normal file
@ -0,0 +1,32 @@
|
||||
.wompum {
|
||||
&-container {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
&-grid {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-cell {
|
||||
width: 100%;
|
||||
min-height: 30px;
|
||||
background-color: var(--sand-500);
|
||||
|
||||
// Create pseudo-random pattern using prime numbers
|
||||
&:nth-child(7n+1) {
|
||||
background-color: var(--sand-100);
|
||||
}
|
||||
|
||||
&:nth-child(5n+2) {
|
||||
background-color: var(--sand-900);
|
||||
}
|
||||
|
||||
&:nth-child(11n+3) {
|
||||
background-color: var(--sand-500);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user