-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (132 loc) · 2.46 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
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
@import url('https://use.typekit.net/zhb8zhr.css');
body {
font-family: 'aktiv-grotesk', 'SF Pro Display', 'San Francisco Display', 'Helvetica Neue','Roboto', sans-serif;
font-size: 14px;
color: rgba(0,0,0,0.87);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
max-width: 500px;
padding: 0;
margin: auto;
transition: 0.6s;
}
h1, h2, h3 {
font-weight: 100;
font-size: 1.4rem;
}
h1 {
width: 100%;
text-align: center;
margin: 0 0 12px 0;
padding: 0 0 8px 0;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 36px;
}
h2 {
margin: 24px 0 16px 0;
padding: 0;
font-size: 20px;
line-height: 32px;
color: rgba(0,0,0,0.54);
}
h5 {
font-weight: 400;
}
p {
margin: 0;
margin-bottom: 16px;
font-weight: 400;
text-align: center;
font-size: 0.8rem;
}
p br {
font-size: 20px;
}
ol {
margin: 0;
}
ol li {
margin: 0;
line-height: 24px;
padding-left: 12px;
}
a {
color: #039BE5;
text-decoration: underline;
}
a:hover {
text-decoration: underline;
}
code {
display: inline-block;
padding: 3px 4px;
background-color: #ECEFF1;
border-radius: 3px;
font-family: 'Roboto Mono',"Liberation Mono",Courier,monospace;
font-size: 14px;
line-height: 1;
}
.gh {
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
}
.gh svg {
height: 15px;
position: relative;
top: 4px;
}
.toggle-btn {
position: absolute;
top: 20px;
right: 20px;
padding: 10px 20px;
background: #FAFAFA;
box-shadow: 0px 1px 8px -3px #00000040;
border-radius: 5px;
border: 1px solid #EEEEEE;
cursor: pointer;
transition: 0.3s ease;
text-transform: uppercase;
font-size: 12px;
user-select: none;
}
.toggle-btn:hover {
box-shadow: 0px 1px 12px -3px #00000040;
}
.toggle-btn:active {
background-color: #F1f1f1;
box-shadow: 0px 3px 10px -3px #00000040;
}
/* Dark mode |~~ */
body.dark {
background: #111;
color: #9E9E9E;
}
body.dark h1 {
border-bottom: 1px solid rgba(158, 158, 158, 0.2);
}
body.dark a {
color: #ce93d8ba;
}
body.dark svg {
fill: #ce93d8ba;
}
/* ~~| END Dark Mode */
@media screen and (max-width: 510px) {
body {
max-width: 300px;
}
}
@media screen and (max-width: 350px) {
body {
max-width: 250px;
}
p {
line-height: 1.6em;
}
}