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