mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Add template for articles with sound files
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
/* change background */
|
||||
.article-content {
|
||||
background-color: var(--mdc-theme-background);
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* hide empty black bar if there is no content to the article */
|
||||
@@ -32,6 +32,11 @@
|
||||
padding: 150px 15px;
|
||||
}
|
||||
|
||||
/* audio */
|
||||
.article-content audio {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* adjust video dimensions depending on screen size */
|
||||
iframe {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user