-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (103 loc) · 2.01 KB
/
style.css
File metadata and controls
124 lines (103 loc) · 2.01 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
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
@font-face {
font-family: "subset body font";
src: url("html/body.woff2") format("woff2");
}
@font-face {
font-family: "subset code font";
src: url("html/code.woff2") format("woff2");
}
@font-face {
font-family: "subset emoji font";
src: url("html/emoji.woff2") format("woff2");
}
body {
max-width: 35em;
margin: auto;
width: 90%;
margin-top: 10%;
margin-bottom: 10%;
color: #0B0E26;
background: #FAFAFC;
line-height: 1.75em;
text-rendering: optimizeLegibility;
text-align: justify;
}
html {
scroll-behavior: smooth;
font-size: calc(min(.35vw + 16px, 25px));
font-family: "subset body font", "Source Han Serif SC", "Noto Serif SC", "Songti SC", SimSun, "AR PL Sungti", "subset emoji font", serif;
}
h1 {
font-size: 2.5rem;
color: #EF96AB;
line-height: 1.5em;
}
h2 {
margin-top: 2rem;
line-height: 1.5em;
}
h1,
h2,
h3 {
/* text-align: center; */
}
blockquote {
color: gray;
margin: 0;
padding: 1px 0 1px 1.2em;
border-left: .3em solid #EF96AB;
}
code,
pre {
font-size: 0.9rem;
line-height: 1.8em;
font-family: "subset code font", "等距更纱黑体 SC", "JetBrains Mono", "Fira Code", Menlo, Monaco, source-code-pro, Courier New, Consolas, "subset emoji font", monospace;
background: #FCF6FC;
border-radius: 3px;
padding-inline: 0.3em;
}
pre {
overflow-x: auto;
padding: 1em 1.5em;
}
pre>code {
padding-inline: 0;
}
::-webkit-scrollbar,
.element::-webkit-scrollbar,
.element {
/* opacity: 0.5; */
}
a {
color: #02AEF1;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
body {
color: #D8D8D6;
background: #0E0E10;
}
}
@media (prefers-color-scheme: dark) {
pre,
code {
color: #D8D8D6;
background: #0E0F1F;
}
}
.hljs-keyword {
color: #F288AF;
}
.hljs-comment {
color: #929CA6;
}
.hljs-string {
color: #0594A6;
}
.hljs-title {
color: #4581D9;
}
.hljs-type,
.hljs-built_in {
color: #fca311;
}