-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcustom.css
More file actions
89 lines (76 loc) · 1.5 KB
/
custom.css
File metadata and controls
89 lines (76 loc) · 1.5 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
.container {
padding: 0.6rem;
}
.gdoc-header {
border-bottom: 0rem solid #8B8B8B;
box-shadow: 0 0 1rem #8B8B8B;
}
.gdoc-brand {
font-size: 2rem;
font-family: serif;
}
.gdoc-brand__img {
margin-right: 0.8rem;
margin-top: 0.8rem;
margin-bottom: 0.8rem;
width: 3.5rem;
height: 3.5rem;
}
.gdoc-brand__title {
margin-top: 0.4rem;
}
.gdoc-brand__subtitle {
margin-top: 0.2rem;
color: #B5B5B5;
font-size: 1.0rem;
}
/* Icons */
.gdoc_dicord {
background: url('./icons/discord-mark-white.svg');
background-repeat: no-repeat;
margin-top: 5px;
background-size: 90%;
}
/* Themes */
:root[color-theme="light"] {
--header-background: #4E666D;
--accent-color-lite: #E3EAE6;
--footer-background: #4E666D;
}
@media (prefers-color-scheme: light) {
:root {
--header-background: #4E666D;
--accent-color-lite: #E3EAE6;
--footer-background: #4E666D;
}
}
:root[color-theme="dark"] {
--header-background: #4E666D;
--body-background: #3F3F3F;
--accent-color-lite: #4F5759;
--footer-background: #3F4B4E;
}
@media (prefers-color-scheme: dark) {
:root {
--header-background: #4E666D;
--body-background: #3F3F3F;
--accent-color-lite: #4F5759;
--footer-background: #3F4B4E;
}
}
/*
* Typewriter Effect
*
* Copied from https://css-tricks.com/snippets/css/typewriter-effect/
*/
.gdoc-brand__subtitle {
overflow: hidden;
white-space: nowrap;
animation:
typing 1.0s steps(40, end),
blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}