This repository was archived by the owner on Apr 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- /* Reset and global styles */
1
+ /* universal styles */
2
2
* {
3
3
padding : 0 ;
4
4
margin : 0 ;
5
5
box-sizing : border-box;
6
6
}
7
-
7
+ /*body*/
8
8
body {
9
9
font-family : garamond, serif;
10
10
margin : 0 ;
11
11
padding : 0 ;
12
12
color : # 1b1212 ;
13
13
background-color : # f5c9d6 ;
14
14
}
15
-
15
+ /*h1*/
16
16
h1 {
17
17
margin-top : 0.4rem ;
18
18
text-align : center;
19
19
margin-bottom : 1rem ;
20
20
font-size : 2.5rem ;
21
21
font-weight : 500 ;
22
22
}
23
+ /*h2*/
23
24
h2 {
24
25
margin-top : 0.7rem ;
25
26
margin-bottom : 0.8rem ;
26
27
margin-left : 3rem ;
27
28
font-weight : 500 ;
28
29
font-size : 2rem ;
29
30
}
30
-
31
+ /*wrapper*/
31
32
.container {
32
33
display : grid;
33
34
grid-template-columns : 1fr 1fr ;
37
38
padding-bottom : 2rem ;
38
39
align-items : start;
39
40
}
40
-
41
+ /*Form*/
41
42
.form-section {
42
43
display : flex;
43
44
flex-direction : column;
@@ -130,7 +131,7 @@ button {
130
131
transform : scale (1.11 );
131
132
opacity : 0.9 ;
132
133
}
133
-
134
+ /*footer*/
134
135
footer {
135
136
text-align : center;
136
137
margin-top : 2rem ;
@@ -140,7 +141,7 @@ footer {
140
141
color : # 808080 ;
141
142
border-top : 1px solid # ccc ;
142
143
}
143
-
144
+ /*media query for screen 768px*/
144
145
@media screen and (max-width : 768px ) {
145
146
.image-section {
146
147
display : none;
@@ -183,6 +184,7 @@ footer {
183
184
text-align : center;
184
185
}
185
186
}
187
+ /*media query for screen 1000px*/
186
188
@media screen and (max-width : 1000px ) {
187
189
label {
188
190
font-size : 1.3rem ;
You can’t perform that action at this time.
0 commit comments