-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
189 lines (161 loc) · 3.43 KB
/
style.css
File metadata and controls
189 lines (161 loc) · 3.43 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
box-sizing: border-box;
}
input[type=text] {
margin-bottom: 20px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 10px;
}
nav {
padding: 12px;
}
#search {
height: 30vh;
width: 100%;
border: 1px solid black;
border-radius: 10px;
margin-top: 1rem;
}
.btn {
border: none;
border-radius: 100px;
cursor: pointer;
padding: 14px 28px;
font-weight: 500;
}
.btn:hover {
background-color: lightgray;
}
.primary-btn {
background-color: tomato;
color: white;
}
.primary-btn:hover {
background-color: coral;
}
.secondary-btn {
background-color: white;
border: 1px solid grey;
color: black;
}
.secondary-btn:hover {
background-color: #d3d4d5;
}
.flex {
display: flex;
}
.justify-between {
justify-content: space-between;
}
.modal {
display: none;
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-container {
background-color: #fff;
padding: 30px 50px;
border-radius: 32px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 556px;
width: 100%;
margin: 35vh auto;
}
.modal-close {
color: darkslategray;
float: right;
font-size: 24px;
transition: color 0.3s ease;
cursor: pointer;
}
.modal-close:hover {
color: black;
}
.modal-content {
display: flex;
}
.modal-buttons {
display: flex;
justify-content: space-between;
}
.modal-image {
padding: 1rem;
width: 5rem;
height: 5rem;
text-align: center;
vertical-align: middle;
line-height: 3rem;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
border-radius: 10px;
color: darkslategray;
}
.container {
display: inline-block;
position: relative;
padding-left: 35px;
margin-bottom: 12px;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.modal-body input[type=text] {
width: 100%;
}
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
}
/* Create a custom radio button */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
background-color: tomato;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
display: block;
}
/* Style the indicator (dot/circle) */
.container .checkmark:after {
top: 9px;
left: 9px;
width: 8px;
height: 8px;
border-radius: 50%;
background: white;
}