Skip to content

Commit 0d56265

Browse files
authored
Allow wider page content (nushell#1667)
* Allow wider page content * Fix page width and title of light theme
1 parent 8c74c13 commit 0d56265

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.vuepress/styles/index.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,22 @@ div[class*='language-'].line-numbers-mode .line-numbers {
5555
margin-right: 30px;
5656
}
5757
}
58+
59+
@media screen and (min-width: 1280px) {
60+
:root {
61+
--content-width: 960px;
62+
}
63+
}
64+
65+
@media screen and (min-width: 1440px) {
66+
:root {
67+
--content-width: 1060px;
68+
}
69+
}
70+
71+
:root,
72+
html[data-theme='light'] {
73+
h2.title a {
74+
color: #339966;
75+
}
76+
}

0 commit comments

Comments
 (0)