X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=d60f08735a8d5b385069b2482d6a0551f8c765d1;hb=2ad6da3df5555069e13d2c5c6f39b5d3a4d8071d;hp=7ef7fb3acb00ee126033991a211354b905581950;hpb=01767994524bd3fab0e1680403bde4240732449d;p=shellwiki diff --git a/themes/default.css b/themes/default.css index 7ef7fb3..d60f087 100644 --- a/themes/default.css +++ b/themes/default.css @@ -111,14 +111,47 @@ main pre { /* === Editor === */ -body[id$="/[edit]"] textarea, -body[id$="/[newpage]"] textarea { +[id$="/[edit]"] main .pagemenu { + margin-bottom: 1em; +} + +.tab[name=edithelp] ~ .tab.editor textarea, +.tab[name=edithelp] ~ .tab.syntax, +.tab[name=edithelp] ~ .tab.attach, +.tab[name=edithelp] ~ .tab.transl { + background-color: #FFF; + min-height: 20em; min-height: 50vh; +} + +.tab[name=edithelp] ~ .tab.editor textarea { width: 100%; - min-height: 20em; min-height: 70vh; font-family: monospace; font-size: inherit; } +.tab[name=edithelp] ~ .tab.attach { + padding-top: 1em; + padding-left: 7em; +} +.tab[name=edithelp] ~ .tab.attach .aimg img { + float: left; + max-height: 4em; + margin-left: -6em; +} + +.tab[name=edithelp] ~ .tab.transl { + font-family: monospace; + white-space: pre; +} + +.tab[name=edithelp]#editor:checked ~ .tab.editor, +.tab[name=edithelp]#syntax:checked ~ .tab.syntax, +.tab[name=edithelp]#attach:checked ~ .tab.attach, +.tab[name=edithelp]#transl:checked ~ .tab.transl { + display: block; +} + + /* === Attachments === */ .attachment.list button[name=delete] { @@ -146,6 +179,18 @@ body[id$="/[newpage]"] textarea { margin-right: 1em; } +.revisions .diff span { + font-family: monospace; + display: block; + white-space: pre; + line-height: 1.375em; +} +.revisions .diff span.linenum { color: #D60; } +.revisions .diff span.linedel { color: #A00; } +.revisions .diff span.lineadd { color: #0A0; } +.revisions .diff span.linenote { color: #AAA; } + + [id$="/[attachment]"] input[type=radio].tab ~ div.tab { display: block; padding-top: 1em; @@ -204,13 +249,31 @@ body[id$="/[newpage]"] textarea { .macro.toc li.h5 { margin-left: 5em; } .macro.toc li.h6 { margin-left: 6.25em; } + .macro.gallery { text-align: center; margin: 2em 0; padding: .5em .125em; background-color: #444; + clear: both; } .macro.gallery img { max-height: 9em; margin: 0 .25em; } + + +.macro.changes td .date { + display: block; + font-size: .75em; +} +.macro.changes td.outdated, +.macro.changes td.current, +.macro.changes td.missing { + text-align: center; +} +.macro.changes th { background-color: #EEF; } +.macro.changes td { background-color: #DFF; } +.macro.changes td.outdated { background-color: #FFD; } +.macro.changes td.current { background-color: #DFD; } +.macro.changes td.missing { background-color: #FDD; }