X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=9b8cc75c95c774af9833b958f9d687303ff9413b;hb=c26134e76eb55e821d1b4340814b9b09c57e494d;hp=0c5dffb9845e89de48f840636775fafc7c5d9c7b;hpb=5f0ce9f567afab5c48a592fbdb7bd0cd182cb3f9;p=shellwiki diff --git a/themes/default.css b/themes/default.css index 0c5dffb..9b8cc75 100644 --- a/themes/default.css +++ b/themes/default.css @@ -6,6 +6,7 @@ body { min-height: 100%; padding-bottom: 6em; background-color: #EEE; + font-size: 12pt; } header, footer { @@ -20,8 +21,8 @@ footer { bottom: 0; } -header :last-child, -main :last-child { +header > :last-child, +main > :last-child { margin-bottom: 0; } @@ -50,23 +51,43 @@ 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$="/[attachment]/"] main .attachment.list { + margin: 1em; + padding: 1em 2em; +} +[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 { 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;