Mercurial > moin-gugiel
changeset 2:9da7d4bfb09f
default styles from modern, colored links
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Fri, 16 May 2008 21:15:53 +0200 |
| parents | 444316e49fec |
| children | d8fc7e2c609b |
| files | css/print.css css/projection.css css/screen.css gugiel.py |
| diffstat | 4 files changed, 101 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/css/print.css Fri May 16 20:59:46 2008 +0200 +++ b/css/print.css Fri May 16 21:15:53 2008 +0200 @@ -1,1 +1,53 @@ -#header { display: none } +/* print.css - MoinMoin Default Styles + +Copyright (c) 2001, 2002, 2003 by Juergen Hermann +*/ + +/* content styles */ + +html { + font-family: Times, serif; + font-size: 12pt; +} + +body { + /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */ + margin: 1.5cm; +} + +a, a:visited, a.nonexistent, a.badinterwiki { + color: black; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.info a { + color: gray; +} + +pre { + font-size: 10pt; +} + +a.interwiki:before, a.badinterwiki:before { + content: attr(title) ":"; +} + +a.interwiki img, a.badinterwiki img { + display: none; +} + +.footnotes div { + width: 5em; + border-top: 1pt solid gray; +} + +/* user interface styles */ + +#header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation { + display: none; +} +
--- a/css/projection.css Fri May 16 20:59:46 2008 +0200 +++ b/css/projection.css Fri May 16 21:15:53 2008 +0200 @@ -0,0 +1,33 @@ +/* projection.css - MoinMoin Slide Styles + +Copyright (c) 2003 by Juergen Hermann +*/ + +@import url(screen.css); + +html { line-height: 1.8em; } + +body, b, em, a, span, div, p, td { font-size: 18pt; } + +h1 { font-size: 26pt; } +h2 { font-size: 22pt; } +h3 { font-size: 20pt; } +h4 { font-size: 18pt; } +h5 { font-size: 16pt; } +h6 { font-size: 14pt; } + +tt, pre { font-size: 16pt; } +sup, sub { font-size: 12pt; } + +table.navigation { + float: right; + margin: 2px; +} + +.navigation td, .navigation a { + font-size: 10pt; + padding: 2px; +} + +#interwiki, #pagelocation, #pageinfo { display: none; } +
--- a/css/screen.css Fri May 16 20:59:46 2008 +0200 +++ b/css/screen.css Fri May 16 21:15:53 2008 +0200 @@ -6,14 +6,14 @@ line-height: 1.3; } a { - color: #f57900; + color: #3465a4; text-decoration: underline; } a:visited { - color: #ce5c00; + color: #6b1c77; } a.nonexistent { - color: #666; + color: #cc0000; } a img { border: none } @@ -48,6 +48,10 @@ -moz-border-radius-topleft: 0.33em; -moz-border-radius-topright: 0.33em; } +#navibar li.userlink { + background: #ffffcc; + border: 1px solid #aaaa79; +} #navibar li.current { background: #bbe555; border: 1px solid #6e9b43; @@ -60,6 +64,9 @@ font-size: 80%; font-weight: bold; } +#navibar li a.nonexistent { + color: #cc0000; +} h1#locationline { margin: 0; font-size: 100%; @@ -109,7 +116,7 @@ text-align: right; font-size: 80%; margin: 0; - color: #999; + color: #666; } #message { @@ -124,4 +131,6 @@ #message p { margin: 0; } - +#header { + margin-bottom: 1.5em; +}
--- a/gugiel.py Fri May 16 20:59:46 2008 +0200 +++ b/gugiel.py Fri May 16 21:15:53 2008 +0200 @@ -27,7 +27,6 @@ # Header u'<div id="header">', - self.trail(d), u'<div id="utils">', self.username(d), self.searchform(d), @@ -37,6 +36,7 @@ #u'<hr id="pageline">', u'<div id="pageline"><hr style="display:none;"></div>', self.editbar(d), + self.trail(d), self.interwiki(d), self.title(d), self.msg(d),
