From: Mikael Nordfeldth Date: Sun, 21 Aug 2016 07:25:45 +0000 (+0200) Subject: Attachment styling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d791f81fa59746b074d33a94a56434cb5b0c4e9;p=quix0rs-gnu-social.git Attachment styling --- diff --git a/plugins/Oembed/css/oembed.css b/plugins/Oembed/css/oembed.css index 68227e5dab..9750f02779 100644 --- a/plugins/Oembed/css/oembed.css +++ b/plugins/Oembed/css/oembed.css @@ -2,7 +2,6 @@ float: left; margin-bottom: 1ex; margin-right: 1em; - padding-bottom: 1ex; } .p-author.oembed { diff --git a/theme/base/css/display.css b/theme/base/css/display.css index e87e87fbf8..14200ac60a 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -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;