UNPKG

vizchange-animation-story

Version:

beta testing story tool for vizchange.net

87 lines (77 loc) 2.17 kB
.margin { background: #ffffff; border-style: solid; border-color: #111111; position: fixed; z-index: 30000; } .corner { border-width: 0; z-index: 30010!important; } .bottom { border-width: 0.2vh 0 0 0; width: calc(960px); height: calc(100 * var(--vh) - var(--max-height) - var(--margin-top-height)); min-height: calc(100 * var(--vh) - var(--max-height) - var(--margin-top-height)); bottom: 0; left: calc(var(--left-margin) + 3 * var(--vw)); } .right-side { border-width: 0 0 0 0.2vw; background-blend-mode: darken, luminosity; width: 100%; height: 100vw; max-height: calc(100% - (100% - var(--max-height))); bottom: var(--right-side-bottom); left: calc(960px + calc(var(--left-margin) - 3 * var(--vw))); top: var(--margin-top-height); } .bottom-right { border-color: #eeeeee; width: 100%; height: calc(100% - var(--max-height) - var(--margin-top-height)); bottom: 0; left: calc(960px + calc(var(--left-margin) - 3 * var(--vw))); } .left-side { border-width: 0 0.2vw 0 0; background-blend-mode: darken, luminosity; width: calc(var(--left-margin) + 3 * var(--vw)); height: 100vw; max-height: calc(100vh - (100vh - var(--max-height))); bottom: calc(100* var(--vh) - var(--max-height)); left: 0; top: var(--margin-top-height); } .bottom-left { width: calc(var(--left-margin) + 3 * var(--vw)); height: calc(100 * var(--vh) - var(--max-height) - var(--margin-top-height)); bottom: 0; left: 0; } .top-right { top: 0; left: calc(960px + calc(var(--left-margin) - 3 * var(--vw))); height: var(--margin-top-height); width: 100%; } .top-left { height: var(--margin-top-height); width: calc(var(--left-margin-not-zero) + 3 * var(--vw)); top: 0; } .top { border-width: 0 0 0.2vw 0; height: var(--margin-top-height); width: calc(960px - 6 * var(--vw)); max-width: calc(100 * var(--vw)); top: 0; left: calc(var(--left-margin-not-zero) + 3 * var(--vw)); } /* .top:active { height: 540px; transition: width 2s, height 2s, background-color 2s, transform 2s; } */