Difference between revisions of "Template:Video/styles.css"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.video { | .video { | ||
− | max-width: | + | display: inline-block; |
+ | width: 640px; | ||
+ | max-width: 100%; | ||
} | } | ||
.video-data { | .video-data { | ||
Line 14: | Line 16: | ||
.video-annotation-time { | .video-annotation-time { | ||
margin-right: 1em; | margin-right: 1em; | ||
+ | } | ||
+ | .video .thumb { | ||
+ | background: none; | ||
+ | border: none; | ||
+ | margin: 0; | ||
} | } | ||
Latest revision as of 17:18, 2 December 2020
.video {
display: inline-block;
width: 640px;
max-width: 100%;
}
.video-data {
background: #f9f9f9;
padding: 1em;
}
.video-title {
font-size: large;
}
.video-annotations {
margin-top: 1em;
}
.video-annotation-time {
margin-right: 1em;
}
.video .thumb {
background: none;
border: none;
margin: 0;
}
@media screen and (max-width:640px) {
.video {
clear: right;
}
}
/**
* Visual editor fix/hack
*/
.video.ve-ce-leafNode {
background: black;
display: inline-block;
}