This repository was archived by the owner on Feb 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (89 loc) · 1.61 KB
/
style.css
File metadata and controls
115 lines (89 loc) · 1.61 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
*{
margin: 0;
box-sizing: border-box;
}
#header {
padding:20px 3vh 10px 0;
background-color: lightyellow;
}
#header p{
margin:10px 0;
text-align: end;
}
.title *{
vertical-align: middle;
font-size: 16pt;
font-weight: 700;
}
.scoreboard{
font-size: 16pt;
font-weight: 700;
color: grey;
}
.timesboard{
font-size: 16pt;
font-weight: 500;
}
#cards{
padding: 3vh 3vh;
background-color: aqua;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.card{
margin: 0.3vw;
border:2px solid black;
background-color: #eee;
flex: 1 1 7%;
height: 8vw;
}
.card-front-side{
display: flex;
flex-direction: column;
justify-content: space-around;
}
.card-front-side p{
margin: 3px;
font-size: 10px;
}
.card-front-side img{
max-width: 30%;
align-self: center;
}
.card-front-side p:last-child{
transform: rotate(180deg);
}
.card-back-side{
background-image: url('resources/ExportedContentImage_00.png');
background-size: contain;
}
.card-paired{
background-color: #dae0e3;
}
.card-wrong{
animation-name: wrongAnimation;
animation-duration: 0.2s;
animation-iteration-count: 5;
}
@keyframes wrongAnimation {
to {
border: 2px solid #ffd54f;
}
}
.completed {
position: absolute;
width: 100vw;
height: 90px;
margin-top: 30vh;
padding-top: 1.5vh;
font-size: 18px;
font-weight: 600;
text-align: center;
background-color: rgba(230, 230, 0, 0.5);
}
.completed > p:first-child{
font-size: 24px;
font-weight: bold;
color:darkblue;
}