Vier: Added treatment of videos like links. (See the changes in the "parse url" section)

This commit is contained in:
Michael Vogel 2014-04-04 11:03:34 +02:00
parent 5f3d584716
commit 73f0496127

View file

@ -1210,19 +1210,20 @@ section.minimal {
font-size: 12px;
}
.type-link {
.type-link, .type-video {
border-top: 1px solid #D2D2D2;
border-bottom: 1px solid #D2D2D2;
display: block;
padding-top: 5px;
padding-bottom: 5px;
margin-top: 10px;
/*
padding-left: 170px;
min-height: 90px;
position: relative;
*/
}
.type-link:after {
.type-link:after, .type-video:after {
content: ".";
display: block;
height: 0;
@ -1230,13 +1231,13 @@ position: relative;
visibility: hidden;
}
.wall-item-container .wall-item-content .type-link img,
.type-link img {
.type-link img, .type-video img {
max-width: 160px;
max-height: 160px;
float: left;
margin-right: 10px;
}
.type-link blockquote {
.type-link blockquote, .type-video blockquote {
/* margin-left: 160px; */
margin-left: 0px;
max-height: 160px;
@ -1244,17 +1245,17 @@ position: relative;
border-left: 0px;
padding-left: 0px;
}
.type-link .oembed {
.type-link .oembed, .type-video .oembed {
font-size: inherit;
}
.type-link img {
.type-link img, .type-video img {
/* position: absolute;
left: 0;
top: 0; */
}
.type-link span.oembed + br,
.type-link a + br,
.type-link img + br{
.type-link span.oembed + br, .type-video span.oembed + br,
.type-link a + br, .type-video a + br,
.type-link img + br, .type-video img + br{
display: none;
}