-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
197 lines (173 loc) · 4.09 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
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
190
191
192
193
194
195
196
197
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,700;1,300&display=swap");
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
letter-spacing: 0.5px;
font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100vh;
background: -webkit-gradient(linear, left top, right top, from(#0F2027), color-stop(#203A43), to(#2C5364));
background: linear-gradient(to right, #0F2027, #203A43, #2C5364);
padding: 10px 50px 20px;
}
.table thead tr th h3 {
color: beige;
}
.table thead tr th p {
color: aliceblue;
}
.searchBox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-top: 0.5rem;
z-index: 100;
}
.searchBox input {
height: 2.8rem;
width: 60vw;
padding-left: 10px;
border-radius: 30px;
outline: none;
border: 2px solid rgba(0, 0, 0, 0.5);
}
.searchBox input:hover {
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}
.searchBox button {
height: 3rem;
width: 3rem;
border: 2px solid rgba(0, 0, 0, 0.5);
outline: none;
border-radius: 50%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: white;
margin-left: 0.5rem;
}
.searchBox button:hover {
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}
.searchBox button img {
height: 1rem;
width: 1rem;
}
.cards {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.cards .card {
background: white;
padding: 1rem;
min-height: 40vh;
min-width: 30vw;
margin: 1rem;
}
.cards .card h1 {
color: #45B649;
margin-bottom: 0.5rem;
}
.cards .card h1 .category {
color: black;
font-size: smaller;
}
.cards .card .innerCard {
background: -webkit-gradient(linear, left top, right top, from(#DCE35B), to(#45B649));
background: linear-gradient(to right, #DCE35B, #45B649);
padding: 0.5rem;
}
.cards .card .innerCard h3 {
margin: 0.5rem;
color: white;
}
.cards .card .innerCard h3 .category {
color: black;
}
.opening {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.opening img {
margin-top: 1rem;
width: 100vw;
}
.opening h1 {
position: absolute;
-webkit-transform: translate(0, 30px);
transform: translate(0, 30px);
font-size: large;
color: hsl(30, 100%, 50%);
}
@media (max-width: 500px) {
.cards {
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-box-pack: left;
-ms-flex-pack: left;
justify-content: left;
}
.cards::before {
content: "Swipe for more";
position: fixed;
bottom: 1rem;
right: 0.5rem;
text-align: center;
color: white;
}
.cards .card {
min-height: 50vh;
min-width: 90vw;
margin: 1rem;
}
}
@media (min-width: 900px) {
.opening img {
width: 70vw;
}
.opening h1 {
font-size: large;
}
}
footer {
background-color: beige;
}
/*# sourceMappingURL=style.css.map */