-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
103 lines (61 loc) · 1.67 KB
/
custom.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
.heatmap-modify {
width: 100%; /* 设置容器宽度 */
overflow: auto; /* 显示滚动条,根据内容决定是否显示 */
/* 隐藏默认的滚动条样式 */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
.heatmap-modify::-webkit-scrollbar {
display: none; /* Chrome, Safari, and Opera */
}
/*
pre code {
tab-size: 4;
}
*/
.markdown-body .highlight pre, .markdown-body pre{
tab-size: 4; /* 这里将Tab设置为4个空格 */
}
.markdown-body img {
display: block;
margin-left: auto;
margin-right: auto;
}
.markdown-body {
word-break: break-all !important;
}
@media (max-width: 768px){
.pt-0 {
padding-top: 8px !important;
}
}
.text-mono {
white-space: nowrap;
}
.file-actions{
white-space: nowrap;
}
.file-header > *:not(#toc-toggle){
width: 100%; /* 设置容器宽度 */
overflow: auto; /* 显示滚动条,根据内容决定是否显示 */
/* 隐藏默认的滚动条样式 */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
.file-header > *:not(#toc-toggle)::-webkit-scrollbar {
display: none; /* Chrome, Safari, and Opera */
}
@font-face {
font-family: 'MyFont';
src: url('/font/FuzzyBubbles-Regular.ttf') format('truetype');
}
#hihere-is-my-blog- {
font-family: 'MyFont', sans-serif; /* 使用MyFont字体,并提供后备字体 */
}
.markdown-body blockquote, .markdown-body details, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul{
margin-top: 16px !important;
}
.markdown-body h1 {
font-size: 30px;
border-bottom: 1px solid #34475242;
}