Mitigate white flasheq
This commit is contained in:
parent
f3036ec2c3
commit
c84c2a3be8
|
@ -3,7 +3,23 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:not(.kcBodyClass) {
|
/* Following styles are just meant to avoid white flash when switching from one story to another */
|
||||||
background-color: #393939;
|
@keyframes fadeToTransparent {
|
||||||
|
from {
|
||||||
|
background-color: #393939;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
html {
|
||||||
|
animation: fadeToTransparent 500ms forwards ease-in;
|
||||||
|
}
|
||||||
|
body>.sb-preparing-docs {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
body>.sb-preparing-story {
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in a new issue