]> git.plutz.net Git - shellwiki/commitdiff
box styling for attachment page
authorPaul Hänsch <paul@plutz.net>
Thu, 21 Apr 2022 13:05:32 +0000 (15:05 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 21 Apr 2022 13:05:32 +0000 (15:05 +0200)
themes/default.css

index b5d34f6cc1f4f1ef1460dc5283f845ce28733f1f..d038d5ba8e984500e635039e4f05f0eefaf1da69 100644 (file)
@@ -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 === */