Better support for the video element

This commit is contained in:
John O'Nolan 2017-07-27 11:15:19 +04:00
parent 3993cbdcfa
commit cd4e0e03f5
3 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -696,13 +696,15 @@ The first (most recent) post in the list is styled to be bigger than the others
margin-top: 0;
}
.post-full-content img {
.post-full-content img,
.post-full-content video {
display: block;
margin: 1.5em auto;
max-width: 1040px;
}
@media (max-width: 1040px) {
.post-full-content img {
.post-full-content img,
.post-full-content video {
width: 100%;
}
}