-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (94 loc) · 1.69 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
.container{
color: #252525;
font-family: 'Play', 'Helvetica', 'Arial', sans-serif;
}
#header {
text-align: center;
font-size: 2.5rem;
font-weight: bold;
color: #E52C2C;
}
#header img{
height: 2rem;
}
#stats{
text-align: center;
font-size: 1.5rem;
}
.accordion-body {
margin-right: 0;
text-align: justify;
}
.accordion-body p, blockquote{
margin: 0;
}
.accordion label{
font-size: 1.2rem;
}
#game {
height: 75vh;
}
#deck {
position: relative;
height: 90%;
}
.btn-main {
width: 100%;
margin-top: 1vh;
margin-bottom: 1vh;
}
.card {
position: absolute;
left: 5%;
top: 10%;
background: white;
border: solid 0.2rem black;
padding: 0.5rem;
border-radius: 0.5rem;
width: 90%;
text-align: center;
font-size: 1.2rem;
box-shadow: 0.4rem 0.4rem #303742;
text-transform: uppercase;
height: 17rem;
overflow: hidden;
}
.card-content{
position: relative;
top: 50%;
transform: translateY(-50%);
}
.card-word {
color: #E52C2C;
font-weight: bold;
border-bottom: solid 0.15rem #E52C2C;
padding-bottom: 0.25rem;
margin-bottom: 0.25rem;
}
.card-taboo {
padding: 0.1rem;
border-bottom: solid 0.075rem darkgray;
}
.card-taboo:last-of-type {
border-bottom: none;
}
.front-card {
display: block;
z-index: -1;
}
.back-card {
display: none;
z-index: -100;
}
@keyframes swap-cards {
0% {left: 5%; z-index: 0; }
40% {left: 100%; z-index: 0; }
60% {left: 100%; z-index: -100; }
100% {left: 5%; z-index: -100; }
}
.animated-card {
animation-name: swap-cards;
animation-duration: 1s;
z-index: -100;
display: block;
}