Skip to content

Commit 8b54277

Browse files
authored
css: update site_modules.css
1 parent f0cf8bd commit 8b54277

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

css/site_modules.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,11 @@ pre, div.mw-geshi {
152152
overflow: auto;
153153
}
154154

155-
span.mw-geshi {
156-
white-space: nowrap
155+
/* 最小宽度 */
156+
@media (min-width: 51rem) {
157+
span.mw-geshi {
158+
white-space: nowrap
159+
}
157160
}
158161

159162
.mw-geshi a {
@@ -1659,11 +1662,19 @@ div#cpp-content-base {
16591662
}
16601663

16611664
div#content {
1662-
margin: auto;
16631665
position: static;
1666+
width: 100%;
1667+
}
1668+
1669+
/* 最小宽度 */
1670+
@media (min-width: 48.75rem) {
1671+
div#content {
1672+
margin: auto;
16641673
width: 48.75em;
1674+
}
16651675
}
16661676

1677+
16671678
html, body {
16681679
font-family: "DejaVu Sans", arial, sans-serif;
16691680
font-size: 1em;

0 commit comments

Comments
 (0)