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