X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=11c3daeda249b2e16ae6bf4f1e70326e492cce79;hb=610cff8ae624e3c81ea38efddf326aaed484703c;hp=baeeee6c793418fd98619dd7aab3b59fd7cd0493;hpb=ed4cab85e95f1eb70badbc3a22a493b5924d8e7e;p=shellwiki diff --git a/themes/default.css b/themes/default.css index baeeee6..11c3dae 100644 --- a/themes/default.css +++ b/themes/default.css @@ -5,6 +5,8 @@ body { width: 100%; min-height: 100%; padding-bottom: 6em; + background-color: #EEE; + font-size: 12pt; } header, footer { @@ -19,8 +21,8 @@ footer { bottom: 0; } -header :last-child, -main :last-child { +header > :last-child, +main > :last-child { margin-bottom: 0; } @@ -49,22 +51,46 @@ main .pagemenu li { } main .pagemenu li a { color: #FFF; } -main article { +main article, +[id$="/[attachment]"] main form.upload { margin: 1em; padding: .125em 1em 1em 1em; box-shadow: .25em .25em .75em; + background-color: #FFF; +} + +[id$="/[revision]"] main .revisions, +[id$="/[attachment]"] main .attachment.list { + margin: 1em; + padding: 1em 2em; +} +[id$="/[revision]"] main .revisions:before, +[id$="/[attachment]"] main .attachment.list:before { + content: ''; + position: absolute; + top: 0; bottom: 0; left: 0; right: 0; + background-color: #FFF; + box-shadow: .25em .25em .75em; } /* === Editor === */ -body.editor textarea { +body[id$="/[edit]"] textarea, +body[id$="/[newpage]"] textarea { width: 100%; - min-height: 20em; + min-height: 20em; min-height: 70vh; + font-family: monospace; + font-size: inherit; } /* === Attachments === */ +.attachment.list button[name=delete] { + font-size: .75em; + line-height: 1.25em; + margin-right: 1.25em; +} .attachment.list .size, .attachment.list .date { font-size: .875em; @@ -79,6 +105,11 @@ body.editor textarea { margin-right: 1em; } +.revisions li { margin: 1em 0; } +.revisions li span.hash, +.revisions li span.date { + margin-right: 1em; +} /* === Macros === */