Ensure iframes (which include PDF previews) aren't ridiculously short
and create a new Content styles section while we're at it.
This commit is contained in:
parent
41457c3a00
commit
d2c6f994ca
2 changed files with 11 additions and 0 deletions
10
web/themes/custom/geofresco/src/global/_content.scss
Normal file
10
web/themes/custom/geofresco/src/global/_content.scss
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/**
|
||||||
|
* Styles related to contributor-added content on the site, such as embedded
|
||||||
|
* media.
|
||||||
|
*/
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
min-height: 36vw;
|
||||||
|
}
|
|
@ -44,6 +44,7 @@ $navbar-breakpoint: $mini/2;
|
||||||
@import "layout";
|
@import "layout";
|
||||||
|
|
||||||
// Stylesheets below will have access to all Bulma variables and mixins.
|
// Stylesheets below will have access to all Bulma variables and mixins.
|
||||||
|
@import "content";
|
||||||
@import "paint";
|
@import "paint";
|
||||||
|
|
||||||
// @import '../../node_modules/bulma-extensions/bulma-timeline/dist/bulma-timeline';
|
// @import '../../node_modules/bulma-extensions/bulma-timeline/dist/bulma-timeline';
|
||||||
|
|
Loading…
Add table
Reference in a new issue