X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=90819a7e41f4a5ac0dcbe96d024451e81b6a669a;hb=277d06327a184eb1fb72ba46fd8a3194c9c37362;hp=b5d34f6cc1f4f1ef1460dc5283f845ce28733f1f;hpb=ee0162b0ee46d258908de998cfa220edb4074d96;p=shellwiki diff --git a/themes/default.css b/themes/default.css index b5d34f6..90819a7 100644 --- a/themes/default.css +++ b/themes/default.css @@ -20,8 +20,8 @@ footer { bottom: 0; } -header :last-child, -main :last-child { +header > :last-child, +main > :last-child { margin-bottom: 0; } @@ -51,14 +51,25 @@ main .pagemenu li { main .pagemenu li a { color: #FFF; } main article, -[id$="/[attachment]/"] main form.upload, -[id$="/[attachment]/"] main .attachment.list { +[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 === */ @@ -69,6 +80,11 @@ body.editor textarea { /* === 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;