Override mandoc styling without modifying the stylesheet

This commit is contained in:
ISSOtm
2020-03-24 10:18:38 +01:00
parent e308130e23
commit 3c304f3acf
3 changed files with 14 additions and 14 deletions

View File

@@ -10,10 +10,7 @@
/* Global defaults. */
/* This is handled in `rgbds.css` instead
*
* html { max-width: 65em; }
*/
html { max-width: 65em; }
body { font-family: Helvetica,Arial,sans-serif; }
table { margin-top: 0em;
margin-bottom: 0em;

View File

@@ -4,18 +4,21 @@ html {
/* Reduce contrast */
background-color: #f8f8f8;
color: #222;
/* Override `mandoc.css`'s sowe can put it on <body> instead */
max-width: none;
}
body {
/* Improve readability */
font-size: 16px;
line-height: 1.4;
text-align: justify;
/* Center body horizontally (requires <html> to span full width) */
margin: 0 auto;
/* `mandoc.css`'s default, but it's applied to <html> there */
max-width: 65em;
/* Improve readability */
font-size: 16px;
line-height: 1.4;
text-align: justify;
}
@media print {
body {