mirror of
https://gh.llkk.cc/https://github.com/h5p/moodle-mod_hvp.git
synced 2026-03-04 13:36:41 +08:00
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.
33 lines
No EOL
568 B
CSS
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;
|
|
} |