-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (111 loc) · 2.06 KB
/
style.css
File metadata and controls
140 lines (111 loc) · 2.06 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
body {
margin: 0;
background-color: #325880;
font-family: Helvetica;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
nav {
height: 8vh;
width: 100vw;
margin-bottom: 4vh;
background-color: #00000040;
color: #f5f5dc;
font-size: 4vmin;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-item {
margin: 0vh 4vh;
padding: 0vh 4vh;
}
#guesses {
font-weight: bold;
}
#restart {
height: 8vh;
border: none;
background-color: #f5f5dc00;
color: #325880;
font-family: Helvetica;
font-size: 4vmin;
font-weight: bold;
cursor: pointer;
}
#restart:hover {
background-color: #325880;
color: #f5f5dc;
}
#mesa {
height: 82vh;
width: 160vh;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
flex-flow: row wrap;
gap: 4vmin;
}
footer {
width: 160vh;
display: flex;
justify-content: flex-start;
}
footer p {
font-size: 2vmin;
color: #00000040;
margin: 0vmin 4vmin 4vmin;
}
footer p a {
color: #00000040;
}
.card {
height: 22vmin;
width: 22vmin;
background-color: #f5f5dc;
border-radius: 2vmin;
box-shadow: 1px 1px 4px #00000040, 4px 4px 10px #00000040;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
transition: 0.4s;
transform-style: preserve-3d;
}
.card img {
height: 22vmin;
width: 22vmin;
border-radius: 2vmin;
transform: rotateY(180deg);
backface-visibility: hidden;
}
.card.view {
transform: rotateY(180deg);
}
.collected {
opacity: 0;
cursor: default;
}
.review img {
backface-visibility: visible;
}
@media only screen and (max-width: 768px) {
.nav-item {
margin: 0vh;
}
#mesa {
height: 160vw;
width: 82vw;
}
footer {
width: 82vw;
justify-content: center;
}
footer p {
margin: 4vh 0vh;
}
}