pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/templates templates: add maximum width



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfe26c11bb80
branches:  trunk
changeset: 449967:cfe26c11bb80
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Apr 08 12:03:43 2021 +0000

description:
templates: add maximum width

diffstat:

 templates/main.css |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 08ac13917428 -r cfe26c11bb80 templates/main.css
--- a/templates/main.css        Thu Apr 08 11:37:36 2021 +0000
+++ b/templates/main.css        Thu Apr 08 12:03:43 2021 +0000
@@ -1,15 +1,21 @@
-/* $NetBSD: main.css,v 1.9 2021/04/05 10:30:04 nia Exp $ */
+/* $NetBSD: main.css,v 1.10 2021/04/08 12:03:43 nia Exp $ */
 
 body {
        font-family: sans-serif;
        background-color: #fff;
        color: #000;
+       max-width: 1100px;
+       margin: auto;
 }
 
 body, pre, code, samp {
        font-size: 16px;
 }
 
+pre {
+       overflow-x: scroll;
+}
+
 h1 {
        font-size: 160%;
 }



Home | Main Index | Thread Index | Old Index