-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
137 lines (117 loc) · 2.11 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
form {
box-sizing: border-box;
padding: 2.5rem;
border-radius: 1rem;
background-color: hsl(0, 0%, 100%);
border: 4px solid hsl(0, 0%, 85%);
width: 40%;
gap: 2rem;
margin: 15px auto;
text-align: center;
font-size: 18px;
}
h2 {
text-align: center;
font-size: 38px;
font-weight: 600;
margin-top: 25px;
}
body {
background-color: hsl(0, 0%, 97%);
color: #333;
font-family: "Figtree", sans-serif;
margin: 10px;
}
input {
width: 400px;
padding: 20px;
margin: 3px;
border-radius: 5px;
border: 1px solid rgb(59, 59, 59);
}
.button {
border: none;
border-radius: 10px;
background-color: rgb(75, 119, 240);
color: white;
font-weight: 600;
font-size: 18px;
padding: 10px;
font-family: Arial, Helvetica, sans-serif;
margin: 10px;
}
.no-btn {
background-color: white;
border: 2px solid rgb(75, 119, 240);
color: rgb(75, 119, 240);
}
.button:active {
color: white;
}
.button:hover {
cursor: pointer;
background-color: rgb(65, 103, 207);
color: white;
}
.form-below {
position: relative;
}
.suggestions {
z-index: 999;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
margin-top: -4px;
text-align: center;
width: 390px;
list-style: none;
background-color: white;
padding: 0;
border-radius: 4px;
box-shadow: 1px 1px rgb(142, 167, 236), -1px 1px rgb(142, 167, 236);
}
.suggestions:hover {
cursor: pointer;
}
li {
padding: 10px;
}
.active:hover {
background-color: rgb(75, 119, 240, 10%);
}
.modal-content {
font-size: 20.5px;
padding: 7px 0px;
}
#button-area {
display: flex;
margin-top: 18px;
justify-content: space-between;
}
.submit-button {
margin: 0 auto;
}
@media screen and (min-width: 800px) and (max-width: 1100px) {
form {
width: 60%;
}
.suggestions {
width: 353px;
}
input {
width: 360px;
}
}
@media screen and (max-width: 800px) {
.suggestions {
width: 310px;
}
input {
width: 320px;
}
form {
width: 80%;
}
}