File tree Expand file tree Collapse file tree 3 files changed +48
-11
lines changed Expand file tree Collapse file tree 3 files changed +48
-11
lines changed Original file line number Diff line number Diff line change 2
2
max-width : 54ch ;
3
3
margin : 0 auto;
4
4
padding : 1rem 20px ;
5
+
5
6
color : # 1e1e1e ;
6
7
font-family :
7
8
Segoe UI,
@@ -10,10 +11,34 @@ body {
10
11
sans-serif;
11
12
font-size : clamp (1rem , -0.875rem + 8.333vw , 1.5rem );
12
13
line-height : 1.5 ;
14
+
15
+ display : flex;
16
+ flex-direction : column;
17
+ min-height : 100vh ;
18
+
19
+ box-sizing : border-box;
13
20
}
14
21
15
22
h1 ,
16
23
h2 ,
17
24
h3 {
18
25
line-height : 1.2 ;
19
26
}
27
+
28
+ header ,
29
+ footer {
30
+ flex-shrink : 0 ;
31
+ }
32
+
33
+ main {
34
+ flex : 1 ;
35
+ }
36
+
37
+ nav ul {
38
+ display : flex;
39
+ list-style-type : none;
40
+ padding : 0 ;
41
+ margin : 0 ;
42
+ gap : 20px ;
43
+ flex-wrap : wrap;
44
+ }
Original file line number Diff line number Diff line change 1
1
< header >
2
- < h1 >
3
- < a href ="/ ">
4
- notify
5
- </ a >
6
- </ h1 >
7
- < p > send notification to discord, email, and sms</ p >
2
+ < div >
3
+ < h1 >
4
+ < a href ="/ ">
5
+ notify
6
+ </ a >
7
+ </ h1 >
8
+ < p > send notification to discord, email, and sms</ p >
9
+ </ div >
10
+
11
+ < nav >
12
+ < ul >
13
+ < li >
14
+ < a href ="/ "> home</ a >
15
+ </ li >
16
+ < li >
17
+ < a href ="/login "> login</ a >
18
+ </ li >
19
+ < li >
20
+ < a href ="/dashboard "> dashboard</ a >
21
+ </ li >
22
+ </ ul >
23
+ </ nav >
24
+
8
25
</ header >
Original file line number Diff line number Diff line change 1
1
< p > home page</ p >
2
-
3
-
4
- < nav >
5
- < a href ="/login "> login</ a >
6
- </ nav >
You can’t perform that action at this time.
0 commit comments