-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
163 lines (131 loc) · 2.78 KB
/
Copy pathstyle.css
File metadata and controls
163 lines (131 loc) · 2.78 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
:root {
--card-width: 125px;
--card-height: 175px;
}
body {
margin: 0;
background: url(img/background.webp);
background-position: center;
background-size: cover;
color: #5e5447;
font-family: "Kanit", sans-serif;
text-shadow: 2px 2px 3px rgb(177, 177, 177);
min-height: 100vh;
}
h1 {
font-size: 60px;
text-align: center;
}
#ui-container {
text-align: center;
}
#ui-container h3 {
margin: 0;
display: inline-block;
font-size: 40px;
text-align: center;
}
#ui-container h3:first-child {
margin-right: 40px;
}
#card-container {
font-size: 0;
margin: 50px auto;
width: calc((var(--card-width) + 2vw + 12px) * 4);
}
.card {
display: inline-block;
position: relative;
margin: 1vw;
width: var(--card-width);
height: var(--card-height);
border: 2px solid transparent;
overflow: hidden;
}
/* Style the two logo images themselves. */
.card-down,
.card-up {
/* Take images out of the flow. */
position: absolute;
width: 100%;
height: 100%;
/* When facing away from the screen each image should be hidden. */
backface-visibility: hidden;
border-radius: 5px;
transition-duration: .3s;
}
.card-down {
background-image: url(img/Fazbear.jpg);
background-position: center;
background-size: cover;
}
.card-up {
background-position: center;
background-size: cover;
transform: rotateY(180deg);
}
.flipped .card-down {
transform: rotateY(180deg);
}
.flipped .card-up {
transform: rotateY(0deg);
}
.image-1 .card-up {
background-image: url(img/chika.webp), linear-gradient(#72dbf4, #72dbf4);
padding-left: 40px;
}
.image-2 .card-up {
background-image: url(img/freddy.webp), linear-gradient(#72dbf4, #72dbf4);
}
.image-3 .card-up {
background-image: url(img/bonnie.webp), linear-gradient(#72dbf4, #72dbf4);
}
.image-4 .card-up {
background-image: url(img/foxy.webp), linear-gradient(#72dbf4, #72dbf4);
padding-left: 200px;
}
.image-5 .card-up {
background-image: url(img/golden.webp), linear-gradient(#72dbf4, #72dbf4);
}
.image-6 .card-up {
background-image: url(img/puppet.gif), linear-gradient(#72dbf4, #72dbf4);
}
.glow {
border: 1px solid transparent;
transition: border 0.1s linear, box-shadow 0.1s linear;
}
@keyframes border-glow {
from {
border: 2px solid transparent;
box-shadow: none;
}
80% {
border-color: blue;
box-shadow: 0 0 10px blue;
}
to {
border: 2px solid transparent;
box-shadow: none;
}
}
.border-glow {
animation: border-glow 1s;
}
.btn-container {
display: flex;
justify-content: center;
}
.reset-btn {
margin: 0 0 30px 0;
padding: 20px 40px;
background-color: #5e5447;
color: white;
border: 0px;
border-radius: 10px;
font-family: "Kanit", sans-serif;
font-size: 1.5em;
}
.reset-btn:hover {
cursor: pointer;
background-color: #534a3d;
}