File tree Expand file tree Collapse file tree 5 files changed +78
-31
lines changed Expand file tree Collapse file tree 5 files changed +78
-31
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ a.gototop {
110
110
z-index : 9999 ;
111
111
color : var (--color-theme-bg );
112
112
font-size : 10px ;
113
- opacity : 0.5 ;
113
+ opacity : 0 ;
114
114
transition : all 0.3s ;
115
115
}
116
116
a .gototop : hover {
@@ -141,8 +141,17 @@ a.gototop:hover {
141
141
color : var (--color-theme-text );
142
142
align-items : center;
143
143
}
144
+ .header .logo : hover {
145
+ text-decoration : none;
146
+ }
144
147
.header .logo .title {
145
148
padding-left : 8px ;
149
+ display : flex;
150
+ }
151
+ .header .logo .title sup {
152
+ margin-top : -5px ;
153
+ font-weight : normal;
154
+ color : var (--color-fg-subtle );
146
155
}
147
156
.header .logo img ,
148
157
.header .logo svg {
@@ -162,6 +171,10 @@ a.gototop:hover {
162
171
list-style : none;
163
172
padding-right : 10px ;
164
173
}
174
+ .header .menu li {
175
+ display : flex;
176
+ align-items : center;
177
+ }
165
178
.header a {
166
179
color : var (--color-theme-text );
167
180
font-weight : bold;
Original file line number Diff line number Diff line change 6
6
}
7
7
8
8
@media screen and (max-width : 900px ) {
9
+ .warpper-content {
10
+ grid-template-columns : minmax (0 , 3.5fr );
11
+ grid-template-areas : 'main' ;
12
+ }
9
13
.warpper-content .sidebar {
10
14
grid-template-areas : 'sidebar main' ;
11
- grid-template-columns : 180px minmax (0 , 38 rem );
15
+ grid-template-columns : 180px minmax (0 , 41 rem );
12
16
}
13
17
nav .tocs {
14
18
display : none;
15
19
}
16
20
}
17
21
18
22
@media screen and (max-width : 600px ) {
23
+ .warpper-content {
24
+ grid-template-columns : minmax (0 , 3.5fr );
25
+ grid-template-areas : 'main' ;
26
+ }
19
27
.warpper-content .sidebar {
20
28
grid-template-areas : 'main' ;
21
- grid-template-columns : minmax (0 , 38 rem );
29
+ grid-template-columns : minmax (0 , 41 rem );
22
30
}
23
31
nav .tocs ,
24
32
.sidebar-border {
25
33
display : none;
26
34
}
27
35
}
36
+
37
+ @media print {
38
+ .header ,
39
+ nav .tocs ,
40
+ section .article-footer ,
41
+ .sidebar-border ,
42
+ .previous ,
43
+ .footer ,
44
+ a .gototop {
45
+ display : none;
46
+ }
47
+ .warpper-content {
48
+ margin : 0 ;
49
+ padding : 0 ;
50
+ display : initial;
51
+ }
52
+ }
You can’t perform that action at this time.
0 commit comments