mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-11-01 17:03:53 +00:00
Add article
This commit is contained in:
1 parent
cabdef9702
commit
79b8c5a541
29 files changed
+881
-10
No files matched your search
@@ -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