-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
167 lines (150 loc) · 5.08 KB
/
app.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
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
163
164
165
166
167
:root {
/* accent colors */
--color-yellow: #b58900;
--color-orange: #cb4b16;
--color-red: #dc322f;
--color-magenta: #d33682;
--color-violet: #6c71c4;
--color-blue: #268bd2;
--color-cyan: #2aa198;
--color-green: #859900;
}
/* default */
@media (prefers-color-scheme: light) {
:root {
/* bg tones */
--color-base03: #fdf6e3;
--color-base02: #eee8d5;
/* content tones */
--color-base01: #93a1a1;
--color-base00: #839496;
--color-base0: #657b83;
--color-base1: #586e75;
/* bg tones */
--color-base2: #073642;
--color-base3: #002b36;
}
}
[data-theme="light"] {
/* bg tones */
--color-base03: #fdf6e3;
--color-base02: #eee8d5;
/* content tones */
--color-base01: #93a1a1;
--color-base00: #839496;
--color-base0: #657b83;
--color-base1: #586e75;
/* bg tones */
--color-base2: #073642;
--color-base3: #002b36;
}
@media (prefers-color-scheme: dark) {
:root {
/* bg tones */
--color-base03: #002b36;
--color-base02: #073642;
/* content tones */
--color-base01: #586e75;
--color-base00: #657b83;
--color-base0: #839496;
--color-base1: #93a1a1;
/* bg tones */
--color-base2: #eee8d5;
--color-base3: #fdf6e3;
}
}
[data-theme="dark"] {
/* bg tones */
--color-base03: #002b36;
--color-base02: #073642;
/* content tones */
--color-base01: #586e75;
--color-base00: #657b83;
--color-base0: #839496;
--color-base1: #93a1a1;
/* bg tones */
--color-base2: #eee8d5;
--color-base3: #fdf6e3;
}
body {
color: var(--color-base0);
background-color: var(--color-base03);
font: 14px/18px Arial, Tahoma, Verdana, sans-serif;
text-align: center;
padding-left: 40px;
padding-right: 40px;
user-select: none;
}
h1 {
margin-top: 40px;
margin-bottom: 40px;
font-size: 28px;
transition: font-size .3s ease;
}
img.face {
display: block;
max-width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
cursor: pointer;
filter: grayscale(80%);
background-position: center;
background-size: cover;
border-radius: 50%;
transform: scale(1.0);
transition: all .4s;
}
img.face:hover {
filter: grayscale(0);
transform: scale(0.95);
}
a {
color: var(--color-base2);
text-decoration: none;
}
@keyframes blink {
0% {
opacity: 1;
}
49% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.hell {
animation: blink 0.1s;
animation-iteration-count: infinite;
filter: invert(100%);
}
h5 {
cursor: help;
}
.__footer a::before,
.__footer a::after {
content: none;
font-weight: unset;
}
a.theme-switcher-btn::after {
content: "theme: light";
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' height='16' width='16' style='fill: %2393a1a1;'%3E%3Cpath fill-rule='evenodd' d='M8 10.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM8 12a4 4 0 100-8 4 4 0 000 8zM8 0a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V.75A.75.75 0 018 0zm0 13a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 018 13zM2.343 2.343a.75.75 0 011.061 0l1.06 1.061a.75.75 0 01-1.06 1.06l-1.06-1.06a.75.75 0 010-1.06zm9.193 9.193a.75.75 0 011.06 0l1.061 1.06a.75.75 0 01-1.06 1.061l-1.061-1.06a.75.75 0 010-1.061zM16 8a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0116 8zM3 8a.75.75 0 01-.75.75H.75a.75.75 0 010-1.5h1.5A.75.75 0 013 8zm10.657-5.657a.75.75 0 010 1.061l-1.061 1.06a.75.75 0 11-1.06-1.06l1.06-1.06a.75.75 0 011.06 0zm-9.193 9.193a.75.75 0 010 1.06l-1.06 1.061a.75.75 0 11-1.061-1.06l1.06-1.061a.75.75 0 011.061 0z'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right;
padding-right: 20px;
color: var(--color-base00);
}
[data-theme="dark"] a.theme-switcher-btn::after {
content: "theme: dark";
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' height='16' width='16' style='fill: %23586e75;'%3E%3Cpath fill-rule='evenodd' d='M9.598 1.591a.75.75 0 01.785-.175 7 7 0 11-8.967 8.967.75.75 0 01.961-.96 5.5 5.5 0 007.046-7.046.75.75 0 01.175-.786zm1.616 1.945a7 7 0 01-7.678 7.678 5.5 5.5 0 107.678-7.678z'%3E%3C/path%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
a.theme-switcher-btn::after {
content: "theme: dark";
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' height='16' width='16' style='fill: %23586e75;'%3E%3Cpath fill-rule='evenodd' d='M9.598 1.591a.75.75 0 01.785-.175 7 7 0 11-8.967 8.967.75.75 0 01.961-.96 5.5 5.5 0 007.046-7.046.75.75 0 01.175-.786zm1.616 1.945a7 7 0 01-7.678 7.678 5.5 5.5 0 107.678-7.678z'%3E%3C/path%3E%3C/svg%3E");
}
}