File tree 2 files changed +26
-19
lines changed
2 files changed +26
-19
lines changed Original file line number Diff line number Diff line change 1
1
: root {
2
- --font-size : 1.5 vw ;
2
+ --font-size : 4 vh ;
3
3
}
4
4
5
5
div .wrapper {
6
- border-radius : 1 vw ;
6
+ border-radius : 1 vh ;
7
7
background-color : # 2d3140 ;
8
8
align-items : center;
9
9
display : flex;
10
10
flex-direction : column;
11
- background-image : url (' ../img/background.png' );
11
+ background-image : url (" ../img/background.png" );
12
12
background-size : cover;
13
- width : 30vw ;
14
- height : 30vw ;
13
+ width : 99vh ;
14
+ height : 99vh ;
15
+ margin : 1vh ;
15
16
}
16
17
17
18
p {
18
19
color : # e8e8e8 ;
19
20
font-size : var (--font-size );
20
- padding : 1.5 vw ;
21
+ padding : 1.5 vh ;
21
22
width : 95% ;
22
23
height : 90% ;
23
24
text-align : center;
@@ -30,16 +31,16 @@ p.message {
30
31
text-align : center;
31
32
margin : 0 ;
32
33
font-size : var (--font-size );
33
- padding : 1 vw ;
34
+ padding : 1 vh ;
34
35
}
35
36
36
37
p .event {
37
38
text-align : center;
38
- margin-bottom : 0 vw ;
39
- margin-top : .7 vw ;
39
+ margin-bottom : 0 vh ;
40
+ margin-top : 1.5 vh ;
40
41
font-size : var (--font-size );
41
42
height : fit-content;
42
- padding : 1 vw ;
43
+ padding : 4.75 vh ;
43
44
font-weight : bold;
44
45
}
45
46
@@ -57,13 +58,11 @@ p.raid {
57
58
58
59
p .resubscribe {
59
60
color : rgb (32 , 117 , 42 );
60
-
61
61
}
62
62
63
-
64
63
h2 .message {
65
- margin-bottom : .4 vw ;
66
- padding : 0 vw ;
64
+ margin-bottom : 2 vh ;
65
+ padding : 0 vh ;
67
66
text-align : center;
68
67
font-size : var (--font-size );
69
68
}
@@ -72,7 +71,7 @@ div#message {
72
71
width : 100% ;
73
72
height : 100% ;
74
73
display : flex;
75
- padding : 1.5 vw ;
74
+ padding : 2 vh ;
76
75
flex-direction : row;
77
76
justify-content : space-around;
78
77
align-items : center;
@@ -82,19 +81,18 @@ div#footer {
82
81
width : 100% ;
83
82
height : 100% ;
84
83
display : flex;
85
- padding : 1.5 vw ;
84
+ padding : 1.5 vh ;
86
85
flex-direction : row;
87
86
justify-content : space-around;
88
87
align-items : center;
89
88
}
90
89
91
90
span # sub {
92
91
color : # 9e2b25 ;
93
- font-size : 2 vw ;
94
- padding : 1.5 vw ;
92
+ font-size : 6 vh ;
93
+ padding : 1.5 vh ;
95
94
width : 95% ;
96
95
height : 90% ;
97
96
text-align : center;
98
97
margin : 0 ;
99
98
}
100
-
Original file line number Diff line number Diff line change 1
1
/** write some css to display two divs side by side that contain lists of elements */
2
2
/* Path: main.css */
3
3
4
+ html , mody {
5
+ margin : 0 ;
6
+ padding : 0 ;
7
+ font-family : 'Roboto' , sans-serif;
8
+ font-size : 16px ;
9
+ background-color : # 333 ;
10
+ color : # fff ;
11
+ }
12
+
4
13
div {
5
14
display : grid;
6
15
grid-template-columns : repeat (2 , 1fr );
You can’t perform that action at this time.
0 commit comments