Skip to content

Commit 1c94f80

Browse files
v1.0.0 fix: fix typo (#11) c068531
1 parent ef467f1 commit 1c94f80

File tree

5 files changed

+78
-31
lines changed

5 files changed

+78
-31
lines changed

CONTRIBUTORS.svg

Lines changed: 4 additions & 2 deletions
Loading

css/main.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ a.gototop {
110110
z-index: 9999;
111111
color: var(--color-theme-bg);
112112
font-size: 10px;
113-
opacity: 0.5;
113+
opacity: 0;
114114
transition: all 0.3s;
115115
}
116116
a.gototop:hover {
@@ -141,8 +141,17 @@ a.gototop:hover {
141141
color: var(--color-theme-text);
142142
align-items: center;
143143
}
144+
.header .logo:hover {
145+
text-decoration: none;
146+
}
144147
.header .logo .title {
145148
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);
146155
}
147156
.header .logo img,
148157
.header .logo svg {
@@ -162,6 +171,10 @@ a.gototop:hover {
162171
list-style: none;
163172
padding-right: 10px;
164173
}
174+
.header .menu li {
175+
display: flex;
176+
align-items: center;
177+
}
165178
.header a {
166179
color: var(--color-theme-text);
167180
font-weight: bold;

css/media.css

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,47 @@
66
}
77

88
@media screen and (max-width: 900px) {
9+
.warpper-content {
10+
grid-template-columns: minmax(0, 3.5fr);
11+
grid-template-areas: 'main';
12+
}
913
.warpper-content.sidebar {
1014
grid-template-areas: 'sidebar main';
11-
grid-template-columns: 180px minmax(0, 38rem);
15+
grid-template-columns: 180px minmax(0, 41rem);
1216
}
1317
nav.tocs {
1418
display: none;
1519
}
1620
}
1721

1822
@media screen and (max-width: 600px) {
23+
.warpper-content {
24+
grid-template-columns: minmax(0, 3.5fr);
25+
grid-template-areas: 'main';
26+
}
1927
.warpper-content.sidebar {
2028
grid-template-areas: 'main';
21-
grid-template-columns: minmax(0, 38rem);
29+
grid-template-columns: minmax(0, 41rem);
2230
}
2331
nav.tocs,
2432
.sidebar-border {
2533
display: none;
2634
}
2735
}
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+
}

0 commit comments

Comments
 (0)