Skip to content

Commit c379243

Browse files
committed
Change CSS so the content is centered on the page.
This might be a matter of taste, but I think it's far easier to read when the content is centered. Also, it's centered on cppreference.com as well.
1 parent 21425a1 commit c379243

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

preprocess-css.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ div#cpp-content-base {
88
}
99

1010
div#content {
11-
margin: 0;
11+
margin: auto;
1212
position: static;
1313
width: 48.75em;
1414
}
@@ -20,6 +20,7 @@ html, body {
2020

2121
.t-navbar {
2222
height: 1.72em;
23+
left: auto;
2324
}
2425

2526
tt,

0 commit comments

Comments
 (0)