Skip to content

Commit 3b4edc9

Browse files
committed
add: scss style file
1 parent 4206e94 commit 3b4edc9

File tree

3 files changed

+80
-0
lines changed

3 files changed

+80
-0
lines changed

test/Style/global.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@import './variables.scss';
2+
@import './responsive.scss';
3+
4+
* {
5+
margin: 0;
6+
padding: 0;
7+
box-sizing: border-box;
8+
}
9+
10+
a {
11+
text-decoration: none;
12+
color: inherit;
13+
}
14+
15+
.main {
16+
font-family: 'Inter', sans-serif;
17+
font-size: 1rem;
18+
background-color: $main-bg;
19+
color: $main-color;
20+
}
21+
22+
.container {
23+
display: flex;
24+
}
25+
26+
.menuContainer {
27+
padding: 5px 20px;
28+
border-right: 2px solid $soft-bg;
29+
max-width: 250px;
30+
@include md {
31+
padding-top: 20px;
32+
padding-inline: 10px;
33+
}
34+
}
35+
.contentContainer {
36+
width: 100%;
37+
padding: 5px 20px;
38+
}

test/Style/responsive.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
$sm: 480px;
2+
$md: 768px;
3+
$lg: 1024px;
4+
$xl: 1200px;
5+
$xxl: 1400px;
6+
7+
@mixin sm {
8+
@media screen and (max-width: $sm) {
9+
@content;
10+
}
11+
}
12+
13+
@mixin md {
14+
@media screen and (max-width: $md) {
15+
@content;
16+
}
17+
}
18+
19+
@mixin lg {
20+
@media screen and (max-width: $lg) {
21+
@content;
22+
}
23+
}
24+
25+
@mixin xl {
26+
@media screen and (max-width: $xl) {
27+
@content;
28+
}
29+
}
30+
@mixin xxl {
31+
@media screen and (max-width: $xxl) {
32+
@content;
33+
}
34+
}

test/Style/variables.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// BG
2+
$main-bg: #2a3447;
3+
$soft-bg: #384256;
4+
$dark-bg: #222b3c;
5+
//TEXT
6+
$main-color: white;
7+
$soft-color: #ddd;
8+
$dark-color: #2a3447;

0 commit comments

Comments
 (0)