moodle-mod_hvp/embed.css
thomasmars 6d68ee90fb HFP-1889 Fix embed always forcing 'div' embed type.
Add communicator to dispatch resizing events between iFrames.
Remove elements that were not relevant in the body of the page.
Remove overflowing scroll from body when resizing script is present.
2018-05-25 17:38:10 +02:00

33 lines
No EOL
568 B
CSS

body.h5p-embed {
font-family: Sans-Serif;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body.h5p-embed.h5p-resizing {
overflow: hidden;
}
body.h5p-embed .h5p-container {
overflow: hidden;
}
body.h5p-embed .h5p-content {
font-size: 16px;
line-height: 1.5em;
width: 100%;
height: auto;
}
body.h5p-embed .h5p-fullscreen .h5p-content,
body.h5p-embed .h5p-semi-fullscreen .h5p-content {
height: 100%;
}
body.h5p-embed .clearer,
body.h5p-embed #maincontent,
body.h5p-embed #user-notifications {
display: none;
}