Skip to content

Commit 9ecb674

Browse files
committed
Fix page width and title of light theme
1 parent 9877eb6 commit 9ecb674

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.vuepress/styles/index.scss

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,21 @@ div[class*='language-'].line-numbers-mode .line-numbers {
5656
}
5757
}
5858

59-
@media (min-width: 1440px) {
59+
@media screen and (min-width: 1280px) {
60+
:root {
61+
--content-width: 960px;
62+
}
63+
}
64+
65+
@media screen and (min-width: 1440px) {
6066
:root {
6167
--content-width: 1060px;
6268
}
6369
}
70+
71+
:root,
72+
html[data-theme='light'] {
73+
h2.title a {
74+
color: #339966;
75+
}
76+
}

0 commit comments

Comments
 (0)