-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit.html
61 lines (52 loc) · 1.5 KB
/
edit.html
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
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
@font-face {
font-family: 'Bookerly';
src: url(https://gurdiga.com/assets/bookerly/Bookerly-Regular.ttf) format('truetype');
}
@font-face {
font-family: 'Bookerly';
font-weight: bold;
src: url(https://gurdiga.com/assets/bookerly/Bookerly-Bold.ttf) format('truetype');
}
@font-face {
font-family: 'Bookerly';
font-style: italic;
src: url(https://gurdiga.com/assets/bookerly/Bookerly-RegularItalic.ttf) format('truetype');
}
@font-face {
font-family: 'Bookerly';
font-weight: bold;
font-style: italic;
src: url(https://gurdiga.com/assets/bookerly/Bookerly-BoldItalic.ttf) format('truetype');
}
:root {
color-scheme: light dark;
font-family: Bookerly !important;
font-size: 15px;
line-height: 1.4;
padding: 1rem;
padding-bottom: 20vh;
text-rendering: optimizeLegibility;
max-width: 35em;
margin: 0 auto;
}
@media only screen and (max-width: 600px) {
:root {
font-size: 17px;
line-height: 1.5;
}
}
@media (prefers-color-scheme: dark) {
:root {
color: #b9b9b6;
background-color: #1f1f1e;
}
}
@media (prefers-color-scheme: light) {
:root {
opacity: 0.9;
}
}
</style>
<body contenteditable>Write or paste here.</body>