| 1 | /* |
| 2 | Theme Name: Twenty Seventeen |
| 3 | Description: Used to style Gutenberg Blocks in the editor. |
| 4 | */ |
| 5 | |
| 6 | /*-------------------------------------------------------------- |
| 7 | >>> TABLE OF CONTENTS: |
| 8 | ---------------------------------------------------------------- |
| 9 | 1.0 General Typography |
| 10 | 2.0 General Block Settings |
| 11 | 3.0 Blocks - Common Blocks |
| 12 | 4.0 Blocks - Formatting |
| 13 | 5.0 Blocks - Layout Elements |
| 14 | 6.0 Blocks - Widgets |
| 15 | 7.0 Blocks - Embeds |
| 16 | --------------------------------------------------------------*/ |
| 17 | |
| 18 | /*-------------------------------------------------------------- |
| 19 | 1.0 General Typography |
| 20 | --------------------------------------------------------------*/ |
| 21 | |
| 22 | .edit-post-visual-editor .editor-block-list__block, |
| 23 | .editor-default-block-appender input[type="text"].editor-default-block-appender__content { |
| 24 | font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| 25 | font-size: 15px; |
| 26 | font-size: 0.9375rem; |
| 27 | font-weight: 400; |
| 28 | line-height: 1.66; |
| 29 | } |
| 30 | |
| 31 | .edit-post-visual-editor .editor-block-list__block { |
| 32 | color: #333; |
| 33 | } |
| 34 | |
| 35 | .edit-post-visual-editor h1 { |
| 36 | font-size: 24px; |
| 37 | font-size: 1.5rem; |
| 38 | font-weight: 300; |
| 39 | } |
| 40 | |
| 41 | .edit-post-visual-editor h2, |
| 42 | .editor-post-title__block .editor-post-title__input { |
| 43 | color: #666; |
| 44 | font-size: 20px; |
| 45 | font-size: 1.25rem; |
| 46 | font-weight: 300; |
| 47 | } |
| 48 | |
| 49 | .editor-post-title__block .editor-post-title__input { |
| 50 | color: #333; |
| 51 | font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; |
| 52 | } |
| 53 | |
| 54 | .edit-post-visual-editor h3 { |
| 55 | color: #333; |
| 56 | font-size: 18px; |
| 57 | font-size: 1.125rem; |
| 58 | font-weight: 300; |
| 59 | } |
| 60 | |
| 61 | .edit-post-visual-editor h4 { |
| 62 | color: #333; |
| 63 | font-size: 16px; |
| 64 | font-size: 1rem; |
| 65 | font-weight: 800; |
| 66 | } |
| 67 | |
| 68 | .edit-post-visual-editor h5 { |
| 69 | color: #767676; |
| 70 | font-size: 13px; |
| 71 | font-size: 0.8125rem; |
| 72 | font-weight: 800; |
| 73 | letter-spacing: 0.15em; |
| 74 | text-transform: uppercase; |
| 75 | } |
| 76 | |
| 77 | .edit-post-visual-editor h6 { |
| 78 | color: #333; |
| 79 | font-size: 15px; |
| 80 | font-size: 0.9375rem; |
| 81 | font-weight: 800; |
| 82 | } |
| 83 | |
| 84 | @media screen and (min-width: 30em) { |
| 85 | |
| 86 | .edit-post-visual-editor .editor-block-list__block { |
| 87 | font-size: 18px; |
| 88 | font-size: 1.125rem; |
| 89 | } |
| 90 | |
| 91 | .edit-post-visual-editor h1 { |
| 92 | font-size: 30px; |
| 93 | font-size: 1.875rem; |
| 94 | } |
| 95 | |
| 96 | .edit-post-visual-editor h2, |
| 97 | .editor-post-title__block .editor-post-title__input { |
| 98 | font-size: 26px; |
| 99 | font-size: 1.625rem; |
| 100 | } |
| 101 | |
| 102 | .edit-post-visual-editor h3 { |
| 103 | font-size: 22px; |
| 104 | font-size: 1.375rem; |
| 105 | } |
| 106 | |
| 107 | .edit-post-visual-editor h4 { |
| 108 | font-size: 18px; |
| 109 | font-size: 1.125rem; |
| 110 | } |
| 111 | |
| 112 | .edit-post-visual-editor h5 { |
| 113 | font-size: 13px; |
| 114 | font-size: 0.8125rem; |
| 115 | } |
| 116 | |
| 117 | .edit-post-visual-editor h6 { |
| 118 | font-size: 16px; |
| 119 | font-size: 1rem; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | @media screen and (min-width: 48em) { |
| 124 | |
| 125 | .edit-post-visual-editor .editor-block-list__block { |
| 126 | font-size: 16px; |
| 127 | font-size: 1rem; |
| 128 | line-height: 1.5; |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | /* Typography for Arabic Font */ |
| 133 | |
| 134 | html[lang="ar"] .edit-post-visual-editor .editor-block-list__block, |
| 135 | html[lang="ary"] .edit-post-visual-editor .editor-block-list__block, |
| 136 | html[lang="azb"] .edit-post-visual-editor .editor-block-list__block, |
| 137 | html[lang="fa-IR"] .edit-post-visual-editor .editor-block-list__block, |
| 138 | html[lang="haz"] .edit-post-visual-editor .editor-block-list__block, |
| 139 | html[lang="ps"] .edit-post-visual-editor .editor-block-list__block, |
| 140 | html[lang="ur"] .edit-post-visual-editor .editor-block-list__block { |
| 141 | font-family: Tahoma, Arial, sans-serif; |
| 142 | } |
| 143 | |
| 144 | html[lang="ar"] .edit-post-visual-editor h1, |
| 145 | html[lang="ar"] .edit-post-visual-editor h2, |
| 146 | html[lang="ar"] .edit-post-visual-editor h3, |
| 147 | html[lang="ar"] .edit-post-visual-editor h4, |
| 148 | html[lang="ar"] .edit-post-visual-editor h5, |
| 149 | html[lang="ar"] .edit-post-visual-editor h6, |
| 150 | html[lang="ary"] .edit-post-visual-editor h1, |
| 151 | html[lang="ary"] .edit-post-visual-editor h2, |
| 152 | html[lang="ary"] .edit-post-visual-editor h3, |
| 153 | html[lang="ary"] .edit-post-visual-editor h4, |
| 154 | html[lang="ary"] .edit-post-visual-editor h5, |
| 155 | html[lang="ary"] .edit-post-visual-editor h6, |
| 156 | html[lang="azb"] .edit-post-visual-editor h1, |
| 157 | html[lang="azb"] .edit-post-visual-editor h2, |
| 158 | html[lang="azb"] .edit-post-visual-editor h3, |
| 159 | html[lang="azb"] .edit-post-visual-editor h4, |
| 160 | html[lang="azb"] .edit-post-visual-editor h5, |
| 161 | html[lang="azb"] .edit-post-visual-editor h6, |
| 162 | html[lang="fa-IR"] .edit-post-visual-editor h1, |
| 163 | html[lang="fa-IR"] .edit-post-visual-editor h2, |
| 164 | html[lang="fa-IR"] .edit-post-visual-editor h3, |
| 165 | html[lang="fa-IR"] .edit-post-visual-editor h4, |
| 166 | html[lang="fa-IR"] .edit-post-visual-editor h5, |
| 167 | html[lang="fa-IR"] .edit-post-visual-editor h6, |
| 168 | html[lang="haz"] .edit-post-visual-editor h1, |
| 169 | html[lang="haz"] .edit-post-visual-editor h2, |
| 170 | html[lang="haz"] .edit-post-visual-editor h3, |
| 171 | html[lang="haz"] .edit-post-visual-editor h4, |
| 172 | html[lang="haz"] .edit-post-visual-editor h5, |
| 173 | html[lang="haz"] .edit-post-visual-editor h6, |
| 174 | html[lang="ps"] .edit-post-visual-editor h1, |
| 175 | html[lang="ps"] .edit-post-visual-editor h2, |
| 176 | html[lang="ps"] .edit-post-visual-editor h3, |
| 177 | html[lang="ps"] .edit-post-visual-editor h4, |
| 178 | html[lang="ps"] .edit-post-visual-editor h5, |
| 179 | html[lang="ps"] .edit-post-visual-editor h6, |
| 180 | html[lang="ur"] .edit-post-visual-editor h1, |
| 181 | html[lang="ur"] .edit-post-visual-editor h2, |
| 182 | html[lang="ur"] .edit-post-visual-editor h3, |
| 183 | html[lang="ur"] .edit-post-visual-editor h4, |
| 184 | html[lang="ur"] .edit-post-visual-editor h5, |
| 185 | html[lang="ur"] .edit-post-visual-editor h6 { |
| 186 | font-weight: 700; |
| 187 | } |
| 188 | |
| 189 | /* Typography for Chinese Font */ |
| 190 | |
| 191 | html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block, |
| 192 | html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block { |
| 193 | font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif; |
| 194 | } |
| 195 | |
| 196 | html[lang^="zh-"] .edit-post-visual-editor h1, |
| 197 | html[lang^="zh-"] .edit-post-visual-editor h2, |
| 198 | html[lang^="zh-"] .edit-post-visual-editor h3, |
| 199 | html[lang^="zh-"] .edit-post-visual-editor h4, |
| 200 | html[lang^="zh-"] .edit-post-visual-editor h5, |
| 201 | html[lang^="zh-"] .edit-post-visual-editor h6 { |
| 202 | font-weight: 700; |
| 203 | } |
| 204 | |
| 205 | /* Typography for Cyrillic Font */ |
| 206 | |
| 207 | html[lang="bg-BG"] .edit-post-visual-editor .editor-block-list__block, |
| 208 | html[lang="ru-RU"] .edit-post-visual-editor .editor-block-list__block, |
| 209 | html[lang="uk"] .edit-post-visual-editor .editor-block-list__block { |
| 210 | font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif; |
| 211 | } |
| 212 | |
| 213 | html[lang="bg-BG"] .edit-post-visual-editor h1, |
| 214 | html[lang="bg-BG"] .edit-post-visual-editor h2, |
| 215 | html[lang="bg-BG"] .edit-post-visual-editor h3, |
| 216 | html[lang="bg-BG"] .edit-post-visual-editor h4, |
| 217 | html[lang="bg-BG"] .edit-post-visual-editor h5, |
| 218 | html[lang="bg-BG"] .edit-post-visual-editor h6, |
| 219 | html[lang="ru-RU"] .edit-post-visual-editor h1, |
| 220 | html[lang="ru-RU"] .edit-post-visual-editor h2, |
| 221 | html[lang="ru-RU"] .edit-post-visual-editor h3, |
| 222 | html[lang="ru-RU"] .edit-post-visual-editor h4, |
| 223 | html[lang="ru-RU"] .edit-post-visual-editor h5, |
| 224 | html[lang="ru-RU"] .edit-post-visual-editor h6, |
| 225 | html[lang="uk"] .edit-post-visual-editor h1, |
| 226 | html[lang="uk"] .edit-post-visual-editor h2, |
| 227 | html[lang="uk"] .edit-post-visual-editor h3, |
| 228 | html[lang="uk"] .edit-post-visual-editor h4, |
| 229 | html[lang="uk"] .edit-post-visual-editor h5, |
| 230 | html[lang="uk"] .edit-post-visual-editor h6 { |
| 231 | font-weight: 700; |
| 232 | line-height: 1.2; |
| 233 | } |
| 234 | |
| 235 | /* Typography for Devanagari Font */ |
| 236 | |
| 237 | html[lang="bn-BD"] .edit-post-visual-editor .editor-block-list__block, |
| 238 | html[lang="hi-IN"] .edit-post-visual-editor .editor-block-list__block, |
| 239 | html[lang="mr-IN"] .edit-post-visual-editor .editor-block-list__block { |
| 240 | font-family: Arial, sans-serif; |
| 241 | } |
| 242 | |
| 243 | html[lang="bn-BD"] .edit-post-visual-editor h1, |
| 244 | html[lang="bn-BD"] .edit-post-visual-editor h2, |
| 245 | html[lang="bn-BD"] .edit-post-visual-editor h3, |
| 246 | html[lang="bn-BD"] .edit-post-visual-editor h4, |
| 247 | html[lang="bn-BD"] .edit-post-visual-editor h5, |
| 248 | html[lang="bn-BD"] .edit-post-visual-editor h6, |
| 249 | html[lang="hi-IN"] .edit-post-visual-editor h1, |
| 250 | html[lang="hi-IN"] .edit-post-visual-editor h2, |
| 251 | html[lang="hi-IN"] .edit-post-visual-editor h3, |
| 252 | html[lang="hi-IN"] .edit-post-visual-editor h4, |
| 253 | html[lang="hi-IN"] .edit-post-visual-editor h5, |
| 254 | html[lang="hi-IN"] .edit-post-visual-editor h6, |
| 255 | html[lang="mr-IN"] .edit-post-visual-editor h1, |
| 256 | html[lang="mr-IN"] .edit-post-visual-editor h2, |
| 257 | html[lang="mr-IN"] .edit-post-visual-editor h3, |
| 258 | html[lang="mr-IN"] .edit-post-visual-editor h4, |
| 259 | html[lang="mr-IN"] .edit-post-visual-editor h5, |
| 260 | html[lang="mr-IN"] .edit-post-visual-editor h6 { |
| 261 | font-weight: 700; |
| 262 | } |
| 263 | |
| 264 | /* Typography for Greek Font */ |
| 265 | |
| 266 | html[lang="el"] .edit-post-visual-editor .editor-block-list__block { |
| 267 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 268 | } |
| 269 | |
| 270 | html[lang="el"] .edit-post-visual-editor h1, |
| 271 | html[lang="el"] .edit-post-visual-editor h2, |
| 272 | html[lang="el"] .edit-post-visual-editor h3, |
| 273 | html[lang="el"] .edit-post-visual-editor h4, |
| 274 | html[lang="el"] .edit-post-visual-editor h5, |
| 275 | html[lang="el"] .edit-post-visual-editor h6 { |
| 276 | font-weight: 700; |
| 277 | line-height: 1.3; |
| 278 | } |
| 279 | |
| 280 | /* Typography for Gujarati Font */ |
| 281 | |
| 282 | html[lang="gu-IN"] .edit-post-visual-editor .editor-block-list__block { |
| 283 | font-family: Arial, sans-serif; |
| 284 | } |
| 285 | |
| 286 | html[lang="gu-IN"] .edit-post-visual-editor h1, |
| 287 | html[lang="gu-IN"] .edit-post-visual-editor h2, |
| 288 | html[lang="gu-IN"] .edit-post-visual-editor h3, |
| 289 | html[lang="gu-IN"] .edit-post-visual-editor h4, |
| 290 | html[lang="gu-IN"] .edit-post-visual-editor h5, |
| 291 | html[lang="gu-IN"] .edit-post-visual-editor h6 { |
| 292 | font-weight: 700; |
| 293 | } |
| 294 | |
| 295 | /* Typography for Hebrew Font */ |
| 296 | |
| 297 | html[lang="he-IL"] .edit-post-visual-editor .editor-block-list__block { |
| 298 | font-family: "Arial Hebrew", Arial, sans-serif; |
| 299 | } |
| 300 | |
| 301 | html[lang="he-IL"] .edit-post-visual-editor h1, |
| 302 | html[lang="he-IL"] .edit-post-visual-editor h2, |
| 303 | html[lang="he-IL"] .edit-post-visual-editor h3, |
| 304 | html[lang="he-IL"] .edit-post-visual-editor h4, |
| 305 | html[lang="he-IL"] .edit-post-visual-editor h5, |
| 306 | html[lang="he-IL"] .edit-post-visual-editor h6 { |
| 307 | font-weight: 700; |
| 308 | } |
| 309 | |
| 310 | /* Typography for Japanese Font */ |
| 311 | |
| 312 | html[lang="ja"] .edit-post-visual-editor .editor-block-list__block { |
| 313 | font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif; |
| 314 | } |
| 315 | |
| 316 | html[lang="ja"] .edit-post-visual-editor h1, |
| 317 | html[lang="ja"] .edit-post-visual-editor h2, |
| 318 | html[lang="ja"] .edit-post-visual-editor h3, |
| 319 | html[lang="ja"] .edit-post-visual-editor h4, |
| 320 | html[lang="ja"] .edit-post-visual-editor h5, |
| 321 | html[lang="ja"] .edit-post-visual-editor h6 { |
| 322 | font-weight: 700; |
| 323 | } |
| 324 | |
| 325 | /* Typography for Korean font */ |
| 326 | |
| 327 | html[lang="ko-KR"] .edit-post-visual-editor .editor-block-list__block { |
| 328 | font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif; |
| 329 | } |
| 330 | |
| 331 | html[lang="ko-KR"] .edit-post-visual-editor h1, |
| 332 | html[lang="ko-KR"] .edit-post-visual-editor h2, |
| 333 | html[lang="ko-KR"] .edit-post-visual-editor h3, |
| 334 | html[lang="ko-KR"] .edit-post-visual-editor h4, |
| 335 | html[lang="ko-KR"] .edit-post-visual-editor h5, |
| 336 | html[lang="ko-KR"] .edit-post-visual-editor h6 { |
| 337 | font-weight: 600; |
| 338 | } |
| 339 | |
| 340 | /* Typography for Thai Font */ |
| 341 | |
| 342 | html[lang="th"] .edit-post-visual-editor .editor-block-list__block { |
| 343 | line-height: 1.8; |
| 344 | font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 345 | } |
| 346 | |
| 347 | html[lang="th"] .edit-post-visual-editor h1, |
| 348 | html[lang="th"] .edit-post-visual-editor h2, |
| 349 | html[lang="th"] .edit-post-visual-editor h3, |
| 350 | html[lang="th"] .edit-post-visual-editor h4, |
| 351 | html[lang="th"] .edit-post-visual-editor h5, |
| 352 | html[lang="th"] .edit-post-visual-editor h6 { |
| 353 | line-height: 1.65; |
| 354 | font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 355 | } |
| 356 | |
| 357 | /* Remove letter-spacing for all non-latin alphabets */ |
| 358 | |
| 359 | html[lang="ar"] .edit-post-visual-editor *, |
| 360 | html[lang="ary"] .edit-post-visual-editor *, |
| 361 | html[lang="azb"] .edit-post-visual-editor *, |
| 362 | html[lang="haz"] .edit-post-visual-editor *, |
| 363 | html[lang="ps"] .edit-post-visual-editor *, |
| 364 | html[lang^="zh-"] .edit-post-visual-editor *, |
| 365 | html[lang="bg-BG"] .edit-post-visual-editor *, |
| 366 | html[lang="ru-RU"] .edit-post-visual-editor *, |
| 367 | html[lang="uk"] .edit-post-visual-editor *, |
| 368 | html[lang="bn-BD"] .edit-post-visual-editor *, |
| 369 | html[lang="hi-IN"] .edit-post-visual-editor *, |
| 370 | html[lang="mr-IN"] .edit-post-visual-editor *, |
| 371 | html[lang="el"] .edit-post-visual-editor *, |
| 372 | html[lang="gu-IN"] .edit-post-visual-editor *, |
| 373 | html[lang="he-IL"] .edit-post-visual-editor *, |
| 374 | html[lang="ja"] .edit-post-visual-editor *, |
| 375 | html[lang="ko-KR"] .edit-post-visual-editor *, |
| 376 | html[lang="th"] .edit-post-visual-editor * { |
| 377 | letter-spacing: 0 !important; |
| 378 | } |
| 379 | |
| 380 | /*-------------------------------------------------------------- |
| 381 | 2.0 General Block Settings |
| 382 | --------------------------------------------------------------*/ |
| 383 | |
| 384 | /* Main column width */ |
| 385 | body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, |
| 386 | body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, |
| 387 | body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { |
| 388 | max-width: 740px; |
| 389 | } |
| 390 | |
| 391 | /* Link styles */ |
| 392 | |
| 393 | .edit-post-visual-editor a, |
| 394 | .editor-block-list__block a { |
| 395 | color: #222; |
| 396 | } |
| 397 | |
| 398 | /* List styles */ |
| 399 | |
| 400 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| 401 | .editor-block-list__block ul:not(.wp-block-gallery), |
| 402 | .block-library-list ul, |
| 403 | .edit-post-visual-editor ol, |
| 404 | .editor-block-list__block ol, |
| 405 | .block-library-list ol, |
| 406 | .block-library-list .editor-rich-text__tinymce { |
| 407 | margin: 0 0 1.5em; |
| 408 | padding: 0; |
| 409 | } |
| 410 | |
| 411 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| 412 | .editor-block-list__block ul:not(.wp-block-gallery), |
| 413 | .block-library-list ul { |
| 414 | list-style: disc; |
| 415 | } |
| 416 | |
| 417 | .edit-post-visual-editor ol, |
| 418 | .editor-block-list__block ol, |
| 419 | .block-library-list ol { |
| 420 | list-style: decimal; |
| 421 | } |
| 422 | |
| 423 | .edit-post-visual-editor li > ul, |
| 424 | .editor-block-list__block li > ul, |
| 425 | .edit-post-visual-editor li > ol, |
| 426 | .editor-block-list__block li > ol, |
| 427 | .block-library-list li > ul, |
| 428 | .block-library-list li > ol { |
| 429 | margin-bottom: 0; |
| 430 | margin-left: 1.5em; |
| 431 | } |
| 432 | |
| 433 | .edit-post-visual-editor li, |
| 434 | .editor-block-list__block li, |
| 435 | .block-library-list li { |
| 436 | margin: 0; |
| 437 | } |
| 438 | |
| 439 | /*-------------------------------------------------------------- |
| 440 | 3.0 Blocks - Common Blocks |
| 441 | --------------------------------------------------------------*/ |
| 442 | |
| 443 | /* Paragraph */ |
| 444 | |
| 445 | .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter { |
| 446 | font-size: 5em; |
| 447 | line-height: 0.68; |
| 448 | margin: 0.05em 0.1em 0 0; |
| 449 | text-transform: uppercase; |
| 450 | font-style: normal; |
| 451 | } |
| 452 | |
| 453 | /* Quote */ |
| 454 | |
| 455 | .wp-block-quote { |
| 456 | color: #666; |
| 457 | font-size: 18px; |
| 458 | font-size: 1.125rem; |
| 459 | font-style: italic; |
| 460 | line-height: 1.7; |
| 461 | } |
| 462 | |
| 463 | .wp-block-quote:not(.is-large):not(.is-style-large) { |
| 464 | border-left: 0; |
| 465 | padding-left: 0; |
| 466 | } |
| 467 | |
| 468 | .wp-block-quote .wp-block-quote__citation, |
| 469 | .wp-block-quote cite, |
| 470 | .wp-block-quote footer { |
| 471 | display: block; |
| 472 | font-size: inherit; |
| 473 | font-style: normal; |
| 474 | font-weight: 600; |
| 475 | margin-top: 0.5em; |
| 476 | } |
| 477 | |
| 478 | .wp-block-quote.alignleft, |
| 479 | .wp-block-quote.alignright { |
| 480 | color: #666; |
| 481 | width: 48%; |
| 482 | } |
| 483 | |
| 484 | .editor-block-list__block .wp-block-quote.alignleft p, |
| 485 | .editor-block-list__block .wp-block-quote.alignright p, |
| 486 | .editor-block-list__block .wp-block-quote .wp-block-quote__citation, |
| 487 | .editor-block-list__block .wp-block-quote cite, |
| 488 | .editor-block-list__block .wp-block-quote footer { |
| 489 | font-size: 13px; |
| 490 | font-size: 0.8125rem; |
| 491 | } |
| 492 | |
| 493 | .editor-block-list__block .wp-block-quote.alignleft p:last-of-type, |
| 494 | .editor-block-list__block .wp-block-quote.alignright p:last-of-type { |
| 495 | margin-bottom: 0; |
| 496 | } |
| 497 | |
| 498 | @media screen and (min-width: 30em) { |
| 499 | .editor-block-list__block .wp-block-quote.alignleft p, |
| 500 | .editor-block-list__block .wp-block-quote.alignright p, |
| 501 | .editor-block-list__block .wp-block-quote .wp-block-quote__citation, |
| 502 | .editor-block-list__block .wp-block-quote cite, |
| 503 | .editor-block-list__block .wp-block-quote footer { |
| 504 | font-size: 14px; |
| 505 | font-size: 0.875rem; |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | @media screen and (min-width: 48em) { |
| 510 | .editor-block-list__block .wp-block-quote.alignleft p, |
| 511 | .editor-block-list__block .wp-block-quote.alignright p, |
| 512 | .editor-block-list__block .wp-block-quote .wp-block-quote__citation, |
| 513 | .editor-block-list__block .wp-block-quote cite, |
| 514 | .editor-block-list__block .wp-block-quote footer { |
| 515 | font-size: 13px; |
| 516 | font-size: 0.8125rem; |
| 517 | } |
| 518 | |
| 519 | .editor-block-list__block .wp-block-quote.alignleft { |
| 520 | margin-left: -17.5%; |
| 521 | width: 48%; |
| 522 | } |
| 523 | |
| 524 | .editor-block-list__block .wp-block-quote.alignright { |
| 525 | margin-right: -17.5%; |
| 526 | width: 48%; |
| 527 | } |
| 528 | } |
| 529 | |
| 530 | /* File */ |
| 531 | |
| 532 | .wp-block-file .wp-block-file__button { |
| 533 | background-color: #222; |
| 534 | -webkit-border-radius: 2px; |
| 535 | border-radius: 2px; |
| 536 | -webkit-box-shadow: none; |
| 537 | box-shadow: none; |
| 538 | color: #fff; |
| 539 | display: inline-block; |
| 540 | font-size: 14px; |
| 541 | font-size: 0.875rem; |
| 542 | font-weight: 800; |
| 543 | padding: 0.7em 2em; |
| 544 | -webkit-transition: background-color 0.2s ease-in-out; |
| 545 | transition: background-color 0.2s ease-in-out; |
| 546 | white-space: nowrap; |
| 547 | } |
| 548 | |
| 549 | /*-------------------------------------------------------------- |
| 550 | 4.0 Blocks - Formatting |
| 551 | --------------------------------------------------------------*/ |
| 552 | |
| 553 | /* Verse */ |
| 554 | |
| 555 | .wp-block-verse pre { |
| 556 | background: #eee; |
| 557 | font-family: "Courier 10 Pitch", Courier, monospace; |
| 558 | font-size: 15px; |
| 559 | font-size: 0.9375rem; |
| 560 | line-height: 1.6; |
| 561 | margin-bottom: 1.6em; |
| 562 | max-width: 100%; |
| 563 | overflow: auto; |
| 564 | padding: 1.6em; |
| 565 | } |
| 566 | |
| 567 | /* Code */ |
| 568 | |
| 569 | .wp-block-code { |
| 570 | border: 0; |
| 571 | padding: 0; |
| 572 | } |
| 573 | |
| 574 | /* Classic */ |
| 575 | |
| 576 | .wp-block-freeform.block-library-rich-text__tinymce blockquote { |
| 577 | border-left: 0; |
| 578 | color: #666; |
| 579 | font-size: 18px; |
| 580 | font-size: 1.125rem; |
| 581 | font-style: italic; |
| 582 | line-height: 1.7; |
| 583 | margin: 0; |
| 584 | overflow: hidden; |
| 585 | padding: 0; |
| 586 | } |
| 587 | |
| 588 | /* Preformatted */ |
| 589 | |
| 590 | .wp-block-preformatted pre { |
| 591 | background: #eee; |
| 592 | font-family: "Courier 10 Pitch", Courier, monospace; |
| 593 | font-size: 15px; |
| 594 | font-size: 0.9375rem; |
| 595 | line-height: 1.6; |
| 596 | margin-bottom: 1.6em; |
| 597 | max-width: 100%; |
| 598 | overflow: auto; |
| 599 | padding: 1.6em; |
| 600 | } |
| 601 | |
| 602 | /* Table */ |
| 603 | |
| 604 | table.wp-block-table { |
| 605 | border-collapse: collapse; |
| 606 | margin: 0 0 1.5em; |
| 607 | width: 100%; |
| 608 | } |
| 609 | |
| 610 | table.wp-block-table thead th { |
| 611 | border: 0; |
| 612 | border-bottom: 2px solid #bbb; |
| 613 | padding-bottom: 0.5em; |
| 614 | } |
| 615 | |
| 616 | table.wp-block-table th { |
| 617 | padding: 0.4em; |
| 618 | text-align: left; |
| 619 | } |
| 620 | |
| 621 | table.wp-block-table tr { |
| 622 | border-bottom: 1px solid #eee; |
| 623 | } |
| 624 | |
| 625 | table.wp-block-table td { |
| 626 | border: 0; |
| 627 | padding: 0.4em; |
| 628 | } |
| 629 | |
| 630 | table.wp-block-table th:first-child, |
| 631 | table.wp-block-table td:first-child { |
| 632 | padding-left: 0; |
| 633 | } |
| 634 | |
| 635 | table.wp-block-table th:last-child, |
| 636 | table.wp-block-table td:last-child { |
| 637 | padding-right: 0; |
| 638 | } |
| 639 | |
| 640 | .wp-block-table__cell-content { |
| 641 | padding: 0; |
| 642 | } |
| 643 | |
| 644 | /*-------------------------------------------------------------- |
| 645 | 5.0 Blocks - Layout Elements |
| 646 | --------------------------------------------------------------*/ |
| 647 | |
| 648 | /* Buttons */ |
| 649 | |
| 650 | .wp-block-button .wp-block-button__link { |
| 651 | background-color: #222; |
| 652 | -webkit-border-radius: 2px; |
| 653 | border-radius: 2px; |
| 654 | -webkit-box-shadow: none; |
| 655 | box-shadow: none; |
| 656 | color: #fff; |
| 657 | display: inline-block; |
| 658 | font-size: 14px; |
| 659 | font-size: 0.875rem; |
| 660 | font-weight: 800; |
| 661 | line-height: 1.66; |
| 662 | margin-top: 2em; |
| 663 | padding: 0.7em 2em; |
| 664 | -webkit-transition: background-color 0.2s ease-in-out; |
| 665 | transition: background-color 0.2s ease-in-out; |
| 666 | white-space: nowrap; |
| 667 | } |
| 668 | /*-------------------------------------------------------------- |
| 669 | 6.0 Blocks - Widgets |
| 670 | --------------------------------------------------------------*/ |
| 671 | |
| 672 | /* Comments */ |
| 673 | |
| 674 | .wp-block-latest-comments article { |
| 675 | margin-bottom: 4em; |
| 676 | } |
| 677 | |
| 678 | .wp-block-latest-comments .avatar, |
| 679 | .wp-block-latest-comments__comment-avatar { |
| 680 | border-radius: 0; |
| 681 | } |
| 682 | |
| 683 | .wp-block-latest-comments__comment-meta { |
| 684 | font-size: 16px; |
| 685 | font-size: 1rem; |
| 686 | margin-bottom: 0.4em; |
| 687 | } |
| 688 | |
| 689 | .wp-block-latest-comments__comment-author, |
| 690 | .wp-block-latest-comments__comment-link { |
| 691 | font-weight: 700; |
| 692 | text-decoration: none; |
| 693 | } |
| 694 | |
| 695 | .wp-block-latest-comments__comment-date { |
| 696 | color: #767676; |
| 697 | font-size: 10px; |
| 698 | font-size: 0.625rem; |
| 699 | font-weight: 800; |
| 700 | letter-spacing: 0.1818em; |
| 701 | margin-top: 0.4em; |
| 702 | text-transform: uppercase; |
| 703 | } |
| 704 | |
| 705 | .editor-block-list__block .wp-block-latest-comments__comment-excerpt p { |
| 706 | font-size: 14px; |
| 707 | font-size: 0.875rem; |
| 708 | } |
| 709 | |
| 710 | /*-------------------------------------------------------------- |
| 711 | 7.0 Blocks - Embeds |
| 712 | --------------------------------------------------------------*/ |
| 713 | |