chore: added some scss mixins
parent
d34d169d17
commit
16c8a6dd7a
@ -0,0 +1,18 @@
|
|||||||
|
@mixin neo-brutalist-card($size: 3px, $offset: $size + 1, $shadow: true) {
|
||||||
|
border: $size solid #222;
|
||||||
|
border-radius: $size * 2;
|
||||||
|
|
||||||
|
@if $shadow {
|
||||||
|
box-shadow: $offset $offset 0 0 #222;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// homepage / project
|
||||||
|
// border: 3px solid #222;
|
||||||
|
// border-radius: 9px;
|
||||||
|
// box-shadow: 9px 9px 0 0 #222;
|
||||||
|
|
||||||
|
// homepage / whats phc
|
||||||
|
// border: 4px solid #222;
|
||||||
|
// border-radius: 8px;
|
||||||
|
// box-shadow: 6px 6px 0 0 #222;
|
Loading…
Reference in New Issue