1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
| @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');
:root { --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; --text-base-size: 8vw;
--main-bg-color: black; --main-font-color: white; --accent-bg-color: white; --accent-font-color: black; --text-shadow: 0 0 10px #93c5fd; }
*, *::before, *::after { box-sizing: border-box; } * { margin: 0; } img, picture, video, canvas, svg { display: block; max-width: 100%; max-height: 100%; }
body { font-family: var(--font-family); color: var(--main-font-color); font-size: calc(var(--text-base-size) - 4.5vw) } h1, h2, h3 { text-shadow: var(--text-shadow); } h1 { font-size: var(--text-base-size); font-weight: bold; padding: 10px 0; } h2 { font-size: calc(var(--text-base-size) - 2vw); font-weight: medium; padding: 5px 0; } h3 { font-size: calc(var(--text-base-size) - 4vw); } a { text-decoration: underline; color: inherit; }
html { scroll-snap-type: y mandatory; background-color: var(--main-bg-color); } section { block-size: 100vh; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; display: flex; flex-direction: column; justify-content: center; place-items: center; position: relative; } section.accent { background-color: var(--accent-bg-color); color: var(--accent-font-color); } section.bw { background-color: white; color: black; } section.wb { background-color: black; color: white; } section .sides { display: flex; } section .sides div { padding: 20px; align-items: center; display: flex; }
iframe { width: 100%; height: 100%; border: none; overflow: hidden; } img.background, img.cover { position: absolute; top: 0; width: 100%; height: 100%; z-index: -1; }
@media print { @page { margin: 0.5in; size: landscape; } section { width: 10in; height: 7.5in; page-break-after: always; background-color: transparent !important; color: black !important; border: 1px solid #666; } section:last-of-type { page-break-after: avoid; } h1, h2 { text-shadow: none !important; } a::after{ content: "\A(" attr(href) ") "; white-space: pre-line; font-size: 18px; font-weight: normal; } img.background { display: none; } }
|