| 1 | /* |
| 2 | Theme Name: Twenty Sixteen |
| 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 Styles |
| 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 | color: #1a1a1a; |
| 25 | font-family: Merriweather, Georgia, serif; |
| 26 | font-size: 16px; |
| 27 | font-size: 1rem; |
| 28 | line-height: 1.75; |
| 29 | } |
| 30 | |
| 31 | .edit-post-visual-editor .editor-block-list__block { |
| 32 | color: #1a1a1a; |
| 33 | } |
| 34 | |
| 35 | .editor-post-title__block .editor-post-title__input { |
| 36 | font-family: Montserrat, "Helvetica Neue", sans-serif; |
| 37 | font-size: 28px; |
| 38 | font-size: 1.75rem; |
| 39 | font-weight: 700; |
| 40 | line-height: 1.25; |
| 41 | margin-bottom: 1em; |
| 42 | } |
| 43 | |
| 44 | .edit-post-visual-editor h1 { |
| 45 | font-size: 28px; |
| 46 | font-size: 1.75rem; |
| 47 | line-height: 1.25; |
| 48 | margin-top: 2em; |
| 49 | margin-bottom: 1em; |
| 50 | } |
| 51 | |
| 52 | .edit-post-visual-editor h2 { |
| 53 | font-size: 23px; |
| 54 | font-size: 1.4375rem; |
| 55 | line-height: 1.2173913043; |
| 56 | margin-top: 2.4347826087em; |
| 57 | margin-bottom: 1.2173913043em; |
| 58 | } |
| 59 | |
| 60 | .edit-post-visual-editor h3 { |
| 61 | font-size: 19px; |
| 62 | font-size: 1.1875rem; |
| 63 | line-height: 1.1052631579; |
| 64 | margin-top: 2.9473684211em; |
| 65 | margin-bottom: 1.4736842105em; |
| 66 | } |
| 67 | |
| 68 | .edit-post-visual-editor h4, |
| 69 | .edit-post-visual-editor h5, |
| 70 | .edit-post-visual-editor h6 { |
| 71 | font-size: 16px; |
| 72 | font-size: 1rem; |
| 73 | line-height: 1.3125; |
| 74 | margin-top: 3.5em; |
| 75 | margin-bottom: 1.75em; |
| 76 | } |
| 77 | |
| 78 | .edit-post-visual-editor h4 { |
| 79 | letter-spacing: 0.140625em; |
| 80 | text-transform: uppercase; |
| 81 | } |
| 82 | |
| 83 | .edit-post-visual-editor h6 { |
| 84 | font-style: italic; |
| 85 | } |
| 86 | |
| 87 | .edit-post-visual-editor h1, |
| 88 | .edit-post-visual-editor h2, |
| 89 | .edit-post-visual-editor h3, |
| 90 | .edit-post-visual-editor h4, |
| 91 | .edit-post-visual-editor h5, |
| 92 | .edit-post-visual-editor h6 { |
| 93 | font-weight: 900; |
| 94 | } |
| 95 | |
| 96 | @media screen and (min-width: 61.5625em) { |
| 97 | .edit-post-visual-editor h1 { |
| 98 | font-size: 33px; |
| 99 | font-size: 2.0625rem; |
| 100 | line-height: 1.2727272727; |
| 101 | margin-top: 1.696969697em; |
| 102 | margin-bottom: 0.8484848485em; |
| 103 | } |
| 104 | |
| 105 | .edit-post-visual-editor h2 { |
| 106 | font-size: 28px; |
| 107 | font-size: 1.75rem; |
| 108 | line-height: 1.25; |
| 109 | margin-top: 2em; |
| 110 | margin-bottom: 1em; |
| 111 | } |
| 112 | |
| 113 | .edit-post-visual-editor h3 { |
| 114 | font-size: 23px; |
| 115 | font-size: 1.4375rem; |
| 116 | line-height: 1.2173913043; |
| 117 | margin-top: 2.4347826087em; |
| 118 | margin-bottom: 1.2173913043em; |
| 119 | } |
| 120 | |
| 121 | .edit-post-visual-editor h4 { |
| 122 | letter-spacing: 0.131578947em; |
| 123 | } |
| 124 | |
| 125 | .edit-post-visual-editor h4, |
| 126 | .edit-post-visual-editor h5, |
| 127 | .edit-post-visual-editor h6 { |
| 128 | font-size: 19px; |
| 129 | font-size: 1.1875rem; |
| 130 | line-height: 1.1052631579; |
| 131 | margin-top: 2.9473684211em; |
| 132 | margin-bottom: 1.473684211em; |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | .edit-post-visual-editor h1:first-child, |
| 137 | .edit-post-visual-editor h2:first-child, |
| 138 | .edit-post-visual-editor h3:first-child, |
| 139 | .edit-post-visual-editor h4:first-child, |
| 140 | .edit-post-visual-editor h5:first-child, |
| 141 | .edit-post-visual-editor h6:first-child { |
| 142 | margin-top: 0; |
| 143 | } |
| 144 | |
| 145 | .edit-post-visual-editor p { |
| 146 | margin: 0 0 1.75em; |
| 147 | } |
| 148 | |
| 149 | .edit-post-visual-editor blockquote p { |
| 150 | margin-bottom: 1.4736842105em; |
| 151 | } |
| 152 | |
| 153 | @media screen and (min-width: 44.375em) { |
| 154 | .editor-post-title__block .editor-post-title__input { |
| 155 | font-size: 33px; |
| 156 | font-size: 2.0625rem; |
| 157 | line-height: 1.2727272727; |
| 158 | margin-bottom: 0.8484848485em; |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | @media screen and (min-width: 61.5625em) { |
| 163 | .editor-post-title__block .editor-post-title__input { |
| 164 | font-size: 40px; |
| 165 | font-size: 2.5rem; |
| 166 | line-height: 1.225; |
| 167 | margin-bottom: 1.05em; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | /*-------------------------------------------------------------- |
| 172 | 2.0 General Block Styles |
| 173 | --------------------------------------------------------------*/ |
| 174 | |
| 175 | /* Main column width */ |
| 176 | |
| 177 | body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block, |
| 178 | body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender, |
| 179 | body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block { |
| 180 | max-width: 630px; /* 600px + 30px for padding; should be 840px for pages */ |
| 181 | } |
| 182 | |
| 183 | body.gutenberg-editor-page .edit-post-visual-editor .wp-block-columns .editor-block-list__block { |
| 184 | width: auto; |
| 185 | } |
| 186 | |
| 187 | /* Link styles */ |
| 188 | |
| 189 | .edit-post-visual-editor a, |
| 190 | .editor-block-list__block a, |
| 191 | .wp-block-freeform.block-library-rich-text__tinymce a { |
| 192 | color: #007acc; |
| 193 | } |
| 194 | |
| 195 | /* List styles */ |
| 196 | |
| 197 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| 198 | .editor-block-list__block ul:not(.wp-block-gallery), |
| 199 | .block-library-list ul, |
| 200 | .edit-post-visual-editor ol, |
| 201 | .editor-block-list__block ol, |
| 202 | .block-library-list ol { |
| 203 | margin: 0 0 1.75em 1.25em; |
| 204 | padding: 0; |
| 205 | } |
| 206 | |
| 207 | .edit-post-visual-editor ul:not(.wp-block-gallery), |
| 208 | .editor-block-list__block ul:not(.wp-block-gallery), |
| 209 | .block-library-list ul { |
| 210 | list-style: disc; |
| 211 | } |
| 212 | |
| 213 | .edit-post-visual-editor ol, |
| 214 | .editor-block-list__block ol, |
| 215 | .block-library-list ol { |
| 216 | list-style: decimal; |
| 217 | margin-left: 1.5em; |
| 218 | } |
| 219 | |
| 220 | .edit-post-visual-editor ul:not(.wp-block-gallery) li, |
| 221 | .editor-block-list__block ul:not(.wp-block-gallery) li, |
| 222 | .edit-post-visual-editor ol li, |
| 223 | .editor-block-list__block ol li, |
| 224 | .block-library-list li { |
| 225 | margin-bottom: 0; |
| 226 | } |
| 227 | |
| 228 | .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul, |
| 229 | .editor-block-list__block ul:not(.wp-block-gallery) li > ul, |
| 230 | .block-library-list li > ul, |
| 231 | .edit-post-visual-editor li > ol, |
| 232 | .editor-block-list__block li > ol, |
| 233 | .block-library-list li > ol { |
| 234 | margin-bottom: 0; |
| 235 | } |
| 236 | |
| 237 | .rtl .edit-post-visual-editor ul:not(.wp-block-gallery), |
| 238 | .rtl .editor-block-list__block ul:not(.wp-block-gallery), |
| 239 | .rtl .block-library-list ul, |
| 240 | .rtl .edit-post-visual-editor ol, |
| 241 | .rtl .editor-block-list__block ol, |
| 242 | .rtl .block-library-list ol { |
| 243 | margin-left: 0; |
| 244 | margin-right: 1.25em; |
| 245 | padding: 0; |
| 246 | } |
| 247 | |
| 248 | .rtl .edit-post-visual-editor ol, |
| 249 | .rtl .editor-block-list__block ol, |
| 250 | .rtl .block-library-list ol { |
| 251 | margin-left: 1.5em; |
| 252 | margin-right: 1.5em; |
| 253 | } |
| 254 | |
| 255 | /* Quotes */ |
| 256 | |
| 257 | .rtl .editor-block-list__block blockquote { |
| 258 | border-left: 0; |
| 259 | padding-left: 0; |
| 260 | } |
| 261 | |
| 262 | /* Captions */ |
| 263 | |
| 264 | [class^="wp-block-"] figcaption { |
| 265 | color: #686868; |
| 266 | font-style: italic; |
| 267 | line-height: 1.6153846154; |
| 268 | padding-top: 0.5384615385em; |
| 269 | } |
| 270 | |
| 271 | /*-------------------------------------------------------------- |
| 272 | 3.0 Blocks - Common Blocks |
| 273 | --------------------------------------------------------------*/ |
| 274 | |
| 275 | /* Paragraph */ |
| 276 | |
| 277 | .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter { |
| 278 | font-size: 5em; |
| 279 | line-height: 0.68; |
| 280 | margin: 0.05em 0.1em 0 0; |
| 281 | text-transform: uppercase; |
| 282 | font-style: normal; |
| 283 | } |
| 284 | |
| 285 | .rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter { |
| 286 | margin: 0.05em 0 0 0.1em; |
| 287 | } |
| 288 | |
| 289 | /* Quote */ |
| 290 | |
| 291 | .wp-block-quote { |
| 292 | border: 0 solid #1a1a1a; |
| 293 | border-left-width: 4px; |
| 294 | color: #686868; |
| 295 | font-style: italic; |
| 296 | line-height: 1.4736842105; |
| 297 | margin: 0 0 1.4736842105em; |
| 298 | overflow: hidden; |
| 299 | padding: 0 0 0 1.263157895em; |
| 300 | } |
| 301 | |
| 302 | .wp-block-quote:not(.is-large):not(.is-style-large).alignleft, |
| 303 | .wp-block-quote:not(.is-large):not(.is-style-large).alignright { |
| 304 | border-left: 0; |
| 305 | padding-left: 0; |
| 306 | } |
| 307 | |
| 308 | .editor-block-list__block .wp-block-quote p { |
| 309 | font-size: 19px; |
| 310 | font-size: 1.1875rem; |
| 311 | margin-bottom: 1.4736842105em; |
| 312 | } |
| 313 | |
| 314 | .wp-block-quote__citation { |
| 315 | color: #1a1a1a; |
| 316 | display: block; |
| 317 | font-size: 16px; |
| 318 | font-size: 1rem; |
| 319 | line-height: 1.75; |
| 320 | } |
| 321 | |
| 322 | .wp-block-quote__citation:before { |
| 323 | content: "\2014\00a0"; |
| 324 | } |
| 325 | |
| 326 | .wp-block-quote em, |
| 327 | .wp-block-quote i, |
| 328 | .wp-block-quote__citation:before { |
| 329 | font-style: normal; |
| 330 | } |
| 331 | |
| 332 | .wp-block-quote strong, |
| 333 | .wp-block-quote b { |
| 334 | font-weight: 400; |
| 335 | } |
| 336 | |
| 337 | .wp-block-quote > :last-child { |
| 338 | margin-bottom: 0; |
| 339 | } |
| 340 | |
| 341 | .wp-block-quote.alignleft { |
| 342 | margin: 0.3157894737em 1.4736842105em 1.473684211em 0; |
| 343 | } |
| 344 | |
| 345 | .wp-block-quote.alignright { |
| 346 | margin: 0.3157894737em 0 1.473684211em 1.4736842105em; |
| 347 | } |
| 348 | |
| 349 | .wp-block-quote.aligncenter { |
| 350 | margin-bottom: 1.473684211em; |
| 351 | } |
| 352 | |
| 353 | .rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignleft, |
| 354 | .rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignright { |
| 355 | border-right: 0; |
| 356 | padding-right: 0; |
| 357 | } |
| 358 | |
| 359 | @media screen and (min-width: 44.375em) { |
| 360 | .wp-block-quote.alignleft, |
| 361 | .wp-block-quote.alignright { |
| 362 | border-width: 4px 0 0 0; |
| 363 | padding: 0.9473684211em 0 0; |
| 364 | width: -webkit-calc(50% - 0.736842105em); |
| 365 | width: calc(50% - 0.736842105em); |
| 366 | } |
| 367 | |
| 368 | .wp-block-quote:not(.alignleft):not(.alignright) { |
| 369 | margin-left: -1.473684211em; |
| 370 | } |
| 371 | |
| 372 | .rtl .wp-block-quote:not(.alignleft):not(.alignright) { |
| 373 | margin-left: 0; |
| 374 | margin-right: -1.473684211em; |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | @media screen and (min-width: 80em) { |
| 379 | .editor-block-list__block .wp-block-quote.alignleft { |
| 380 | margin-left: -40%; |
| 381 | width: -webkit-calc(60% - 1.4736842105em); |
| 382 | width: calc(60% - 1.4736842105em); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | /* File */ |
| 387 | |
| 388 | .wp-block-file__textlink { |
| 389 | box-shadow: 0 1px 0 0 currentColor; |
| 390 | color: #007acc; |
| 391 | } |
| 392 | |
| 393 | .wp-block-file .wp-block-file__button { |
| 394 | background: #1a1a1a; |
| 395 | border: 0; |
| 396 | border-radius: 2px; |
| 397 | color: #fff; |
| 398 | font-family: Montserrat, "Helvetica Neue", sans-serif; |
| 399 | font-weight: 700; |
| 400 | letter-spacing: 0.046875em; |
| 401 | line-height: 1; |
| 402 | padding: 0.84375em 0.875em 0.78125em; |
| 403 | text-transform: uppercase; |
| 404 | } |
| 405 | |
| 406 | /*-------------------------------------------------------------- |
| 407 | 4.0 Blocks - Formatting |
| 408 | --------------------------------------------------------------*/ |
| 409 | |
| 410 | /* Code */ |
| 411 | |
| 412 | .wp-block-code { |
| 413 | border: 0; |
| 414 | padding: 0.125em 0.25em; |
| 415 | } |
| 416 | |
| 417 | /* Classic */ |
| 418 | |
| 419 | .wp-block-freeform.block-library-rich-text__tinymce blockquote { |
| 420 | border: 0 solid #1a1a1a; |
| 421 | border-left-width: 4px; |
| 422 | color: #686868; |
| 423 | font-style: italic; |
| 424 | line-height: 1.4736842105; |
| 425 | margin: 0 0 1.4736842105em; |
| 426 | overflow: hidden; |
| 427 | padding: 0 0 0 1.263157895em; |
| 428 | } |
| 429 | |
| 430 | .editor-block-list__block .wp-block-freeform.block-library-rich-text__tinymce blockquote:not(.alignleft):not(.alignright) { |
| 431 | margin-left: 0; |
| 432 | } |
| 433 | |
| 434 | .wp-block-freeform.block-library-rich-text__tinymce blockquote p { |
| 435 | font-size: 19px; |
| 436 | font-size: 1.1875rem; |
| 437 | } |
| 438 | |
| 439 | .wp-block-freeform.block-library-rich-text__tinymce blockquote cite { |
| 440 | color: #1a1a1a; |
| 441 | display: block; |
| 442 | font-size: 16px; |
| 443 | font-size: 1rem; |
| 444 | font-style: normal; |
| 445 | line-height: 1.75; |
| 446 | } |
| 447 | |
| 448 | .wp-block-freeform.block-library-rich-text__tinymce blockquote cite:before { |
| 449 | content: "\2014\00a0"; |
| 450 | } |
| 451 | |
| 452 | .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft { |
| 453 | margin: 0.3157894737em 1.4736842105em 1.473684211em 0; |
| 454 | } |
| 455 | |
| 456 | .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright { |
| 457 | margin: 0.3157894737em 0 1.473684211em 1.4736842105em; |
| 458 | } |
| 459 | |
| 460 | .wp-block-freeform.block-library-rich-text__tinymce blockquote.aligncenter { |
| 461 | margin-bottom: 1.473684211em; |
| 462 | } |
| 463 | |
| 464 | @media screen and (min-width: 44.375em) { |
| 465 | .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft, |
| 466 | .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright { |
| 467 | border-width: 4px 0 0 0; |
| 468 | padding: 0.9473684211em 0 0; |
| 469 | width: -webkit-calc(50% - 0.736842105em); |
| 470 | width: calc(50% - 0.736842105em); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote { |
| 475 | border-left-width: 0; |
| 476 | border-right-width: 4px; |
| 477 | overflow: hidden; |
| 478 | padding-left: 0; |
| 479 | padding-right: 1.263157895em; |
| 480 | } |
| 481 | |
| 482 | .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft { |
| 483 | float: left; |
| 484 | } |
| 485 | |
| 486 | .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright { |
| 487 | float: right; |
| 488 | } |
| 489 | |
| 490 | .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft { |
| 491 | margin: 0.3157894737em 0 1.473684211em 1.4736842105em; |
| 492 | } |
| 493 | |
| 494 | .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright { |
| 495 | margin: 0.3157894737em 1.4736842105em 1.473684211em 0; |
| 496 | } |
| 497 | |
| 498 | |
| 499 | /* Custom HTML */ |
| 500 | |
| 501 | .wp-block-html .CodeMirror-lines pre { |
| 502 | background-color: inherit; |
| 503 | border: inherit; |
| 504 | font-size: inherit; |
| 505 | line-height: inherit; |
| 506 | margin-bottom: inherit; |
| 507 | padding: inherit; |
| 508 | } |
| 509 | |
| 510 | /* Pullquote */ |
| 511 | |
| 512 | .editor-block-list__block .wp-block-pullquote blockquote { |
| 513 | border: 0; |
| 514 | margin: 0; |
| 515 | padding: 0; |
| 516 | } |
| 517 | |
| 518 | .wp-block-pullquote blockquote > .editor-rich-text p { |
| 519 | color: #686868; |
| 520 | font-size: 19px; |
| 521 | font-size: 1.1875rem; |
| 522 | } |
| 523 | |
| 524 | .wp-block-pullquote .wp-block-pullquote__citation { |
| 525 | color: #1a1a1a; |
| 526 | display: block; |
| 527 | font-size: 16px; |
| 528 | font-size: 1rem; |
| 529 | font-style: italic; |
| 530 | line-height: 1.75; |
| 531 | text-transform: none; |
| 532 | } |
| 533 | |
| 534 | .wp-block-pullquote .wp-block-pullquote__citation:before { |
| 535 | content: "\2014\00a0"; |
| 536 | } |
| 537 | |
| 538 | /* Table */ |
| 539 | |
| 540 | .editor-block-list__block table.wp-block-table th, |
| 541 | .editor-block-list__block table.wp-block-table td { |
| 542 | padding: 0; |
| 543 | } |
| 544 | |
| 545 | .rtl .wp-block-table th, |
| 546 | .rtl .wp-block-table td { |
| 547 | text-align: right; |
| 548 | } |
| 549 | |
| 550 | /*-------------------------------------------------------------- |
| 551 | 5.0 Blocks - Layout Elements |
| 552 | --------------------------------------------------------------*/ |
| 553 | |
| 554 | /* Buttons */ |
| 555 | .wp-block-button .wp-block-button__link { |
| 556 | background: #1a1a1a; |
| 557 | border: 0; |
| 558 | border-radius: 2px; |
| 559 | color: #fff; |
| 560 | font-family: Montserrat, "Helvetica Neue", sans-serif; |
| 561 | font-weight: 700; |
| 562 | letter-spacing: 0.046875em; |
| 563 | line-height: 1; |
| 564 | padding: 0.84375em 0.875em 0.78125em; |
| 565 | text-transform: uppercase; |
| 566 | } |
| 567 | |
| 568 | /*-------------------------------------------------------------- |
| 569 | 6.0 Blocks - Widgets |
| 570 | --------------------------------------------------------------*/ |
| 571 | |
| 572 | /* Comments */ |
| 573 | |
| 574 | .editor-block-list__block .wp-block-latest-comments__comment-meta a { |
| 575 | box-shadow: none; |
| 576 | font-weight: 700; |
| 577 | text-decoration: none; |
| 578 | } |
| 579 | |
| 580 | .wp-block-latest-comments__comment-date { |
| 581 | color: #686868; |
| 582 | font-family: Montserrat, "Helvetica Neue", sans-serif; |
| 583 | font-size: 13px; |
| 584 | font-size: 0.8125rem; |
| 585 | line-height: 1.6153846154; |
| 586 | } |
| 587 | |
| 588 | .wp-block-latest-comments .wp-block-latest-comments__comment { |
| 589 | border-top: 1px solid #d1d1d1; |
| 590 | margin-bottom: 0; |
| 591 | padding: 1.75em 0; |
| 592 | } |
| 593 | |
| 594 | .wp-block-latest-comments__comment-excerpt p:last-child { |
| 595 | margin-bottom: 0; |
| 596 | } |