File tree Expand file tree Collapse file tree 6 files changed +56
-58
lines changed Expand file tree Collapse file tree 6 files changed +56
-58
lines changed Original file line number Diff line number Diff line change 9
9
}
10
10
11
11
html ,
12
- body ,
12
+ body {
13
+ height : 100dvh ;
14
+ }
15
+
13
16
main {
14
- width : clamp (320px , 100vw , 100vw );
15
17
height : 100dvh ;
18
+ display : grid;
16
19
}
17
20
18
21
a {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- main .home {
1
+ .home {
2
2
display : grid;
3
3
justify-content : center;
4
4
justify-items : center;
@@ -8,13 +8,56 @@ main.home {
8
8
align-self : center;
9
9
}
10
10
}
11
+ .home .hero {
12
+ background-color : # 111111 ;
13
+ padding : 2rem 2rem 2rem 1rem ;
14
+
15
+ > h1 {
16
+ padding-left : 1rem ;
17
+ border-left : .3rem solid # fff ;
18
+ color : # fff ;
19
+ font-family : var (--font-mono );
20
+ & ::first-letter {
21
+ color : magenta;
22
+ }
23
+ & ::after {
24
+ content : "_" ;
25
+ animation : .5s blinking alternate infinite;
26
+ }
27
+ }
28
+ }
29
+ .home .links {
30
+ display : flex;
31
+ flex-direction : column;
32
+ gap : 1rem ;
33
+
34
+ font-size : 18px ;
35
+ }
36
+ .home .category {
37
+ font-size : 22px ;
38
+ margin-top : 4rem ;
11
39
12
- main .section {
13
40
display : flex;
14
41
flex-direction : column;
42
+ gap : 1rem ;
43
+ }
44
+
45
+
46
+ .section {
47
+ grid-template-rows : auto auto 1fr auto;
48
+ align-content : start;
49
+ justify-items : center;
15
50
16
51
> h2 {
17
- margin : 2rem auto;
18
- align-self : center;
52
+ margin : 4rem ;
19
53
}
20
54
}
55
+
56
+
57
+ .single {
58
+ grid-template-rows : min-content auto;
59
+ }
60
+ .single .breadcrumb {
61
+ place-self : center;
62
+ margin : 1rem 0 ;
63
+ }
Original file line number Diff line number Diff line change 3
3
4
4
display : flex;
5
5
flex-direction : column;
6
-
7
6
}
8
7
9
8
.article .header {
19
18
20
19
> li {
21
20
list-style-type : none;
22
- margin : 1rem ;
21
+ margin : 1rem 0 0 0 ;
23
22
font-size : 1rem ;
24
23
}
25
24
}
26
25
}
27
26
28
27
.article .content {
28
+
29
29
> * {
30
30
margin : 1rem 0 1rem 1rem ;
31
31
}
43
43
margin-top : .4rem ;
44
44
content : '' ;
45
45
display : block;
46
- width : 120% ;
47
46
height : .1rem ;
48
47
background-color : light-dark (var (--light-minor ), var (--dark-minor ) 0% );
49
48
}
Original file line number Diff line number Diff line change 2
2
margin : 1rem auto;
3
3
}
4
4
5
- .list .articles {
5
+ .list .items {
6
6
overflow : auto;
7
+ font-size : 20px ;
7
8
margin : 1rem auto;
8
9
> li {
9
10
list-style-type : none;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments