Fixed multiple requests for images

Started adding SQL table layouts
Making package loading prettier
This commit is contained in:
Michał Gdula 2023-01-06 15:47:58 +00:00
parent 5951baadaf
commit a7e79ab5a5
10 changed files with 60 additions and 75 deletions

View file

@ -1,18 +1,3 @@
@mixin button($color) {
border-color: rgba($color, 0.3);
background-color: rgba($color, 0);
color: $color;
&:hover {
background-color: rgba($color, 0.2);
}
&:active {
border-color: rgba($color, 1);
background-color: rgba($color, 0.5);
color: $color;
}
}
.btn {
padding: 0.5rem 1rem;
border-radius: 0.25rem;
@ -23,31 +8,8 @@
transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
&:hover {
background-color: rgba($white100, 0.2);
}
&:active {
border-color: rgba($white100, 1);
background-color: rgba($white100, 0.5);
color: $white100;
}
&.red {
@include button($red);
}
&.orange {
@include button($orange);
}
&.yellow {
@include button($yellow);
}
&.green {
@include button($green);
}
&.blue {
@include button($blue);
}
&.purple {
@include button($purple);
}
}

View file

@ -84,7 +84,7 @@ nav {
gap: 0.25rem;
a {
margin: 0.5rem;
margin: 0;
padding: 1rem 1rem 1rem calc(1rem - 2px);
width: 100%;