]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Attachment styling
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 21 Aug 2016 07:25:45 +0000 (09:25 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 21 Aug 2016 07:31:26 +0000 (09:31 +0200)
plugins/Oembed/css/oembed.css
theme/base/css/display.css

index 68227e5dab7f7816aeb5120f07c147e37e131e3e..9750f0277967663ecdfa5a069547287ebedd7878 100644 (file)
@@ -2,7 +2,6 @@
     float: left;
     margin-bottom: 1ex;
     margin-right: 1em;
-    padding-bottom: 1ex;
 }
 
 .p-author.oembed {
index e87e87fbf80d82a091abc7092650143f31edef21..14200ac60a4488f598c19b1b829e8797452d8686 100644 (file)
@@ -812,24 +812,29 @@ position:static;
 .notice.h-entry .attachments {
     position: relative;
     margin-bottom: 1em;
+    list-style-type: none;
 }
 
-.notice.h-entry .attachments > * {
+.notice.h-entry .attachments > li {
     clear: both;
+    background-color: #f9f9f9;
+    border: 1px lightgrey solid;
+    margin-bottom: 1ex;
+    padding: 1ex 1ex 0 1ex;
+    overflow: auto;
+    text-align: center;
+    position: relative;
 }
 
 .notice.h-entry .attachments .inline-attachment > * {
     height: auto;
     max-width: 100%;
 }
-.notice.h-entry .attachments .inline-attachment > a {
+.notice.h-entry .attachments .inline-attachment > label {
     font-size: 0.8em;
     line-height: 16px;
     height: 16px;
 }
-.notice.h-entry .attachments .inline-attachment > img {
-    display: block;
-}
 
 #attachments {
 clear:both;