-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (66 loc) · 1.06 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
html {
font-family: sans-serif;
font-size: 16px;
}
body {
background-color: seagreen;
display: flex;
flex-flow: column nowrap;
margin: 0;
min-height: 100vh;
padding: 0;
}
#root {
align-content: space-evenly;
display: flex;
flex-flow: row wrap;
flex: 1;
justify-content: center;
padding: 0 20px;
}
.center {
justify-content: center;
}
.cardWrapper {
transition: opacity 0.3s;
opacity: 1;
width: calc(100vw / 8);
}
.hideCard {
transition: opacity 0.3s;
opacity: 0.05;
}
.cardWrapper img {
max-width: 100%;
height: auto;
}
.searchContainer {
display: flex;
flex-flow: row nowrap;
justify-content: center;
padding: 12px 0;
}
.searchContainer > input {
padding: 7px 5px;
width: 15%;
border: none;
box-shadow: 0 1px 4px 0 rgb(0 0 0 / 37%);
}
.footer {
padding: 0.5rem;
text-align: right;
width: 100%;
}
.footer img {
height: auto;
width: 24px;
}
@media screen and (max-device-width: 400px) {
.searchContainer > input {
padding: 7px 5px;
width: 45%;
}
.cardWrapper {
width: calc(100vw / 4);
}
}