mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-03 08:53:13 +00:00
Optimising CSS/sAss
This commit is contained in:
parent
e19bab45cd
commit
1be364c4ef
10 changed files with 117 additions and 527 deletions
|
@ -1,9 +1,4 @@
|
|||
@mixin defaultDecoration($border) {
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.5rem 0.5rem 0 0.5rem;
|
||||
|
||||
width: calc(100% - 1.4rem);
|
||||
|
||||
background-color: $bg;
|
||||
color: $fg;
|
||||
|
||||
|
@ -11,8 +6,13 @@
|
|||
border: 0.2rem solid $border;
|
||||
|
||||
box-shadow: $shadow;
|
||||
}
|
||||
|
||||
@mixin defaultSpacing() {
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.5rem 0.5rem 0 0.5rem;
|
||||
|
||||
width: calc(100% - 1.4rem);
|
||||
|
||||
>* {
|
||||
margin-top: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue