Index: modern-CentOS/css/print.css =================================================================== --- modern-CentOS/css/print.css (revision 160) +++ modern-CentOS/css/print.css (revision 261) @@ -6,8 +6,9 @@ /* content styles */ html { - font-family: Times, serif; - font-size: 12pt; + font-family: "DejaVu Sans", "Liberation Sans", Times, serif; + font-size: 11pt; + text-align: justify; } body { @@ -28,10 +29,19 @@ color: gray; } -pre { +#page pre { + font-family: "DejaVu Sans Mono", "Liberation Mono", monospace; + padding:0.5em 1em; + border-left: 3px solid #414141; + white-space: pre; font-size: 10pt; } +#page tt { + font-family: "DejaVu Sans Mono", "Liberation Mono", monospace; + white-space: pre; +} + a.interwiki:before, a.badinterwiki:before { content: attr(title) ":"; } @@ -51,3 +61,126 @@ display: none; } +/* Messages style on printing view */ + +#dmimg, #dmtxt, #mmimg, #mmtxt, #lmimg, #lmtxt { + border: none; + border-top: 1px solid #000; + border-bottom: 1px solid #000; + background: #414141 url("../img/moin-msg-bg-0-gray.png"); + color: #fff; + padding: 1em; +} + +#dmimg,#mmimg,#lmimg { padding-right:0; width:1%; } +#dmtxt,#mmtxt,#lmtxt { padding-left: 0.5em; width:99%; } + +/* Because the high contrast we need to fix link presentation here */ +#lmtxt a:link { text-decoration: none; color: #74e9ff; } +#lmtxt a:link:hover, a:link:active { text-decoration: underline; color: #74ff8c; } +#lmtxt a:visited { text-decoration: none; color: #74e9ff; } +#lmtxt a:visited:hover { text-decoration: underline; color:#74ff8c; } +#lmtxt a.nonexistent, a.badinterwiki {color: #a7a7a7;} + +#mmtxt a:link { text-decoration: none; color: #74e9ff; } +#mmtxt a:link:hover, a:link:active { text-decoration: underline; color: #74ff8c; } +#mmtxt a:visited { text-decoration: none; color: #74e9ff; } +#mmtxt a:visited:hover { text-decoration: underline; color:#74ff8c; } +#mmtxt a.nonexistent, a.badinterwiki {color: #a7a7a7;} + +#dmtxt a:link { text-decoration: none; color: #74e9ff; } +#dmtxt a:link:hover, a:link:active { text-decoration: underline; color: #74ff8c; } +#dmtxt a:visited { text-decoration: none; color: #74e9ff; } +#dmtxt a:visited:hover { text-decoration: underline; color:#74ff8c; } +#dmtxt a.nonexistent, a.badinterwiki {color: #a7a7a7;} + +/* Various */ + +#page td > p {margin: 0.5em !important; } + +td { border: 1pt solid #ccc; } + +/* List Presentation */ + +#page ul, +#page ol { + padding-left: 0.5em; + margin-left: 3em; + margin-bottom: 0.3em; +} + +/*#page ul { list-style: url(../img/moin-ul.png) circle; } */ + +#page ol { + list-style-image: none !important; +} + +#page ul li { + padding-left: 0em; + margin-bottom: 0.3em; +} + +#page ol li { + padding-left: 0em; + margin-bottom: 0.3em; +} + +#page ul ul, +#page ul ol, +#page ol ul, +#page ol ol { + margin-left: 1.5em; + margin-top: 0.3em; +} + +#page ul li p, +#page ol li p { + margin-bottom: 0.3em; + line-height: 1.5em; + margin-left: 0 !important; +} + +/* Headings */ +#page h1 { + line-height: 1.9em; + margin-top:0.9em; +} + +#page h2 { + line-height: 1.8em; + margin-top: 0.8em; +} + +/* h2 emulation */ + +#page .table-of-contents-heading { + line-height: 1.8em; + margin: 0; + margin-bottom: 10px; +} + +#page h3 { + line-height: 1.6em; + margin-top:0.5em; +} + +#page h4 { + line-height: 1.4em; + margin-top: 0.5em; +} + +#page h5 { + line-height: 1.1em; + margin-top:0.5em; +} + +#page h6 { + line-height: 1.1em; + margin-top:0.5em; +} + +/* Table Of Contents */ +.table-of-contents { + border: none; + background: none; +} Index: modern-CentOS/css/screen.css =================================================================== --- modern-CentOS/css/screen.css (revision 160) +++ modern-CentOS/css/screen.css (revision 261) @@ -87,7 +87,6 @@ } #username { - float: right; padding: 0px; margin: 0.4em; text-align: right; @@ -95,7 +94,9 @@ white-space: nowrap; } -#username a {color: #ffffff;} +#username a { text-decoration:none; color: #eee;} +#username a:visited { text-decoration: none; color:#fff; } +#username a:hover,active { text-decoration: underline; color:#eee; } *[dir="rtl"] #username { text-align: left; @@ -169,14 +170,10 @@ } #pagetrail { - display: block; - margin:0; - margin-top: 25px; - margin-left: 300px; - margin-right:0.4em; - margin-bottom:0.4em; + margin:0.4em; padding:0; - font-size: 0.88em; + padding-left: 290px; + font-size: 0.82em; } *[dir="rtl"] #pagetrail { @@ -227,8 +224,9 @@ color: #EEEEEE; } -#pagetrail a{ color: #EEEEEE; text-decoration: none; } -#pagetrail a:hover, a:active { text-decoration: underline; } +#pagetrail a { color: #eee; text-decoration: none; } +#pagetrail a:visited { text-decoration: none; color:#eee; } +#pagetrail a:hover,active { text-decoration: underline; color:#fff; } /* XXX Warning: non-ascii characters! */ #pagetrail li:after {