Minor improvements xd
This commit is contained in:
parent
f3f2547724
commit
0e97e54ffe
21 changed files with 189 additions and 184 deletions
|
|
@ -33,18 +33,17 @@ $breakpoint-width: 700px !default;
|
|||
}
|
||||
}
|
||||
|
||||
@mixin image-button($background-image) {
|
||||
@mixin image-button($background-image, $background-color) {
|
||||
@include square(var(--icon-size));
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
||||
background-color: transparent;
|
||||
background-image: $background-image;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-color: $background-color;
|
||||
mask-image: $background-image;
|
||||
-webkit-mask-image: $background-image;
|
||||
mask-repeat: no-repeat;
|
||||
|
||||
transition: transform var(--transition-time);
|
||||
transition: transform var(--transition-time), background-color var(--transition-time);
|
||||
&:hover {
|
||||
transform: scale(1.15);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
@use 'mixins' as *;
|
||||
|
||||
$accent-color: #b7455e;
|
||||
|
||||
:root {
|
||||
--transition-time: 200ms;
|
||||
--transition-time-long: 350ms;
|
||||
--line-width: 4px;
|
||||
--line-height: 1.125rem;
|
||||
--accent-color: $accent-color;
|
||||
--accent-color: #ff6b6b;
|
||||
--sun-color: #f7f78c;
|
||||
--very-light-text-color: #ffffff;
|
||||
--background: #ffffff;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue