Attachment styling

This commit is contained in:
Mikael Nordfeldth 2016-08-21 09:25:45 +02:00
parent 4314a286e3
commit 1d791f81fa
2 changed files with 10 additions and 6 deletions

View File

@ -2,7 +2,6 @@
float: left; float: left;
margin-bottom: 1ex; margin-bottom: 1ex;
margin-right: 1em; margin-right: 1em;
padding-bottom: 1ex;
} }
.p-author.oembed { .p-author.oembed {

View File

@ -812,24 +812,29 @@ position:static;
.notice.h-entry .attachments { .notice.h-entry .attachments {
position: relative; position: relative;
margin-bottom: 1em; margin-bottom: 1em;
list-style-type: none;
} }
.notice.h-entry .attachments > * { .notice.h-entry .attachments > li {
clear: both; 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 > * { .notice.h-entry .attachments .inline-attachment > * {
height: auto; height: auto;
max-width: 100%; max-width: 100%;
} }
.notice.h-entry .attachments .inline-attachment > a { .notice.h-entry .attachments .inline-attachment > label {
font-size: 0.8em; font-size: 0.8em;
line-height: 16px; line-height: 16px;
height: 16px; height: 16px;
} }
.notice.h-entry .attachments .inline-attachment > img {
display: block;
}
#attachments { #attachments {
clear:both; clear:both;