Fix compatibility and sizing
This commit is contained in:
parent
b388498e8f
commit
aa9047c0d8
9 changed files with 107 additions and 81 deletions
|
|
@ -1,4 +1,6 @@
|
|||
$breakpoint-width: 800px !default;
|
||||
@use 'sass:math';
|
||||
|
||||
$breakpoint-width: 700px !default;
|
||||
|
||||
@mixin on-small-screen() {
|
||||
@media (max-width: ($breakpoint-width - 1px)) {
|
||||
|
|
@ -18,6 +20,13 @@ $breakpoint-width: 800px !default;
|
|||
}
|
||||
}
|
||||
|
||||
@mixin zoom($q) {
|
||||
transform: scale($q);
|
||||
transform-origin: top center;
|
||||
height: math.div(100%, $q);
|
||||
margin: 0 (0.5 - math.div(0.5, $q)) * 100%;
|
||||
}
|
||||
|
||||
@mixin image-button($icon-size) {
|
||||
display: block;
|
||||
box-sizing: content-box;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
--accent-color: #b7455e;
|
||||
--sun-color: #f7f78c;
|
||||
--very-light-text-color: #ffffff;
|
||||
|
||||
--background: #ffffff;
|
||||
--normal-text-color: #31343f;
|
||||
--card-color: #ffffff;
|
||||
|
|
@ -27,7 +26,7 @@
|
|||
--inset-shadow: inset 0 -9px 7px -7px rgb(0, 0, 0, 0.15);
|
||||
--icon-size: 45px;
|
||||
--large-icon-size: 60px;
|
||||
--body-width: min(85%, 830px);
|
||||
--body-width: min(80%, 830px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue