@evidentpoint/readium-css
Version:
A set of reference stylesheets for EPUB Reading Systems
82 lines (74 loc) • 2.1 kB
CSS
:-webkit-full-screen {
background-color: white;
z-index: 2147483647 ;
}
:root:-webkit-full-screen-ancestor {
overflow: hidden ;
}
:-webkit-full-screen-ancestor:not(iframe) {
z-index: auto ;
position: static ;
opacity: 1 ;
transform: none ;
-webkit-mask: none ;
clip: none ;
-webkit-filter: none ;
transition: none ;
-webkit-box-reflect: none ;
-webkit-perspective: none ;
-webkit-transform-style: flat ;
will-change: auto ;
}
video:-webkit-full-screen, audio:-webkit-full-screen {
background-color: transparent ;
position: relative ;
left: 0 ;
top: 0 ! important;
margin: 0 ;
min-width: 0 ;
max-width: none ;
min-height: 0 ;
max-height: none ;
width: 100% ;
height: 100% ;
flex: 1 ;
display: block ;
transform: none ;
}
img:-webkit-full-screen {
width: auto;
height: 100%;
max-width: 100%;
}
iframe:-webkit-full-screen {
margin: 0 ;
padding: 0 ;
border: 0 ;
position: fixed ;
min-width: 0 ;
max-width: none ;
min-height: 0 ;
max-height: none ;
width: 100% ;
height: 100% ;
left: 0 ;
top: 0 ;
}
:-webkit-full-screen:-internal-video-persistent-ancestor :not(:-internal-video-persistent-ancestor) {
display: none ;
}
:-internal-video-persistent {
position: fixed ;
left: 0 ;
top: 0 ;
margin: 0 ;
min-width: 0 ;
max-width: none ;
min-height: 0 ;
max-height: none ;
width: 100% ;
height: 100% ;
transform: none ;
background-color: black ;
z-index: 2147483647 ;
}