-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (74 loc) · 1.22 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Poppins", sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
main {
width: 90%;
background-color: lightblue;
padding: 24px;
font-size: 16px;
border-radius: 12px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
h1 {
font-size: 24px;
text-align: center;
}
.labelfrm {
display: flex;
font-size: small;
margin-top: 5px;
}
/* .wrapper {
margin-bottom: 18px;
} */
input,
textarea {
width: 100%;
padding: 2px 6px;
border-radius: 6px;
outline: none;
border: 2px solid white;
}
input:focus,
input:hover,
textarea:focus,
textarea:hover {
border: 2px solid skyblue;
}
input[type="submit"] {
width: fit-content;
padding: 2px 18px;
}
input[type="submit"]:hover {
background-color: skyblue;
}
.error {
font-size: small;
color: red;
}
@media only screen and (min-width: 480px) {
main {
width: 60%;
}
}
@media only screen and (min-width: 1024px) {
main {
width: 35%;
}
}