forked from GNUsocial/gnu-social
Attachment styling
This commit is contained in:
parent
4314a286e3
commit
1d791f81fa
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user