File tree 6 files changed +19
-19
lines changed
6 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
nav {
2
2
position : fixed;
3
3
height : 100% ;
4
- width : 250px ;
5
4
border-right : 1px solid # c1c1c1 ;
6
- padding : 6px 14px ;
7
5
z-index : 103 ;
8
6
transition : 0.5s ease;
9
- padding : 0 0.2 rem ;
7
+ padding : 0 1 rem ;
10
8
display : flex;
11
9
flex-direction : column;
12
10
align-items : flex-start;
Original file line number Diff line number Diff line change 1
1
.wrapper {
2
2
max-width : 1280px ;
3
3
margin : 0 auto;
4
- }
5
-
6
- .wrapper .open .container {
7
- margin-left : 80px ;
4
+ display : grid;
5
+ grid-template-columns : minmax (80px , 20% ) 1fr ;
8
6
}
9
7
10
8
.wrapper .container {
11
9
min-height : 100vh ;
12
- margin-left : 250px ;
13
10
width : auto;
11
+ padding : 0 1rem 0 0 ;
14
12
}
15
13
16
14
@media (max-width : 1280px ) {
17
- .wrapper .container {
18
- margin-left : 78px ;
15
+ .wrapper {
16
+ max-width : 100% ;
17
+ grid-template-columns : 80px auto;
19
18
}
20
19
}
21
20
22
21
@media (max-width : 768px ) {
22
+ .wrapper {
23
+ grid-template-columns : 0 100% ;
24
+ }
23
25
.wrapper .container {
24
- margin-left : 0 !important ;
25
26
margin-bottom : 55px !important ;
27
+ padding : 0 ;
26
28
}
27
29
}
Original file line number Diff line number Diff line change 7
7
max-width : 300px ;
8
8
display : flex;
9
9
flex-direction : column;
10
- transform : translate (0 , 78 px );
10
+ transform : translate (0 , 70 px );
11
11
}
12
12
13
13
.card .card-websites .card-title {
Original file line number Diff line number Diff line change 1
1
.home-section {
2
2
display : grid;
3
- grid-template-columns : auto 300px ;
4
- gap : 0.5rem ;
3
+ grid-template-columns : 1fr minmax (300px , 20% );
5
4
}
6
5
7
6
.home-section .websites {
13
12
margin-top : 0.5rem ;
14
13
}
15
14
15
+ .news-container {
16
+ margin : 0 1rem 1rem 1rem ;
17
+ }
18
+
16
19
.top-search {
17
20
display : flex;
18
21
align-items : center;
Original file line number Diff line number Diff line change 1
1
.news {
2
2
display : grid;
3
3
grid-template-columns : repeat (1 , 100% );
4
+ gap : 1rem ;
4
5
}
5
6
6
7
.card .card-new {
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ body.dark {
81
81
}
82
82
83
83
.card {
84
- margin : 0.5rem 0 ;
85
84
background : var (--bg-color-card );
86
85
color : var (--font-color-primary );
87
86
border-radius : 1rem ;
@@ -236,11 +235,11 @@ section > .title-wrapper {
236
235
width : 100% ;
237
236
height : auto;
238
237
min-height : 70px ;
239
- padding : 0 1rem ;
240
238
display : flex;
241
239
align-items : center;
242
240
justify-content : space-between;
243
241
background : var (--bg-blur );
242
+ padding : 0 1rem ;
244
243
}
245
244
246
245
.title-wrapper > span .title-section {
@@ -271,9 +270,6 @@ section > .title-wrapper {
271
270
transform : rotate (135deg );
272
271
}
273
272
274
- .news-container {
275
- margin : 0 1rem ;
276
- }
277
273
278
274
@supports ((-webkit-backdrop-filter : none) or (backdrop-filter : none)) {
279
275
section > .title-wrapper {
You can’t perform that action at this time.
0 commit comments