|
| 1 | +@font-face { |
| 2 | + font-family: Yandex Sans Text Web; |
| 3 | + font-weight: 100; |
| 4 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-thin.woff) |
| 5 | + format("woff"); |
| 6 | +} |
| 7 | + |
| 8 | +@font-face { |
| 9 | + font-family: Yandex Sans Text Web; |
| 10 | + font-weight: 300; |
| 11 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-light.woff) |
| 12 | + format("woff"); |
| 13 | +} |
| 14 | + |
| 15 | +@font-face { |
| 16 | + font-family: Yandex Sans Text Web; |
| 17 | + font-weight: 400; |
| 18 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-regular.woff) |
| 19 | + format("woff"); |
| 20 | +} |
| 21 | + |
| 22 | +@font-face { |
| 23 | + font-style: italic; |
| 24 | + font-family: Yandex Sans Text Web; |
| 25 | + font-weight: 400; |
| 26 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-regular-italic.woff) |
| 27 | + format("woff"); |
| 28 | +} |
| 29 | + |
| 30 | +@font-face { |
| 31 | + font-family: Yandex Sans Text Web; |
| 32 | + font-weight: 500; |
| 33 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-medium.woff) |
| 34 | + format("woff"); |
| 35 | +} |
| 36 | + |
| 37 | +@font-face { |
| 38 | + font-family: Yandex Sans Text Web; |
| 39 | + font-weight: 700; |
| 40 | + src: url(../src/shower/themes/yandex2/fonts/yandex-sans-text-web-bold.woff) |
| 41 | + format("woff"); |
| 42 | +} |
| 43 | + |
| 44 | +@font-face { |
| 45 | + font-family: VAG; |
| 46 | + src: url(../src/shower/themes/yandex2/fonts/VAG-Rounded-TL.woff2) |
| 47 | + format("woff2"); |
| 48 | +} |
| 49 | + |
| 50 | +.slide h2, |
| 51 | +.caption h1 { |
| 52 | + font-family: VAG, "PT Sans Narrow", sans-serif; |
| 53 | +} |
| 54 | + |
| 55 | +.caption { |
| 56 | + color: var(--color-grey); |
| 57 | +} |
| 58 | + |
| 59 | +.caption a { |
| 60 | + color: var(--color-red); |
| 61 | +} |
| 62 | + |
| 63 | +.slide { |
| 64 | + background-color: #fff; |
| 65 | +} |
| 66 | + |
| 67 | +.slide h2 { |
| 68 | + color: var(--color-grey); |
| 69 | +} |
| 70 | + |
| 71 | +.shower.list { |
| 72 | + background: #cecece; |
| 73 | +} |
| 74 | + |
| 75 | +.shower.list .slide.active { |
| 76 | + box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5), 0 0 0 20px var(--color-red), |
| 77 | + 0 20px 50px rgba(0, 0, 0, 0.3); |
| 78 | +} |
| 79 | + |
| 80 | +.slide .shout { |
| 81 | + font-size: 3em; |
| 82 | +} |
| 83 | + |
| 84 | +.slide .shout a { |
| 85 | + background-image: linear-gradient( |
| 86 | + to top, |
| 87 | + rgba(255, 0, 0, 0.2) 0.06em, |
| 88 | + transparent 0.06em |
| 89 | + ); |
| 90 | +} |
| 91 | + |
| 92 | +.slide s { |
| 93 | + text-decoration: none; |
| 94 | + position: relative; |
| 95 | + color: #666; |
| 96 | +} |
| 97 | + |
| 98 | +.slide s::after { |
| 99 | + content: ""; |
| 100 | + display: block; |
| 101 | + background-color: var(--color-red); |
| 102 | + width: 102%; |
| 103 | + height: 0.1em; |
| 104 | + position: absolute; |
| 105 | + top: 50%; |
| 106 | + left: -1%; |
| 107 | + transform: rotate(2deg); |
| 108 | +} |
| 109 | + |
| 110 | +.slide::after { |
| 111 | + height: auto; |
| 112 | + width: calc(var(--ribbon-size) * 1.5); |
| 113 | + background-color: var(--color-red); |
| 114 | + color: white; |
| 115 | + background-image: none; |
| 116 | + margin-top: 1em; |
| 117 | + padding-right: 0.5em; |
| 118 | + padding-top: 0; |
| 119 | + left: auto; |
| 120 | + right: 0; |
| 121 | +} |
| 122 | + |
| 123 | +.slide pre code { |
| 124 | + line-height: 1.4; |
| 125 | + font-size: 0.9em; |
| 126 | +} |
| 127 | + |
| 128 | +.slide.title { |
| 129 | + background-color: var(--color-red); |
| 130 | +} |
| 131 | + |
| 132 | +.slide.title::after { |
| 133 | + content: ""; |
| 134 | +} |
| 135 | + |
| 136 | +.slide.title h2 { |
| 137 | + color: white; |
| 138 | + text-align: left; |
| 139 | + padding: 0 100px; |
| 140 | + box-sizing: border-box; |
| 141 | + font-weight: bold; |
| 142 | +} |
| 143 | + |
| 144 | +:root { |
| 145 | + --color-red: #ea3328; |
| 146 | + --color-grey: #444; |
| 147 | + --color-white: white; |
| 148 | + --color-light-grey: #ddd; |
| 149 | +} |
| 150 | + |
| 151 | +.shower { |
| 152 | + --color-blue: var(--color-red); |
| 153 | + --color-fill: rgba(88, 90, 94, 0.4); |
| 154 | + font-family: "Yandex Sans Text Web", "PT Sans", sans-serif; |
| 155 | + line-height: 1.6; |
| 156 | + color: var(--color-grey); |
| 157 | +} |
| 158 | + |
| 159 | +.slide .mark-trigger:not(.active) + * mark { |
| 160 | + background: none; |
| 161 | +} |
| 162 | + |
| 163 | +.slide .grey { |
| 164 | + color: #bbb; |
| 165 | +} |
| 166 | + |
| 167 | +.slide ul li:lang(ru)::before { |
| 168 | + font-size: 1.4em; |
| 169 | + content: "✦"; |
| 170 | + line-height: 1.15em; |
| 171 | + color: var(--color-red); |
| 172 | + font-weight: 300; |
| 173 | +} |
| 174 | + |
| 175 | +.badge a { |
| 176 | + color: white; |
| 177 | +} |
| 178 | + |
| 179 | +.slide a { |
| 180 | + color: var(--color-red); |
| 181 | +} |
| 182 | + |
| 183 | +.yellow { |
| 184 | + color: var(--color-red); |
| 185 | +} |
| 186 | + |
| 187 | +.slide blockquote::before { |
| 188 | + color: var(--color-red); |
| 189 | + opacity: 0.5; |
| 190 | +} |
| 191 | + |
| 192 | +.terminal, |
| 193 | +.terminal *, |
| 194 | +.terminal::before, |
| 195 | +.terminal::after { |
| 196 | + box-sizing: border-box; |
| 197 | +} |
| 198 | + |
| 199 | +.cite { |
| 200 | + font-size: 1.5em; |
| 201 | +} |
| 202 | + |
| 203 | +.cite-author { |
| 204 | + font-size: 0.7em; |
| 205 | +} |
| 206 | + |
| 207 | +.slide.white { |
| 208 | + background-color: white; |
| 209 | +} |
| 210 | + |
| 211 | +pre code.hljs { |
| 212 | + padding: 0 0 0 var(--slide-side); |
| 213 | +} |
| 214 | + |
| 215 | +.slide .thin { |
| 216 | + font-weight: 300; |
| 217 | +} |
| 218 | + |
| 219 | +.shadowed { |
| 220 | + text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8); |
| 221 | +} |
| 222 | + |
| 223 | +.arrow { |
| 224 | + color: var(--color-red); |
| 225 | +} |
| 226 | + |
| 227 | +.slide .opaque { |
| 228 | + opacity: 0.5; |
| 229 | +} |
| 230 | + |
| 231 | +.slide mark { |
| 232 | + background-color: var(--color-light-grey); |
| 233 | +} |
| 234 | + |
| 235 | +.slide.white { |
| 236 | + background-color: var(--color-white); |
| 237 | + background-image: none; |
| 238 | +} |
| 239 | + |
| 240 | +.slide.white h2 { |
| 241 | + color: var(--color-red); |
| 242 | +} |
0 commit comments