mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
replaced node-sass with sass
This commit is contained in:
parent
8ee5b09b65
commit
5c9fdf93db
39 changed files with 148 additions and 1162 deletions
|
@ -1,3 +1,5 @@
|
|||
@use "sass:math";
|
||||
|
||||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
|
@ -7,7 +9,7 @@
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
$cols: $content_width / $cell;
|
||||
$cols: math.div($content_width, $cell);
|
||||
|
||||
.container {
|
||||
@include container;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
.wrap {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 1fr;
|
||||
column-gap: $gap/2;
|
||||
column-gap: $gap*0.5;
|
||||
|
||||
@include tablet {
|
||||
grid-template-columns: 1fr;
|
||||
grid-auto-flow: row;
|
||||
padding: 0 $gap / 2;
|
||||
padding: 0 $gap * 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -40,15 +40,15 @@
|
|||
|
||||
.content {
|
||||
min-width: 0;
|
||||
margin-left: -$gap / 2;
|
||||
margin-left: -$gap * 0.5;
|
||||
|
||||
@include tablet {
|
||||
margin-left: 0;
|
||||
padding-bottom: $gap / 2;
|
||||
padding-bottom: $gap * 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
.head {
|
||||
padding: 0 $gap / 2;
|
||||
padding: 0 $gap * 0.5;
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue