mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Add article
This commit is contained in:
@@ -37,19 +37,24 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* adjust video dimensions depending on screen size */
|
||||
/* video/podcast */
|
||||
iframe {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* adjust video dimensions depending on screen size */
|
||||
.video {
|
||||
height: calc(68.8vw / 16 * 9);
|
||||
}
|
||||
@media screen and (max-width: 1550px) {
|
||||
iframe {
|
||||
.video {
|
||||
width: 100%;
|
||||
height: calc(70vw / 16 * 9 - 6px);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
iframe {
|
||||
.video {
|
||||
height: calc(90vw / 16 * 9 - 5px);
|
||||
}
|
||||
.mdc-typography--headline3, .mdc-typography--headline5 {
|
||||
@@ -64,7 +69,7 @@ iframe {
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 600px) {
|
||||
iframe {
|
||||
.video {
|
||||
height: calc(93.5vw / 16 * 9);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user