File tree Expand file tree Collapse file tree 3 files changed +25
-41
lines changed Expand file tree Collapse file tree 3 files changed +25
-41
lines changed Original file line number Diff line number Diff line change @@ -53,32 +53,16 @@ p + pre {
53
53
54
54
pre {
55
55
overflow : auto;
56
- border-top : 1 px solid var (--border );
56
+ border-top : 2 px solid var (--border );
57
57
border-bottom : 1px solid var (--border );
58
58
padding : 4px 0 ;
59
- }
60
-
61
- pre code {
62
- tab-size : 4 ;
63
- -moz-tab-size : 4 ;
59
+ background : # 8888880a ;
60
+ line-height : 1.5 ;
64
61
}
65
62
66
63
code {
67
- font-variant-ligatures : none;
68
- font-feature-settings : "liga" 0 ;
69
- font-family : "JetBrains Mono" , monospace;
70
- }
71
-
72
- p > code ,
73
- a > code ,
74
- h1 > code ,
75
- h2 > code ,
76
- h3 > code ,
77
- h4 > code ,
78
- h5 > code ,
79
- li > code {
80
- font-weight : bold;
81
- font-size : 1em ;
64
+ font-family : monospace;
65
+ font-size : 14px ;
82
66
}
83
67
84
68
.header {
@@ -130,7 +114,7 @@ nav a {
130
114
text-decoration : none;
131
115
font-size : large;
132
116
margin : 0 10px ;
133
- @media screen and (max-width : 800px ) {
117
+ @media screen and (max-width : 800px ) {
134
118
margin : 0 8px ;
135
119
}
136
120
}
Original file line number Diff line number Diff line change 12
12
<ctx :if="$page.custom.getOr('mermaid', false)">
13
13
<script defer src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/mermaid/8.14.0/mermaid.min.js" onload="mermaid.initialize({startOnLoad:true});"></script>
14
14
</ctx>
15
- <script>
16
- var _hmt = _hmt || [];
17
- (function() {
18
- var hm = document.createElement("script");
19
- hm.src = "https://hm.baidu.com/hm.js?c7ddb41bcae30e6c2acc86e2cbe8b753";
20
- var s = document.getElementsByTagName("script")[0];
21
- s.parentNode.insertBefore(hm, s);
22
- })();
23
-
24
- const payload = {
25
- 'ns': 'zigcc',
26
- 'url': document.location.href,
27
- 'title': document.title,
28
- 'referrer': window.frames.top.document.referrer,
29
- };
30
- fetch('https://en.liujiacai.net/pv/write?' + new URLSearchParams(payload),
31
- {mode: 'no-cors'}).catch(console.log);
32
- </script>
33
-
34
15
</head>
35
16
<body id="body">
36
17
<div :html="$page.content()"></div>
Original file line number Diff line number Diff line change 7
7
<title :text="$site.title"></title>
8
8
<link type="text/css" rel="stylesheet" href="$site.asset('style.css').link()">
9
9
<link type="text/css" rel="stylesheet" href="$site.asset('highlight.css').link()">
10
+ <script>
11
+ var _hmt = _hmt || [];
12
+ (function() {
13
+ var hm = document.createElement("script");
14
+ hm.src = "https://hm.baidu.com/hm.js?c7ddb41bcae30e6c2acc86e2cbe8b753";
15
+ var s = document.getElementsByTagName("script")[0];
16
+ s.parentNode.insertBefore(hm, s);
17
+ })();
18
+
19
+ const payload = {
20
+ 'ns': 'zigcc',
21
+ 'url': document.location.href,
22
+ 'title': document.title,
23
+ 'referrer': window.frames.top.document.referrer,
24
+ };
25
+ fetch('https://en.liujiacai.net/pv/write?' + new URLSearchParams(payload),
26
+ {mode: 'no-cors'}).catch(console.log);
27
+ </script>
28
+
10
29
<super>
11
30
</head>
12
31
<body id="body">
You can’t perform that action at this time.
0 commit comments