Sass fixy

This commit is contained in:
Michał Gdula 2022-09-26 20:37:26 +00:00
parent d767bf0582
commit 96f3e53b2a
8 changed files with 47 additions and 35 deletions

View file

@ -424,6 +424,10 @@
color: $page-accent;
}
}
.btn:hover {
color: $fg;
}
}
.group-cover {
@ -452,7 +456,7 @@
z-index: +1;
border-radius: calc($rad - 0.2rem);
border-radius: calc($rad - $border-thickness);
}
img {
@ -463,7 +467,7 @@
margin-left: auto;
border-radius: calc($rad - 0.2rem);
border-radius: calc($rad - $border-thickness);
}
}
@ -621,7 +625,7 @@
transform: translateX(-50%);
border-radius: $rad;
border: $page-accent 0.2rem solid;
border: $border;
background-color: $bg;
}
@ -846,7 +850,7 @@
}
}
.perm {
border-left: $red 0.2rem solid;
border-left: $border;
}
.ban:first-of-type {
background-color: $bg;
@ -907,7 +911,7 @@
}
}
.is-admin {
border-left: $page-accent 0.2rem solid;
border-left: $border;
}
.user:first-of-type {
background-color: $bg;

View file

@ -1,9 +1,9 @@
@mixin defaultDecoration($border) {
@mixin defaultDecoration($border-colour) {
background-color: $bg;
color: $fg;
border-radius: $rad;
border: 0.2rem solid $border;
border: $border-colour $border-thickness solid;
box-shadow: $shadow;
}

View file

@ -88,7 +88,7 @@ nav {
backdrop-filter: blur(8px);
border: none;
border-top: 3px solid $green;
border-top: $border;
border-radius: 0;
backdrop-filter: blur(16px);

View file

@ -14,6 +14,9 @@ $page-accent: #8C977D;
$shadow: 6px 6px 2px #15151566;
$rad: 0.4rem;
$border-thickness: 0.2rem;
$border: $page-accent $border-thickness solid;
$weight-bold: 621;
$weight-normal: 400;