-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (81 loc) · 1.59 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
:root {
--fg-color-light: #202020;
--bg-color-light: #fff;
--fg-color-dark: #fff;
--bg-color-dark: #202020;
--fg-color: var(--fg-color-light);
--bg-color: var(--bg-color-light);
}
@media screen and (prefers-color-scheme: dark) {
:root {
--fg-color: var(--fg-color-dark);
--bg-color: var(--bg-color-dark);
}
}
html, body {
display: flex;
height: 100vh;
flex-direction: column;
width: 100%;
padding: 0 0 0 0;
margin: 0 0 0 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1rem;
}
body {
color: var(--fg-color);
background-color: var(--bg-color);
}
a {
text-decoration: none;
color: #00cc32;
}
a:visited {
color: #00cc32;
}
a:hover {
text-decoration: underline;
color: #00aa32;
}
.footer {
flex: 1;
text-align: center;
padding: 1em;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.emoji {
width: 10em;
height: 10em;
}
.hands {
font-size: 0.75em;
}
#pleading-face #left-hand {
transform: translateX(-5em);
}
#pleading-face #right-hand {
transform: translateX(5em);
}
#pleading-face .hand {
transition: transform 0.75s ease-in-out, opacity 0.75s ease-in-out, visibility 0.75s ease-in-out;
visibility: hidden;
opacity: 0;
}
#pleading-face:hover .hand {
transform: translateX(0em) !important;
visibility: visible;
opacity: 1;
}