mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-11 05:22:43 +02:00
fix bugs from https://github.com/loikein/hugo-tufte/issues/6
This commit is contained in:
parent
8049030489
commit
2ba3e7fb75
2 changed files with 15 additions and 9 deletions
assets/scss/vendor
22
assets/scss/vendor/tufte.scss
vendored
22
assets/scss/vendor/tufte.scss
vendored
|
@ -409,18 +409,22 @@ label.marginnote-ind {
|
|||
display: none;
|
||||
}
|
||||
|
||||
iframe.video {
|
||||
width: 55%;
|
||||
margin-top: 1.4em;
|
||||
margin-bottom: 1.4em;
|
||||
.video-container {
|
||||
width: 100%;
|
||||
margin-top: 1.4rem;
|
||||
margin-bottom: 1.4rem;
|
||||
}
|
||||
|
||||
iframe.video--16x9 {
|
||||
aspect-ratio: 16/9;
|
||||
.video {
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
iframe.video--4x3 {
|
||||
aspect-ratio: 4/3;
|
||||
.video--16x9 {
|
||||
aspect-ratio: 16/9;
|
||||
}
|
||||
|
||||
.video--4x3 {
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
|
@ -469,7 +473,7 @@ iframe.video--4x3 {
|
|||
img {
|
||||
width: 100%;
|
||||
}
|
||||
iframe.video {
|
||||
.video {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue