| 1 | /* |
|---|
| 2 | Theme Name: Meta Write |
|---|
| 3 | Theme URI: https://github.com/TorontoDigits/meta-write |
|---|
| 4 | Author: TorontoDigits |
|---|
| 5 | Author URI: https://www.torontodigits.com/ |
|---|
| 6 | Description: Meta Write is a modern, customizable WordPress theme for news portals, blogs, and magazine-style websites. |
|---|
| 7 | Version: 1.0.0 |
|---|
| 8 | Requires at least: 5.0 |
|---|
| 9 | Tested up to: 6.8 |
|---|
| 10 | Requires PHP: 7.4 |
|---|
| 11 | License: GPL-2.0-or-later |
|---|
| 12 | License URI: https://www.gnu.org/licenses/gpl-2.0.html |
|---|
| 13 | Text Domain: meta-write |
|---|
| 14 | Tags: blog, news, grid-layout, translation-ready, threaded-comments, rtl-language-support |
|---|
| 15 | Copyright: (c) 2025 Toronto Digits |
|---|
| 16 | */ |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | /*-------------------------------------------------------------- |
|---|
| 20 | >>> TABLE OF CONTENTS: |
|---|
| 21 | ---------------------------------------------------------------- |
|---|
| 22 | # Generic |
|---|
| 23 | - Normalize |
|---|
| 24 | - Box sizing |
|---|
| 25 | # Base |
|---|
| 26 | - Typography |
|---|
| 27 | - Elements |
|---|
| 28 | - Links |
|---|
| 29 | - Forms |
|---|
| 30 | ## Layouts |
|---|
| 31 | # Components |
|---|
| 32 | - Navigation |
|---|
| 33 | - Posts and pages |
|---|
| 34 | - Comments |
|---|
| 35 | - Widgets |
|---|
| 36 | - Media |
|---|
| 37 | - Captions |
|---|
| 38 | - Galleries |
|---|
| 39 | # plugins |
|---|
| 40 | - Jetpack infinite scroll |
|---|
| 41 | # Utilities |
|---|
| 42 | - Accessibility |
|---|
| 43 | - Alignments |
|---|
| 44 | |
|---|
| 45 | --------------------------------------------------------------*/ |
|---|
| 46 | |
|---|
| 47 | /*-------------------------------------------------------------- |
|---|
| 48 | # Generic |
|---|
| 49 | --------------------------------------------------------------*/ |
|---|
| 50 | |
|---|
| 51 | /* Normalize |
|---|
| 52 | --------------------------------------------- */ |
|---|
| 53 | |
|---|
| 54 | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ |
|---|
| 55 | |
|---|
| 56 | /* Document |
|---|
| 57 | ========================================================================== */ |
|---|
| 58 | |
|---|
| 59 | /** |
|---|
| 60 | * 1. Correct the line height in all browsers. |
|---|
| 61 | * 2. Prevent adjustments of font size after orientation changes in iOS. |
|---|
| 62 | */ |
|---|
| 63 | html { |
|---|
| 64 | line-height: 1.15; |
|---|
| 65 | -webkit-text-size-adjust: 100%; |
|---|
| 66 | } |
|---|
| 67 | |
|---|
| 68 | /* Sections |
|---|
| 69 | ========================================================================== */ |
|---|
| 70 | |
|---|
| 71 | /** |
|---|
| 72 | * Remove the margin in all browsers. |
|---|
| 73 | */ |
|---|
| 74 | body { |
|---|
| 75 | margin: 0; |
|---|
| 76 | } |
|---|
| 77 | |
|---|
| 78 | /** |
|---|
| 79 | * Render the `main` element consistently in IE. |
|---|
| 80 | */ |
|---|
| 81 | main { |
|---|
| 82 | display: block; |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | /** |
|---|
| 86 | * Correct the font size and margin on `h1` elements within `section` and |
|---|
| 87 | * `article` contexts in Chrome, Firefox, and Safari. |
|---|
| 88 | */ |
|---|
| 89 | h1 { |
|---|
| 90 | font-size: 2em; |
|---|
| 91 | margin: 0.67em 0; |
|---|
| 92 | } |
|---|
| 93 | |
|---|
| 94 | /* Grouping content |
|---|
| 95 | ========================================================================== */ |
|---|
| 96 | |
|---|
| 97 | /** |
|---|
| 98 | * 1. Add the correct box sizing in Firefox. |
|---|
| 99 | * 2. Show the overflow in Edge and IE. |
|---|
| 100 | */ |
|---|
| 101 | hr { |
|---|
| 102 | box-sizing: content-box; |
|---|
| 103 | height: 0; |
|---|
| 104 | overflow: visible; |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | /** |
|---|
| 108 | * 1. Correct the inheritance and scaling of font size in all browsers. |
|---|
| 109 | * 2. Correct the odd `em` font sizing in all browsers. |
|---|
| 110 | */ |
|---|
| 111 | pre { |
|---|
| 112 | font-family: monospace, monospace; |
|---|
| 113 | font-size: 1em; |
|---|
| 114 | } |
|---|
| 115 | |
|---|
| 116 | /* Text-level semantics |
|---|
| 117 | ========================================================================== */ |
|---|
| 118 | |
|---|
| 119 | /** |
|---|
| 120 | * Remove the gray background on active links in IE 10. |
|---|
| 121 | */ |
|---|
| 122 | a { |
|---|
| 123 | background-color: transparent; |
|---|
| 124 | } |
|---|
| 125 | |
|---|
| 126 | /** |
|---|
| 127 | * 1. Remove the bottom border in Chrome 57- |
|---|
| 128 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
|---|
| 129 | */ |
|---|
| 130 | abbr[title] { |
|---|
| 131 | border-bottom: none; |
|---|
| 132 | text-decoration: underline; |
|---|
| 133 | text-decoration: underline dotted; |
|---|
| 134 | } |
|---|
| 135 | |
|---|
| 136 | /** |
|---|
| 137 | * Add the correct font weight in Chrome, Edge, and Safari. |
|---|
| 138 | */ |
|---|
| 139 | b, |
|---|
| 140 | strong { |
|---|
| 141 | font-weight: bolder; |
|---|
| 142 | } |
|---|
| 143 | |
|---|
| 144 | /** |
|---|
| 145 | * 1. Correct the inheritance and scaling of font size in all browsers. |
|---|
| 146 | * 2. Correct the odd `em` font sizing in all browsers. |
|---|
| 147 | */ |
|---|
| 148 | code, |
|---|
| 149 | kbd, |
|---|
| 150 | samp { |
|---|
| 151 | font-family: monospace, monospace; |
|---|
| 152 | font-size: 1em; |
|---|
| 153 | } |
|---|
| 154 | |
|---|
| 155 | /** |
|---|
| 156 | * Add the correct font size in all browsers. |
|---|
| 157 | */ |
|---|
| 158 | small { |
|---|
| 159 | font-size: 80%; |
|---|
| 160 | } |
|---|
| 161 | |
|---|
| 162 | /** |
|---|
| 163 | * Prevent `sub` and `sup` elements from affecting the line height in |
|---|
| 164 | * all browsers. |
|---|
| 165 | */ |
|---|
| 166 | sub, |
|---|
| 167 | sup { |
|---|
| 168 | font-size: 75%; |
|---|
| 169 | line-height: 0; |
|---|
| 170 | position: relative; |
|---|
| 171 | vertical-align: baseline; |
|---|
| 172 | } |
|---|
| 173 | |
|---|
| 174 | sub { |
|---|
| 175 | bottom: -0.25em; |
|---|
| 176 | } |
|---|
| 177 | |
|---|
| 178 | sup { |
|---|
| 179 | top: -0.5em; |
|---|
| 180 | } |
|---|
| 181 | |
|---|
| 182 | /* Embedded content |
|---|
| 183 | ========================================================================== */ |
|---|
| 184 | |
|---|
| 185 | /** |
|---|
| 186 | * Remove the border on images inside links in IE 10. |
|---|
| 187 | */ |
|---|
| 188 | img { |
|---|
| 189 | border-style: none; |
|---|
| 190 | } |
|---|
| 191 | |
|---|
| 192 | /* Forms |
|---|
| 193 | ========================================================================== */ |
|---|
| 194 | |
|---|
| 195 | /** |
|---|
| 196 | * 1. Change the font styles in all browsers. |
|---|
| 197 | * 2. Remove the margin in Firefox and Safari. |
|---|
| 198 | */ |
|---|
| 199 | button, |
|---|
| 200 | input, |
|---|
| 201 | optgroup, |
|---|
| 202 | select, |
|---|
| 203 | textarea { |
|---|
| 204 | font-family: inherit; |
|---|
| 205 | font-size: 100%; |
|---|
| 206 | line-height: 1.15; |
|---|
| 207 | margin: 0; |
|---|
| 208 | } |
|---|
| 209 | |
|---|
| 210 | /** |
|---|
| 211 | * Show the overflow in IE. |
|---|
| 212 | * 1. Show the overflow in Edge. |
|---|
| 213 | */ |
|---|
| 214 | button, |
|---|
| 215 | input { |
|---|
| 216 | overflow: visible; |
|---|
| 217 | } |
|---|
| 218 | |
|---|
| 219 | /** |
|---|
| 220 | * Remove the inheritance of text transform in Edge, Firefox, and IE. |
|---|
| 221 | * 1. Remove the inheritance of text transform in Firefox. |
|---|
| 222 | */ |
|---|
| 223 | button, |
|---|
| 224 | select { |
|---|
| 225 | text-transform: none; |
|---|
| 226 | } |
|---|
| 227 | |
|---|
| 228 | /** |
|---|
| 229 | * Correct the inability to style clickable types in iOS and Safari. |
|---|
| 230 | */ |
|---|
| 231 | button, |
|---|
| 232 | [type="button"], |
|---|
| 233 | [type="reset"], |
|---|
| 234 | [type="submit"] { |
|---|
| 235 | -webkit-appearance: button; |
|---|
| 236 | } |
|---|
| 237 | |
|---|
| 238 | /** |
|---|
| 239 | * Remove the inner border and padding in Firefox. |
|---|
| 240 | */ |
|---|
| 241 | button::-moz-focus-inner, |
|---|
| 242 | [type="button"]::-moz-focus-inner, |
|---|
| 243 | [type="reset"]::-moz-focus-inner, |
|---|
| 244 | [type="submit"]::-moz-focus-inner { |
|---|
| 245 | border-style: none; |
|---|
| 246 | padding: 0; |
|---|
| 247 | } |
|---|
| 248 | |
|---|
| 249 | /** |
|---|
| 250 | * Restore the focus styles unset by the previous rule. |
|---|
| 251 | */ |
|---|
| 252 | button:-moz-focusring, |
|---|
| 253 | [type="button"]:-moz-focusring, |
|---|
| 254 | [type="reset"]:-moz-focusring, |
|---|
| 255 | [type="submit"]:-moz-focusring { |
|---|
| 256 | outline: 1px dotted ButtonText; |
|---|
| 257 | } |
|---|
| 258 | |
|---|
| 259 | /** |
|---|
| 260 | * Correct the padding in Firefox. |
|---|
| 261 | */ |
|---|
| 262 | fieldset { |
|---|
| 263 | padding: 0.35em 0.75em 0.625em; |
|---|
| 264 | } |
|---|
| 265 | |
|---|
| 266 | /** |
|---|
| 267 | * 1. Correct the text wrapping in Edge and IE. |
|---|
| 268 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
|---|
| 269 | * 3. Remove the padding so developers are not caught out when they zero out |
|---|
| 270 | * `fieldset` elements in all browsers. |
|---|
| 271 | */ |
|---|
| 272 | legend { |
|---|
| 273 | box-sizing: border-box; |
|---|
| 274 | color: inherit; |
|---|
| 275 | display: table; |
|---|
| 276 | max-width: 100%; |
|---|
| 277 | padding: 0; |
|---|
| 278 | white-space: normal; |
|---|
| 279 | } |
|---|
| 280 | |
|---|
| 281 | /** |
|---|
| 282 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. |
|---|
| 283 | */ |
|---|
| 284 | progress { |
|---|
| 285 | vertical-align: baseline; |
|---|
| 286 | } |
|---|
| 287 | |
|---|
| 288 | /** |
|---|
| 289 | * Remove the default vertical scrollbar in IE 10+. |
|---|
| 290 | */ |
|---|
| 291 | textarea { |
|---|
| 292 | overflow: auto; |
|---|
| 293 | } |
|---|
| 294 | |
|---|
| 295 | /** |
|---|
| 296 | * 1. Add the correct box sizing in IE 10. |
|---|
| 297 | * 2. Remove the padding in IE 10. |
|---|
| 298 | */ |
|---|
| 299 | [type="checkbox"], |
|---|
| 300 | [type="radio"] { |
|---|
| 301 | box-sizing: border-box; |
|---|
| 302 | padding: 0; |
|---|
| 303 | } |
|---|
| 304 | |
|---|
| 305 | /** |
|---|
| 306 | * Correct the cursor style of increment and decrement buttons in Chrome. |
|---|
| 307 | */ |
|---|
| 308 | [type="number"]::-webkit-inner-spin-button, |
|---|
| 309 | [type="number"]::-webkit-outer-spin-button { |
|---|
| 310 | height: auto; |
|---|
| 311 | } |
|---|
| 312 | |
|---|
| 313 | /** |
|---|
| 314 | * 1. Correct the odd appearance in Chrome and Safari. |
|---|
| 315 | * 2. Correct the outline style in Safari. |
|---|
| 316 | */ |
|---|
| 317 | [type="search"] { |
|---|
| 318 | -webkit-appearance: textfield; |
|---|
| 319 | outline-offset: -2px; |
|---|
| 320 | } |
|---|
| 321 | |
|---|
| 322 | /** |
|---|
| 323 | * Remove the inner padding in Chrome and Safari on macOS. |
|---|
| 324 | */ |
|---|
| 325 | [type="search"]::-webkit-search-decoration { |
|---|
| 326 | -webkit-appearance: none; |
|---|
| 327 | } |
|---|
| 328 | |
|---|
| 329 | /** |
|---|
| 330 | * 1. Correct the inability to style clickable types in iOS and Safari. |
|---|
| 331 | * 2. Change font properties to `inherit` in Safari. |
|---|
| 332 | */ |
|---|
| 333 | ::-webkit-file-upload-button { |
|---|
| 334 | -webkit-appearance: button; |
|---|
| 335 | font: inherit; |
|---|
| 336 | } |
|---|
| 337 | |
|---|
| 338 | /* Interactive |
|---|
| 339 | ========================================================================== */ |
|---|
| 340 | |
|---|
| 341 | /* |
|---|
| 342 | * Add the correct display in Edge, IE 10+, and Firefox. |
|---|
| 343 | */ |
|---|
| 344 | details { |
|---|
| 345 | display: block; |
|---|
| 346 | } |
|---|
| 347 | |
|---|
| 348 | /* |
|---|
| 349 | * Add the correct display in all browsers. |
|---|
| 350 | */ |
|---|
| 351 | summary { |
|---|
| 352 | display: list-item; |
|---|
| 353 | } |
|---|
| 354 | |
|---|
| 355 | /* Misc |
|---|
| 356 | ========================================================================== */ |
|---|
| 357 | |
|---|
| 358 | /** |
|---|
| 359 | * Add the correct display in IE 10+. |
|---|
| 360 | */ |
|---|
| 361 | template { |
|---|
| 362 | display: none; |
|---|
| 363 | } |
|---|
| 364 | |
|---|
| 365 | /** |
|---|
| 366 | * Add the correct display in IE 10. |
|---|
| 367 | */ |
|---|
| 368 | [hidden] { |
|---|
| 369 | display: none; |
|---|
| 370 | } |
|---|
| 371 | |
|---|
| 372 | /* Box sizing |
|---|
| 373 | --------------------------------------------- */ |
|---|
| 374 | |
|---|
| 375 | /* Inherit box-sizing to more easily change it's value on a component level. |
|---|
| 376 | @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ |
|---|
| 377 | ::before, |
|---|
| 378 | ::after { |
|---|
| 379 | box-sizing: inherit; |
|---|
| 380 | } |
|---|
| 381 | |
|---|
| 382 | html { |
|---|
| 383 | box-sizing: border-box; |
|---|
| 384 | } |
|---|
| 385 | |
|---|
| 386 | /*-------------------------------------------------------------- |
|---|
| 387 | # Base |
|---|
| 388 | --------------------------------------------------------------*/ |
|---|
| 389 | |
|---|
| 390 | /* Typography |
|---|
| 391 | --------------------------------------------- */ |
|---|
| 392 | body, |
|---|
| 393 | button, |
|---|
| 394 | input, |
|---|
| 395 | select, |
|---|
| 396 | optgroup, |
|---|
| 397 | textarea { |
|---|
| 398 | color: #404040; |
|---|
| 399 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|---|
| 400 | font-size: 1rem; |
|---|
| 401 | line-height: 1.5; |
|---|
| 402 | } |
|---|
| 403 | |
|---|
| 404 | h1, |
|---|
| 405 | h2, |
|---|
| 406 | h3, |
|---|
| 407 | h4, |
|---|
| 408 | h5, |
|---|
| 409 | h6 { |
|---|
| 410 | clear: both; |
|---|
| 411 | } |
|---|
| 412 | |
|---|
| 413 | p { |
|---|
| 414 | margin-bottom: 1.5em; |
|---|
| 415 | } |
|---|
| 416 | |
|---|
| 417 | dfn, |
|---|
| 418 | cite, |
|---|
| 419 | em, |
|---|
| 420 | i { |
|---|
| 421 | font-style: italic; |
|---|
| 422 | } |
|---|
| 423 | |
|---|
| 424 | blockquote { |
|---|
| 425 | margin: 0 1.5em; |
|---|
| 426 | } |
|---|
| 427 | |
|---|
| 428 | address { |
|---|
| 429 | margin: 0 0 1.5em; |
|---|
| 430 | } |
|---|
| 431 | |
|---|
| 432 | pre { |
|---|
| 433 | background: #eee; |
|---|
| 434 | font-family: "Courier 10 Pitch", courier, monospace; |
|---|
| 435 | line-height: 1.6; |
|---|
| 436 | margin-bottom: 1.6em; |
|---|
| 437 | max-width: 100%; |
|---|
| 438 | overflow: auto; |
|---|
| 439 | padding: 1.6em; |
|---|
| 440 | } |
|---|
| 441 | |
|---|
| 442 | code, |
|---|
| 443 | kbd, |
|---|
| 444 | tt, |
|---|
| 445 | var { |
|---|
| 446 | font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; |
|---|
| 447 | } |
|---|
| 448 | |
|---|
| 449 | abbr, |
|---|
| 450 | acronym { |
|---|
| 451 | border-bottom: 1px dotted #666; |
|---|
| 452 | cursor: help; |
|---|
| 453 | } |
|---|
| 454 | |
|---|
| 455 | mark, |
|---|
| 456 | ins { |
|---|
| 457 | background: #fff9c0; |
|---|
| 458 | text-decoration: none; |
|---|
| 459 | } |
|---|
| 460 | |
|---|
| 461 | big { |
|---|
| 462 | font-size: 125%; |
|---|
| 463 | } |
|---|
| 464 | |
|---|
| 465 | /* Elements |
|---|
| 466 | --------------------------------------------- */ |
|---|
| 467 | body { |
|---|
| 468 | background: #fff; |
|---|
| 469 | } |
|---|
| 470 | |
|---|
| 471 | hr { |
|---|
| 472 | background-color: #ccc; |
|---|
| 473 | border: 0; |
|---|
| 474 | height: 1px; |
|---|
| 475 | margin-bottom: 1.5em; |
|---|
| 476 | } |
|---|
| 477 | |
|---|
| 478 | ul, |
|---|
| 479 | ol { |
|---|
| 480 | margin: 0 3em 1.5em 0; |
|---|
| 481 | } |
|---|
| 482 | |
|---|
| 483 | ul { |
|---|
| 484 | list-style: disc; |
|---|
| 485 | } |
|---|
| 486 | |
|---|
| 487 | ol { |
|---|
| 488 | list-style: decimal; |
|---|
| 489 | } |
|---|
| 490 | |
|---|
| 491 | li > ul, |
|---|
| 492 | li > ol { |
|---|
| 493 | margin-bottom: 0; |
|---|
| 494 | margin-right: 1.5em; |
|---|
| 495 | } |
|---|
| 496 | |
|---|
| 497 | dt { |
|---|
| 498 | font-weight: 700; |
|---|
| 499 | } |
|---|
| 500 | |
|---|
| 501 | dd { |
|---|
| 502 | margin: 0 1.5em 1.5em; |
|---|
| 503 | } |
|---|
| 504 | |
|---|
| 505 | /* Make sure embeds and iframes fit their containers. */ |
|---|
| 506 | embed, |
|---|
| 507 | iframe, |
|---|
| 508 | object { |
|---|
| 509 | max-width: 100%; |
|---|
| 510 | } |
|---|
| 511 | |
|---|
| 512 | img { |
|---|
| 513 | height: auto; |
|---|
| 514 | max-width: 100%; |
|---|
| 515 | } |
|---|
| 516 | |
|---|
| 517 | figure { |
|---|
| 518 | margin: 1em 0; |
|---|
| 519 | } |
|---|
| 520 | |
|---|
| 521 | table { |
|---|
| 522 | margin: 0 0 1.5em; |
|---|
| 523 | width: 100%; |
|---|
| 524 | } |
|---|
| 525 | |
|---|
| 526 | /* Links |
|---|
| 527 | --------------------------------------------- */ |
|---|
| 528 | a { |
|---|
| 529 | color: #4169e1; |
|---|
| 530 | } |
|---|
| 531 | |
|---|
| 532 | a:visited { |
|---|
| 533 | color: #800080; |
|---|
| 534 | } |
|---|
| 535 | |
|---|
| 536 | a:hover, |
|---|
| 537 | a:focus, |
|---|
| 538 | a:active { |
|---|
| 539 | color: #191970; |
|---|
| 540 | } |
|---|
| 541 | |
|---|
| 542 | a:focus { |
|---|
| 543 | outline: thin dotted; |
|---|
| 544 | } |
|---|
| 545 | |
|---|
| 546 | a:hover, |
|---|
| 547 | a:active { |
|---|
| 548 | outline: 0; |
|---|
| 549 | } |
|---|
| 550 | |
|---|
| 551 | /* Forms |
|---|
| 552 | --------------------------------------------- */ |
|---|
| 553 | button, |
|---|
| 554 | input[type="button"], |
|---|
| 555 | input[type="reset"], |
|---|
| 556 | input[type="submit"] { |
|---|
| 557 | border: 1px solid; |
|---|
| 558 | border-color: #ccc #ccc #bbb; |
|---|
| 559 | border-radius: 3px; |
|---|
| 560 | background: #e6e6e6; |
|---|
| 561 | color: rgba(0, 0, 0, 0.8); |
|---|
| 562 | line-height: 1; |
|---|
| 563 | padding: 0.6em 1em 0.4em; |
|---|
| 564 | } |
|---|
| 565 | |
|---|
| 566 | button:hover, |
|---|
| 567 | input[type="button"]:hover, |
|---|
| 568 | input[type="reset"]:hover, |
|---|
| 569 | input[type="submit"]:hover { |
|---|
| 570 | border-color: #ccc #bbb #aaa; |
|---|
| 571 | } |
|---|
| 572 | |
|---|
| 573 | button:active, |
|---|
| 574 | button:focus, |
|---|
| 575 | input[type="button"]:active, |
|---|
| 576 | input[type="button"]:focus, |
|---|
| 577 | input[type="reset"]:active, |
|---|
| 578 | input[type="reset"]:focus, |
|---|
| 579 | input[type="submit"]:active, |
|---|
| 580 | input[type="submit"]:focus { |
|---|
| 581 | border-color: #aaa #bbb #bbb; |
|---|
| 582 | } |
|---|
| 583 | |
|---|
| 584 | input[type="text"], |
|---|
| 585 | input[type="email"], |
|---|
| 586 | input[type="url"], |
|---|
| 587 | input[type="password"], |
|---|
| 588 | input[type="search"], |
|---|
| 589 | input[type="number"], |
|---|
| 590 | input[type="tel"], |
|---|
| 591 | input[type="range"], |
|---|
| 592 | input[type="date"], |
|---|
| 593 | input[type="month"], |
|---|
| 594 | input[type="week"], |
|---|
| 595 | input[type="time"], |
|---|
| 596 | input[type="datetime"], |
|---|
| 597 | input[type="datetime-local"], |
|---|
| 598 | input[type="color"], |
|---|
| 599 | textarea { |
|---|
| 600 | color: #666; |
|---|
| 601 | border: 1px solid #ccc; |
|---|
| 602 | border-radius: 3px; |
|---|
| 603 | padding: 3px; |
|---|
| 604 | } |
|---|
| 605 | |
|---|
| 606 | input[type="text"]:focus, |
|---|
| 607 | input[type="email"]:focus, |
|---|
| 608 | input[type="url"]:focus, |
|---|
| 609 | input[type="password"]:focus, |
|---|
| 610 | input[type="search"]:focus, |
|---|
| 611 | input[type="number"]:focus, |
|---|
| 612 | input[type="tel"]:focus, |
|---|
| 613 | input[type="range"]:focus, |
|---|
| 614 | input[type="date"]:focus, |
|---|
| 615 | input[type="month"]:focus, |
|---|
| 616 | input[type="week"]:focus, |
|---|
| 617 | input[type="time"]:focus, |
|---|
| 618 | input[type="datetime"]:focus, |
|---|
| 619 | input[type="datetime-local"]:focus, |
|---|
| 620 | input[type="color"]:focus, |
|---|
| 621 | textarea:focus { |
|---|
| 622 | color: #111; |
|---|
| 623 | } |
|---|
| 624 | |
|---|
| 625 | select { |
|---|
| 626 | border: 1px solid #ccc; |
|---|
| 627 | } |
|---|
| 628 | |
|---|
| 629 | textarea { |
|---|
| 630 | width: 100%; |
|---|
| 631 | } |
|---|
| 632 | |
|---|
| 633 | /*-------------------------------------------------------------- |
|---|
| 634 | # Layouts |
|---|
| 635 | --------------------------------------------------------------*/ |
|---|
| 636 | |
|---|
| 637 | /*-------------------------------------------------------------- |
|---|
| 638 | # Components |
|---|
| 639 | --------------------------------------------------------------*/ |
|---|
| 640 | |
|---|
| 641 | /* Navigation |
|---|
| 642 | --------------------------------------------- */ |
|---|
| 643 | .main-navigation { |
|---|
| 644 | display: block; |
|---|
| 645 | width: 100%; |
|---|
| 646 | } |
|---|
| 647 | |
|---|
| 648 | .main-navigation ul { |
|---|
| 649 | display: none; |
|---|
| 650 | |
|---|
| 651 | margin: 0; |
|---|
| 652 | padding-right: 0; |
|---|
| 653 | } |
|---|
| 654 | |
|---|
| 655 | .main-navigation ul ul { |
|---|
| 656 | box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); |
|---|
| 657 | float: right; |
|---|
| 658 | position: absolute; |
|---|
| 659 | top: 100%; |
|---|
| 660 | right: -999em; |
|---|
| 661 | z-index: 99999; |
|---|
| 662 | } |
|---|
| 663 | |
|---|
| 664 | .main-navigation ul ul ul { |
|---|
| 665 | right: -999em; |
|---|
| 666 | top: 0; |
|---|
| 667 | } |
|---|
| 668 | |
|---|
| 669 | .main-navigation ul ul li:hover > ul, |
|---|
| 670 | .main-navigation ul ul li.focus > ul { |
|---|
| 671 | display: block; |
|---|
| 672 | right: auto; |
|---|
| 673 | } |
|---|
| 674 | |
|---|
| 675 | .main-navigation ul ul a { |
|---|
| 676 | width: 200px; |
|---|
| 677 | } |
|---|
| 678 | |
|---|
| 679 | .main-navigation ul li:hover > ul, |
|---|
| 680 | .main-navigation ul li.focus > ul { |
|---|
| 681 | right: auto; |
|---|
| 682 | } |
|---|
| 683 | |
|---|
| 684 | .main-navigation li { |
|---|
| 685 | position: relative; |
|---|
| 686 | } |
|---|
| 687 | |
|---|
| 688 | .main-navigation a { |
|---|
| 689 | display: block; |
|---|
| 690 | text-decoration: none; |
|---|
| 691 | } |
|---|
| 692 | |
|---|
| 693 | /* Small menu. */ |
|---|
| 694 | .menu-toggle, |
|---|
| 695 | .main-navigation.toggled ul { |
|---|
| 696 | display: block; |
|---|
| 697 | } |
|---|
| 698 | |
|---|
| 699 | @media screen and (min-width: 37.5em) { |
|---|
| 700 | |
|---|
| 701 | .menu-toggle { |
|---|
| 702 | display: none; |
|---|
| 703 | } |
|---|
| 704 | |
|---|
| 705 | .main-navigation ul { |
|---|
| 706 | display: flex; |
|---|
| 707 | } |
|---|
| 708 | } |
|---|
| 709 | |
|---|
| 710 | .site-main .comment-navigation, |
|---|
| 711 | .site-main |
|---|
| 712 | .posts-navigation, |
|---|
| 713 | .site-main |
|---|
| 714 | .post-navigation { |
|---|
| 715 | margin: 0 0 1.5em; |
|---|
| 716 | } |
|---|
| 717 | |
|---|
| 718 | .comment-navigation .nav-links, |
|---|
| 719 | .posts-navigation .nav-links, |
|---|
| 720 | .post-navigation .nav-links { |
|---|
| 721 | display: flex; |
|---|
| 722 | } |
|---|
| 723 | |
|---|
| 724 | .comment-navigation .nav-previous, |
|---|
| 725 | .posts-navigation .nav-previous, |
|---|
| 726 | .post-navigation .nav-previous { |
|---|
| 727 | flex: 1 0 50%; |
|---|
| 728 | } |
|---|
| 729 | |
|---|
| 730 | .comment-navigation .nav-next, |
|---|
| 731 | .posts-navigation .nav-next, |
|---|
| 732 | .post-navigation .nav-next { |
|---|
| 733 | text-align: end; |
|---|
| 734 | flex: 1 0 50%; |
|---|
| 735 | } |
|---|
| 736 | |
|---|
| 737 | /* Posts and pages |
|---|
| 738 | --------------------------------------------- */ |
|---|
| 739 | .sticky { |
|---|
| 740 | display: block; |
|---|
| 741 | } |
|---|
| 742 | |
|---|
| 743 | .post, |
|---|
| 744 | .page { |
|---|
| 745 | margin: 0 0 1.5em; |
|---|
| 746 | } |
|---|
| 747 | |
|---|
| 748 | .updated:not(.published) { |
|---|
| 749 | display: none; |
|---|
| 750 | } |
|---|
| 751 | |
|---|
| 752 | .page-content, |
|---|
| 753 | .entry-content, |
|---|
| 754 | .entry-summary { |
|---|
| 755 | margin: 1.5em 0 0; |
|---|
| 756 | } |
|---|
| 757 | |
|---|
| 758 | .page-links { |
|---|
| 759 | clear: both; |
|---|
| 760 | margin: 0 0 1.5em; |
|---|
| 761 | } |
|---|
| 762 | |
|---|
| 763 | /* Comments |
|---|
| 764 | --------------------------------------------- */ |
|---|
| 765 | .comment-content a { |
|---|
| 766 | word-wrap: break-word; |
|---|
| 767 | } |
|---|
| 768 | |
|---|
| 769 | .bypostauthor { |
|---|
| 770 | display: block; |
|---|
| 771 | } |
|---|
| 772 | |
|---|
| 773 | /* Widgets |
|---|
| 774 | --------------------------------------------- */ |
|---|
| 775 | .widget { |
|---|
| 776 | margin: 0 0 1.5em; |
|---|
| 777 | } |
|---|
| 778 | |
|---|
| 779 | .widget select { |
|---|
| 780 | max-width: 100%; |
|---|
| 781 | } |
|---|
| 782 | |
|---|
| 783 | /* Media |
|---|
| 784 | --------------------------------------------- */ |
|---|
| 785 | .page-content .wp-smiley, |
|---|
| 786 | .entry-content .wp-smiley, |
|---|
| 787 | .comment-content .wp-smiley { |
|---|
| 788 | border: none; |
|---|
| 789 | margin-bottom: 0; |
|---|
| 790 | margin-top: 0; |
|---|
| 791 | padding: 0; |
|---|
| 792 | } |
|---|
| 793 | |
|---|
| 794 | /* Make sure logo link wraps around logo image. */ |
|---|
| 795 | .custom-logo-link { |
|---|
| 796 | display: inline-block; |
|---|
| 797 | } |
|---|
| 798 | |
|---|
| 799 | /* Captions |
|---|
| 800 | --------------------------------------------- */ |
|---|
| 801 | .wp-caption { |
|---|
| 802 | margin-bottom: 1.5em; |
|---|
| 803 | max-width: 100%; |
|---|
| 804 | } |
|---|
| 805 | |
|---|
| 806 | .wp-caption img[class*="wp-image-"] { |
|---|
| 807 | display: block; |
|---|
| 808 | margin-right: auto; |
|---|
| 809 | margin-left: auto; |
|---|
| 810 | } |
|---|
| 811 | |
|---|
| 812 | .wp-caption .wp-caption-text { |
|---|
| 813 | margin: 0.8075em 0; |
|---|
| 814 | } |
|---|
| 815 | |
|---|
| 816 | .wp-caption-text { |
|---|
| 817 | text-align: center; |
|---|
| 818 | } |
|---|
| 819 | |
|---|
| 820 | /* Galleries |
|---|
| 821 | --------------------------------------------- */ |
|---|
| 822 | .gallery { |
|---|
| 823 | margin-bottom: 1.5em; |
|---|
| 824 | display: grid; |
|---|
| 825 | grid-gap: 1.5em; |
|---|
| 826 | } |
|---|
| 827 | |
|---|
| 828 | .gallery-item { |
|---|
| 829 | display: inline-block; |
|---|
| 830 | text-align: center; |
|---|
| 831 | width: 100%; |
|---|
| 832 | } |
|---|
| 833 | |
|---|
| 834 | .gallery-columns-2 { |
|---|
| 835 | grid-template-columns: repeat(2, 1fr); |
|---|
| 836 | } |
|---|
| 837 | |
|---|
| 838 | .gallery-columns-3 { |
|---|
| 839 | grid-template-columns: repeat(3, 1fr); |
|---|
| 840 | } |
|---|
| 841 | |
|---|
| 842 | .gallery-columns-4 { |
|---|
| 843 | grid-template-columns: repeat(4, 1fr); |
|---|
| 844 | } |
|---|
| 845 | |
|---|
| 846 | .gallery-columns-5 { |
|---|
| 847 | grid-template-columns: repeat(5, 1fr); |
|---|
| 848 | } |
|---|
| 849 | |
|---|
| 850 | .gallery-columns-6 { |
|---|
| 851 | grid-template-columns: repeat(6, 1fr); |
|---|
| 852 | } |
|---|
| 853 | |
|---|
| 854 | .gallery-columns-7 { |
|---|
| 855 | grid-template-columns: repeat(7, 1fr); |
|---|
| 856 | } |
|---|
| 857 | |
|---|
| 858 | .gallery-columns-8 { |
|---|
| 859 | grid-template-columns: repeat(8, 1fr); |
|---|
| 860 | } |
|---|
| 861 | |
|---|
| 862 | .gallery-columns-9 { |
|---|
| 863 | grid-template-columns: repeat(9, 1fr); |
|---|
| 864 | } |
|---|
| 865 | |
|---|
| 866 | .gallery-caption { |
|---|
| 867 | display: block; |
|---|
| 868 | } |
|---|
| 869 | |
|---|
| 870 | /*-------------------------------------------------------------- |
|---|
| 871 | # Plugins |
|---|
| 872 | --------------------------------------------------------------*/ |
|---|
| 873 | |
|---|
| 874 | /* Jetpack infinite scroll |
|---|
| 875 | --------------------------------------------- */ |
|---|
| 876 | |
|---|
| 877 | .infinite-scroll .posts-navigation, |
|---|
| 878 | .infinite-scroll.neverending .site-footer { |
|---|
| 879 | display: none; |
|---|
| 880 | } |
|---|
| 881 | |
|---|
| 882 | .infinity-end.neverending .site-footer { |
|---|
| 883 | display: block; |
|---|
| 884 | } |
|---|
| 885 | |
|---|
| 886 | /*-------------------------------------------------------------- |
|---|
| 887 | # Utilities |
|---|
| 888 | --------------------------------------------------------------*/ |
|---|
| 889 | |
|---|
| 890 | /* Accessibility |
|---|
| 891 | --------------------------------------------- */ |
|---|
| 892 | |
|---|
| 893 | /* Text meant only for screen readers. */ |
|---|
| 894 | .screen-reader-text { |
|---|
| 895 | border: 0; |
|---|
| 896 | clip: rect(1px, 1px, 1px, 1px); |
|---|
| 897 | clip-path: inset(50%); |
|---|
| 898 | height: 1px; |
|---|
| 899 | margin: -1px; |
|---|
| 900 | overflow: hidden; |
|---|
| 901 | padding: 0; |
|---|
| 902 | position: absolute !important; |
|---|
| 903 | width: 1px; |
|---|
| 904 | word-wrap: normal !important; |
|---|
| 905 | } |
|---|
| 906 | |
|---|
| 907 | .screen-reader-text:focus { |
|---|
| 908 | background-color: #f1f1f1; |
|---|
| 909 | border-radius: 3px; |
|---|
| 910 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
|---|
| 911 | clip: auto !important; |
|---|
| 912 | clip-path: none; |
|---|
| 913 | color: #21759b; |
|---|
| 914 | display: block; |
|---|
| 915 | font-size: 0.875rem; |
|---|
| 916 | font-weight: 700; |
|---|
| 917 | height: auto; |
|---|
| 918 | right: 5px; |
|---|
| 919 | line-height: normal; |
|---|
| 920 | padding: 15px 23px 14px; |
|---|
| 921 | text-decoration: none; |
|---|
| 922 | top: 5px; |
|---|
| 923 | width: auto; |
|---|
| 924 | z-index: 100000; |
|---|
| 925 | } |
|---|
| 926 | |
|---|
| 927 | #primary[tabindex="-1"]:focus { |
|---|
| 928 | outline: 0; |
|---|
| 929 | } |
|---|
| 930 | |
|---|
| 931 | /* Alignments |
|---|
| 932 | --------------------------------------------- */ |
|---|
| 933 | .alignleft { |
|---|
| 934 | float: left; |
|---|
| 935 | margin-right: 1.5em; |
|---|
| 936 | margin-bottom: 1.5em; |
|---|
| 937 | } |
|---|
| 938 | |
|---|
| 939 | .alignright { |
|---|
| 940 | float: right; |
|---|
| 941 | margin-left: 1.5em; |
|---|
| 942 | margin-bottom: 1.5em; |
|---|
| 943 | } |
|---|
| 944 | |
|---|
| 945 | .aligncenter { |
|---|
| 946 | clear: both; |
|---|
| 947 | display: block; |
|---|
| 948 | margin-right: auto; |
|---|
| 949 | margin-left: auto; |
|---|
| 950 | margin-bottom: 1.5em; |
|---|
| 951 | } |
|---|