-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
executable file
·62 lines (53 loc) · 1.08 KB
/
styles.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
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
body{
background-color: #b30000;
font-family:"Roboto Mono", sans-serif;
text-transform: uppercase;
font-size: 2em;
}
.char{
transform: translateY(-50%) rotate(25deg);
opacity: 0;
}
.char.show {
animation-delay: calc(50ms* var(--char-index));
animation-direction: alternate;
animation-duration: 900ms;
animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
animation-fill-mode: both;
animation-name: slide-in;
}
@keyframes slide-in {
to {
transform: translateY(0) rotate(-1deg);
opacity: 1;
}
}
.tile{
border: 1px #fcf5e3 solid;
box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
padding: .1em .3em;
margin: .1em;
border-radius: .1em;
text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
background: rgb(243,230,210);
background-image: url(tile.png);
}
.tile{
position: relative;
display: inline-block;
}
.value{
position: absolute;
font-size: .3em;
right: .15em;
bottom: .5em;
}
.word{
margin-right: 1em;
}
.punctuation{
position: absolute;
color:white;
bottom: -.2em;
}