Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

2.0 KB
Raw Blame
:where([data-motion-ui]), :where([data-motion-ui]) * { box-sizing: border-box; }
:where([data-motion-ui]) {
  background: var(--motion-bg);
  color: var(--motion-text);
  font: var(--motion-weight-regular) var(--motion-text-body)/var(--motion-leading-body) var(--motion-font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--motion-accent);
}
:where(html[data-motion-ui]), :where(html[data-motion-ui]) body { margin: 0; min-height: 100%; }
:where([data-motion-ui]) :where(button, input, textarea, select) { font: inherit; color: inherit; }
[data-motion-ui] :is(input, textarea)::placeholder { color: var(--motion-placeholder); opacity: 1; }
:where([data-motion-ui]) :where(button, a, label, input, textarea, select) { -webkit-tap-highlight-color: transparent; }
:where([data-motion-ui]) :where(button) { cursor: pointer; }
:where([data-motion-ui]) :where(button, input, textarea, select):disabled { cursor: not-allowed; opacity: .4; }
:where([data-motion-ui]) :where(a) { color: inherit; }
:where([data-motion-ui]) :where(h1, h2, h3, p) { margin: 0; }
:where([data-motion-ui]) :where(button, a, input, textarea, select):focus-visible,
:where([data-motion-ui]) label:has(input[type='file']:focus-visible) { outline: 2px solid var(--motion-selected); outline-offset: 3px; }
:where([data-motion-ui]) ::selection { background: var(--motion-highlight); color: var(--motion-strong); }
:where([data-motion-ui]) :where(code, pre, kbd) { font-family: var(--motion-font-mono); }
:where([data-motion-ui]) [hidden] { display: none !important; }
:where([data-motion-ui]) .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  :where([data-motion-ui]) *, :where([data-motion-ui]) *::before, :where([data-motion-ui]) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}