Vier: Added treatment of videos like links. (See the changes in the "parse url" section)
This commit is contained in:
parent
5f3d584716
commit
73f0496127
1 changed files with 10 additions and 9 deletions
|
@ -1210,19 +1210,20 @@ section.minimal {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-link {
|
.type-link, .type-video {
|
||||||
border-top: 1px solid #D2D2D2;
|
border-top: 1px solid #D2D2D2;
|
||||||
border-bottom: 1px solid #D2D2D2;
|
border-bottom: 1px solid #D2D2D2;
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
margin-top: 10px;
|
||||||
/*
|
/*
|
||||||
padding-left: 170px;
|
padding-left: 170px;
|
||||||
min-height: 90px;
|
min-height: 90px;
|
||||||
position: relative;
|
position: relative;
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
.type-link:after {
|
.type-link:after, .type-video:after {
|
||||||
content: ".";
|
content: ".";
|
||||||
display: block;
|
display: block;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
@ -1230,13 +1231,13 @@ position: relative;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
.wall-item-container .wall-item-content .type-link img,
|
.wall-item-container .wall-item-content .type-link img,
|
||||||
.type-link img {
|
.type-link img, .type-video img {
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
max-height: 160px;
|
max-height: 160px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.type-link blockquote {
|
.type-link blockquote, .type-video blockquote {
|
||||||
/* margin-left: 160px; */
|
/* margin-left: 160px; */
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
max-height: 160px;
|
max-height: 160px;
|
||||||
|
@ -1244,17 +1245,17 @@ position: relative;
|
||||||
border-left: 0px;
|
border-left: 0px;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
.type-link .oembed {
|
.type-link .oembed, .type-video .oembed {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
.type-link img {
|
.type-link img, .type-video img {
|
||||||
/* position: absolute;
|
/* position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0; */
|
top: 0; */
|
||||||
}
|
}
|
||||||
.type-link span.oembed + br,
|
.type-link span.oembed + br, .type-video span.oembed + br,
|
||||||
.type-link a + br,
|
.type-link a + br, .type-video a + br,
|
||||||
.type-link img + br{
|
.type-link img + br, .type-video img + br{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue