| |
| import Theme from '../theme' |
| import skipThemeValidationSymbol from './symbol' |
| |
| const css = ` |
| section { |
| width: 1280px; |
| height: 720px; |
| |
| box-sizing: border-box; |
| overflow: hidden; |
| position: relative; |
| |
| scroll-snap-align: center center; |
| |
| -webkit-text-size-adjust: 100%; |
| text-size-adjust: 100%; |
| } |
| |
| section::after { |
| bottom: 0; |
| content: attr(data-marpit-pagination); |
| padding: inherit; |
| pointer-events: none; |
| position: absolute; |
| right: 0; |
| } |
| |
| section:not([data-marpit-pagination])::after { |
| display: none; |
| } |
| |
| /* Normalization */ |
| h1 { |
| font-size: 2em; |
| margin-block: 0.67em; |
| } |
| |
| video::-webkit-media-controls { |
| will-change: transform; |
| } |
| `.trim() |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| export const scaffoldTheme = Theme.fromCSS(css, { |
| [skipThemeValidationSymbol]: true, |
| }) |
| |
| export default scaffoldTheme |