| 1 |
/** |
| 2 |
* 1. Correct the line height in all browsers. |
| 3 |
* 2. Prevent adjustments of font size after orientation changes in iOS. |
| 4 |
*/ |
| 5 |
|
| 6 |
html { |
| 7 |
line-height: 1.15; /* 1 */ |
| 8 |
-webkit-text-size-adjust: 100%; /* 2 */ |
| 9 |
} |
| 10 |
|
| 11 |
/** |
| 12 |
* Remove the margin in all browsers. |
| 13 |
*/ |
| 14 |
|
| 15 |
body { |
| 16 |
margin: 0; |
| 17 |
} |
| 18 |
|
| 19 |
/** |
| 20 |
* Correct the font size and margin on `h1` elements within `section` and |
| 21 |
* `article` contexts in Chrome, Firefox, and Safari. |
| 22 |
*/ |
| 23 |
|
| 24 |
h1 { |
| 25 |
font-size: 2em; |
| 26 |
margin: 0.67em 0; |
| 27 |
} |
| 28 |
|
| 29 |
/* Grouping content |
| 30 |
========================================================================== */ |
| 31 |
|
| 32 |
/** |
| 33 |
* 1. Add the correct box sizing in Firefox. |
| 34 |
* 2. Show the overflow in Edge and IE. |
| 35 |
*/ |
| 36 |
|
| 37 |
hr { |
| 38 |
box-sizing: content-box; /* 1 */ |
| 39 |
height: 0; /* 1 */ |
| 40 |
overflow: visible; /* 2 */ |
| 41 |
} |
| 42 |
|
| 43 |
/** |
| 44 |
* 1. Correct the inheritance and scaling of font size in all browsers. |
| 45 |
* 2. Correct the odd `em` font sizing in all browsers. |
| 46 |
*/ |
| 47 |
|
| 48 |
pre { |
| 49 |
font-family: monospace, monospace; /* 1 */ |
| 50 |
font-size: 1em; /* 2 */ |
| 51 |
} |
| 52 |
|
| 53 |
/* Text-level semantics |
| 54 |
========================================================================== */ |
| 55 |
|
| 56 |
/** |
| 57 |
* Remove the gray background on active links in IE 10. |
| 58 |
*/ |
| 59 |
|
| 60 |
a { |
| 61 |
background-color: transparent; |
| 62 |
} |
| 63 |
|
| 64 |
/** |
| 65 |
* 1. Remove the bottom border in Chrome 57- |
| 66 |
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
| 67 |
*/ |
| 68 |
|
| 69 |
abbr[title] { |
| 70 |
border-bottom: none; /* 1 */ |
| 71 |
-webkit-text-decoration: underline dotted; |
| 72 |
text-decoration: underline dotted; /* 2 */ |
| 73 |
} |
| 74 |
|
| 75 |
/** |
| 76 |
* Add the correct font weight in Chrome, Edge, and Safari. |
| 77 |
*/ |
| 78 |
|
| 79 |
b, |
| 80 |
strong { |
| 81 |
font-weight: 700; |
| 82 |
} |
| 83 |
|
| 84 |
/** |
| 85 |
* 1. Correct the inheritance and scaling of font size in all browsers. |
| 86 |
* 2. Correct the odd `em` font sizing in all browsers. |
| 87 |
*/ |
| 88 |
|
| 89 |
code, |
| 90 |
kbd, |
| 91 |
samp { |
| 92 |
font-family: monospace, monospace; /* 1 */ |
| 93 |
font-size: 1em; /* 2 */ |
| 94 |
} |
| 95 |
|
| 96 |
/** |
| 97 |
* Add the correct font size in all browsers. |
| 98 |
*/ |
| 99 |
|
| 100 |
small { |
| 101 |
font-size: 80%; |
| 102 |
} |
| 103 |
|
| 104 |
/** |
| 105 |
* Prevent `sub` and `sup` elements from affecting the line height in |
| 106 |
* all browsers. |
| 107 |
*/ |
| 108 |
|
| 109 |
sub, |
| 110 |
sup { |
| 111 |
font-size: 75%; |
| 112 |
line-height: 0; |
| 113 |
position: relative; |
| 114 |
vertical-align: baseline; |
| 115 |
} |
| 116 |
|
| 117 |
sub { |
| 118 |
bottom: -0.25em; |
| 119 |
} |
| 120 |
|
| 121 |
sup { |
| 122 |
top: -0.5em; |
| 123 |
} |
| 124 |
|
| 125 |
/* Embedded content |
| 126 |
========================================================================== */ |
| 127 |
|
| 128 |
/** |
| 129 |
* Remove the border on images inside links in IE 10. |
| 130 |
*/ |
| 131 |
|
| 132 |
img { |
| 133 |
border-style: none; |
| 134 |
} |
| 135 |
|
| 136 |
/* Forms |
| 137 |
========================================================================== */ |
| 138 |
|
| 139 |
/** |
| 140 |
* 1. Change the font styles in all browsers. |
| 141 |
* 2. Remove the margin in Firefox and Safari. |
| 142 |
*/ |
| 143 |
|
| 144 |
button, |
| 145 |
input, |
| 146 |
optgroup, |
| 147 |
select, |
| 148 |
textarea { |
| 149 |
font-family: inherit; /* 1 */ |
| 150 |
font-size: 100%; /* 1 */ |
| 151 |
line-height: 1.15; /* 1 */ |
| 152 |
margin: 0; /* 2 */ |
| 153 |
} |
| 154 |
|
| 155 |
/** |
| 156 |
* Show the overflow in IE. |
| 157 |
* 1. Show the overflow in Edge. |
| 158 |
*/ |
| 159 |
|
| 160 |
button, |
| 161 |
input { |
| 162 |
/* 1 */ |
| 163 |
overflow: visible; |
| 164 |
} |
| 165 |
|
| 166 |
/** |
| 167 |
* Remove the inheritance of text transform in Edge, Firefox, and IE. |
| 168 |
* 1. Remove the inheritance of text transform in Firefox. |
| 169 |
*/ |
| 170 |
|
| 171 |
button, |
| 172 |
select { |
| 173 |
/* 1 */ |
| 174 |
text-transform: none; |
| 175 |
} |
| 176 |
|
| 177 |
/** |
| 178 |
* Correct the inability to style clickable types in iOS and Safari. |
| 179 |
*/ |
| 180 |
|
| 181 |
button, |
| 182 |
[type="button"], |
| 183 |
[type="reset"], |
| 184 |
[type="submit"] { |
| 185 |
-webkit-appearance: button; |
| 186 |
} |
| 187 |
|
| 188 |
/** |
| 189 |
* Remove the inner border and padding in Firefox. |
| 190 |
*/ |
| 191 |
|
| 192 |
button::-moz-focus-inner, |
| 193 |
[type="button"]::-moz-focus-inner, |
| 194 |
[type="reset"]::-moz-focus-inner, |
| 195 |
[type="submit"]::-moz-focus-inner { |
| 196 |
border-style: none; |
| 197 |
padding: 0; |
| 198 |
} |
| 199 |
|
| 200 |
/** |
| 201 |
* Restore the focus styles unset by the previous rule. |
| 202 |
*/ |
| 203 |
|
| 204 |
button:-moz-focusring, |
| 205 |
[type="button"]:-moz-focusring, |
| 206 |
[type="reset"]:-moz-focusring, |
| 207 |
[type="submit"]:-moz-focusring { |
| 208 |
outline: 1px dotted ButtonText; |
| 209 |
} |
| 210 |
|
| 211 |
/** |
| 212 |
* Correct the padding in Firefox. |
| 213 |
*/ |
| 214 |
|
| 215 |
fieldset { |
| 216 |
padding: 0.35em 0.75em 0.625em; |
| 217 |
} |
| 218 |
|
| 219 |
/** |
| 220 |
* 1. Correct the text wrapping in Edge and IE. |
| 221 |
* 2. Correct the color inheritance from `fieldset` elements in IE. |
| 222 |
* 3. Remove the padding so developers are not caught out when they zero out |
| 223 |
* `fieldset` elements in all browsers. |
| 224 |
*/ |
| 225 |
|
| 226 |
legend { |
| 227 |
box-sizing: border-box; /* 1 */ |
| 228 |
color: inherit; /* 2 */ |
| 229 |
display: table; /* 1 */ |
| 230 |
max-width: 100%; /* 1 */ |
| 231 |
padding: 0; /* 3 */ |
| 232 |
white-space: normal; /* 1 */ |
| 233 |
} |
| 234 |
|
| 235 |
/** |
| 236 |
* Add the correct vertical alignment in Chrome, Firefox, and Opera. |
| 237 |
*/ |
| 238 |
|
| 239 |
progress { |
| 240 |
vertical-align: baseline; |
| 241 |
} |
| 242 |
|
| 243 |
/** |
| 244 |
* Remove the default vertical scrollbar in IE 10+. |
| 245 |
*/ |
| 246 |
|
| 247 |
textarea { |
| 248 |
overflow: auto; |
| 249 |
} |
| 250 |
|
| 251 |
/** |
| 252 |
* 1. Add the correct box sizing in IE 10. |
| 253 |
* 2. Remove the padding in IE 10. |
| 254 |
*/ |
| 255 |
|
| 256 |
[type="checkbox"], |
| 257 |
[type="radio"] { |
| 258 |
box-sizing: border-box; /* 1 */ |
| 259 |
padding: 0; /* 2 */ |
| 260 |
} |
| 261 |
|
| 262 |
/** |
| 263 |
* Correct the cursor style of increment and decrement buttons in Chrome. |
| 264 |
*/ |
| 265 |
|
| 266 |
[type="number"]::-webkit-inner-spin-button, |
| 267 |
[type="number"]::-webkit-outer-spin-button { |
| 268 |
height: auto; |
| 269 |
} |
| 270 |
|
| 271 |
/** |
| 272 |
* 1. Correct the odd appearance in Chrome and Safari. |
| 273 |
* 2. Correct the outline style in Safari. |
| 274 |
*/ |
| 275 |
|
| 276 |
[type="search"] { |
| 277 |
-webkit-appearance: textfield; /* 1 */ |
| 278 |
outline-offset: -2px; /* 2 */ |
| 279 |
} |
| 280 |
|
| 281 |
/** |
| 282 |
* Remove the inner padding in Chrome and Safari on macOS. |
| 283 |
*/ |
| 284 |
|
| 285 |
[type="search"]::-webkit-search-decoration { |
| 286 |
-webkit-appearance: none; |
| 287 |
} |
| 288 |
|
| 289 |
/** |
| 290 |
* 1. Correct the inability to style clickable types in iOS and Safari. |
| 291 |
* 2. Change font properties to `inherit` in Safari. |
| 292 |
*/ |
| 293 |
|
| 294 |
::-webkit-file-upload-button { |
| 295 |
-webkit-appearance: button; /* 1 */ |
| 296 |
font: inherit; /* 2 */ |
| 297 |
} |
| 298 |
|
| 299 |
/* Interactive |
| 300 |
========================================================================== */ |
| 301 |
|
| 302 |
/* |
| 303 |
* Add the correct display in Edge, IE 10+, and Firefox. |
| 304 |
*/ |
| 305 |
|
| 306 |
details { |
| 307 |
display: block; |
| 308 |
} |
| 309 |
|
| 310 |
/* |
| 311 |
* Add the correct display in all browsers. |
| 312 |
*/ |
| 313 |
|
| 314 |
summary { |
| 315 |
display: list-item; |
| 316 |
} |
| 317 |
|
| 318 |
/* Misc |
| 319 |
========================================================================== */ |
| 320 |
|
| 321 |
/** |
| 322 |
* Add the correct display in IE 10+. |
| 323 |
*/ |
| 324 |
|
| 325 |
template { |
| 326 |
display: none; |
| 327 |
} |
| 328 |
|
| 329 |
/** |
| 330 |
* Add the correct display in IE 10. |
| 331 |
*/ |
| 332 |
|
| 333 |
[hidden] { |
| 334 |
display: none; |
| 335 |
} |
| 336 |
|
| 337 |
/*-------------------------------------------------------------- |
| 338 |
# Typography |
| 339 |
--------------------------------------------------------------*/ |
| 340 |
body, |
| 341 |
button, |
| 342 |
input, |
| 343 |
select, |
| 344 |
optgroup, |
| 345 |
textarea { |
| 346 |
/* color: #404040; */ |
| 347 |
/* font-family: sans-serif; */ |
| 348 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 349 |
font-size: 15px; |
| 350 |
/*font-size: 1rem;*/ |
| 351 |
line-height: 1.5; |
| 352 |
} |
| 353 |
|
| 354 |
h1, |
| 355 |
h2, |
| 356 |
h3, |
| 357 |
h4, |
| 358 |
h5, |
| 359 |
h6 { |
| 360 |
clear: both; |
| 361 |
} |
| 362 |
|
| 363 |
p { |
| 364 |
margin-bottom: 1.5em; |
| 365 |
} |
| 366 |
|
| 367 |
dfn, |
| 368 |
cite, |
| 369 |
em, |
| 370 |
i { |
| 371 |
font-style: italic; |
| 372 |
} |
| 373 |
|
| 374 |
blockquote { |
| 375 |
margin: 0 1.5em; |
| 376 |
} |
| 377 |
|
| 378 |
address { |
| 379 |
margin: 0 0 1.5em; |
| 380 |
} |
| 381 |
|
| 382 |
pre { |
| 383 |
background: #eee; |
| 384 |
font-family: "Courier 10 Pitch", Courier, monospace; |
| 385 |
font-size: 15px; |
| 386 |
font-size: 0.9375rem; |
| 387 |
line-height: 1.6; |
| 388 |
margin-bottom: 1.6em; |
| 389 |
max-width: 100%; |
| 390 |
overflow: auto; |
| 391 |
padding: 1.6em; |
| 392 |
} |
| 393 |
|
| 394 |
code, |
| 395 |
kbd, |
| 396 |
tt, |
| 397 |
var { |
| 398 |
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; |
| 399 |
font-size: 15px; |
| 400 |
font-size: 0.9375rem; |
| 401 |
} |
| 402 |
|
| 403 |
abbr, |
| 404 |
acronym { |
| 405 |
border-bottom: 1px dotted #666; |
| 406 |
cursor: help; |
| 407 |
} |
| 408 |
|
| 409 |
mark, |
| 410 |
ins { |
| 411 |
background: #fff9c0; |
| 412 |
text-decoration: none; |
| 413 |
} |
| 414 |
|
| 415 |
big { |
| 416 |
font-size: 125%; |
| 417 |
} |
| 418 |
|
| 419 |
/*-------------------------------------------------------------- |
| 420 |
# Elements |
| 421 |
--------------------------------------------------------------*/ |
| 422 |
html { |
| 423 |
box-sizing: border-box; |
| 424 |
} |
| 425 |
|
| 426 |
*, |
| 427 |
*::before, |
| 428 |
*::after { |
| 429 |
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ |
| 430 |
box-sizing: inherit; |
| 431 |
} |
| 432 |
|
| 433 |
body { |
| 434 |
background: #fff; |
| 435 |
/* Fallback for when there is no custom background color defined. */ |
| 436 |
} |
| 437 |
|
| 438 |
hr { |
| 439 |
background-color: #ccc; |
| 440 |
border: 0; |
| 441 |
height: 1px; |
| 442 |
margin-bottom: 1.5em; |
| 443 |
} |
| 444 |
|
| 445 |
ul, |
| 446 |
ol { |
| 447 |
margin: 0 0 1.5em 3em; |
| 448 |
} |
| 449 |
|
| 450 |
ul { |
| 451 |
list-style: disc; |
| 452 |
} |
| 453 |
|
| 454 |
ol { |
| 455 |
list-style: decimal; |
| 456 |
} |
| 457 |
|
| 458 |
li > ul, |
| 459 |
li > ol { |
| 460 |
margin-bottom: 0; |
| 461 |
margin-left: 1.5em; |
| 462 |
} |
| 463 |
|
| 464 |
dt { |
| 465 |
font-weight: 700; |
| 466 |
} |
| 467 |
|
| 468 |
dd { |
| 469 |
margin: 0 1.5em 1.5em; |
| 470 |
} |
| 471 |
|
| 472 |
img { |
| 473 |
height: auto; |
| 474 |
/* Make sure images are scaled correctly. */ |
| 475 |
max-width: 100%; |
| 476 |
/* Adhere to container width. */ |
| 477 |
} |
| 478 |
|
| 479 |
figure { |
| 480 |
margin: 1em 0; |
| 481 |
/* Extra wide images within figure tags don't overflow the content area. */ |
| 482 |
} |
| 483 |
|
| 484 |
table { |
| 485 |
margin: 0 0 1.5em; |
| 486 |
width: 100%; |
| 487 |
} |
| 488 |
|
| 489 |
/*-------------------------------------------------------------- |
| 490 |
# Forms |
| 491 |
--------------------------------------------------------------*/ |
| 492 |
button, |
| 493 |
input[type="button"], |
| 494 |
input[type="reset"], |
| 495 |
input[type="submit"] { |
| 496 |
border: 1px solid; |
| 497 |
border-color: #ccc #ccc #bbb; |
| 498 |
border-radius: 3px; |
| 499 |
background: #e6e6e6; |
| 500 |
color: rgba( 0, 0, 0, 0.8 ); |
| 501 |
font-size: 12px; |
| 502 |
font-size: 0.75rem; |
| 503 |
line-height: 1; |
| 504 |
padding: 0.6em 1em 0.4em; |
| 505 |
} |
| 506 |
|
| 507 |
button:hover, |
| 508 |
input[type="button"]:hover, |
| 509 |
input[type="reset"]:hover, |
| 510 |
input[type="submit"]:hover { |
| 511 |
border-color: #ccc #bbb #aaa; |
| 512 |
} |
| 513 |
|
| 514 |
button:active, |
| 515 |
button:focus, |
| 516 |
input[type="button"]:active, |
| 517 |
input[type="button"]:focus, |
| 518 |
input[type="reset"]:active, |
| 519 |
input[type="reset"]:focus, |
| 520 |
input[type="submit"]:active, |
| 521 |
input[type="submit"]:focus { |
| 522 |
border-color: #aaa #bbb #bbb; |
| 523 |
} |
| 524 |
|
| 525 |
input[type="text"], |
| 526 |
input[type="email"], |
| 527 |
input[type="url"], |
| 528 |
input[type="password"], |
| 529 |
input[type="search"], |
| 530 |
input[type="number"], |
| 531 |
input[type="tel"], |
| 532 |
input[type="range"], |
| 533 |
input[type="date"], |
| 534 |
input[type="month"], |
| 535 |
input[type="week"], |
| 536 |
input[type="time"], |
| 537 |
input[type="datetime"], |
| 538 |
input[type="datetime-local"], |
| 539 |
input[type="color"], |
| 540 |
textarea { |
| 541 |
color: #666; |
| 542 |
border: 1px solid #ccc; |
| 543 |
border-radius: 3px; |
| 544 |
padding: 3px; |
| 545 |
} |
| 546 |
|
| 547 |
input[type="text"]:focus, |
| 548 |
input[type="email"]:focus, |
| 549 |
input[type="url"]:focus, |
| 550 |
input[type="password"]:focus, |
| 551 |
input[type="search"]:focus, |
| 552 |
input[type="number"]:focus, |
| 553 |
input[type="tel"]:focus, |
| 554 |
input[type="range"]:focus, |
| 555 |
input[type="date"]:focus, |
| 556 |
input[type="month"]:focus, |
| 557 |
input[type="week"]:focus, |
| 558 |
input[type="time"]:focus, |
| 559 |
input[type="datetime"]:focus, |
| 560 |
input[type="datetime-local"]:focus, |
| 561 |
input[type="color"]:focus, |
| 562 |
textarea:focus { |
| 563 |
color: #111; |
| 564 |
} |
| 565 |
|
| 566 |
select { |
| 567 |
border: 1px solid #ccc; |
| 568 |
} |
| 569 |
|
| 570 |
textarea { |
| 571 |
width: 100%; |
| 572 |
} |
| 573 |
|
| 574 |
/*-------------------------------------------------------------- |
| 575 |
# Navigation |
| 576 |
--------------------------------------------------------------*/ |
| 577 |
/*-------------------------------------------------------------- |
| 578 |
## Links |
| 579 |
--------------------------------------------------------------*/ |
| 580 |
a { |
| 581 |
color: #4169e1; |
| 582 |
} |
| 583 |
|
| 584 |
/*a:visited { |
| 585 |
color: purple; |
| 586 |
}*/ |
| 587 |
|
| 588 |
/*a:hover, a:focus, a:active { |
| 589 |
color: midnightblue; |
| 590 |
} |
| 591 |
|
| 592 |
a:focus { |
| 593 |
outline: thin dotted; |
| 594 |
}*/ |
| 595 |
|
| 596 |
a:hover, |
| 597 |
a:active { |
| 598 |
outline: 0; |
| 599 |
} |
| 600 |
|
| 601 |
/*-------------------------------------------------------------- |
| 602 |
# Accessibility |
| 603 |
--------------------------------------------------------------*/ |
| 604 |
/* Text meant only for screen readers. */ |
| 605 |
.screen-reader-text { |
| 606 |
border: 0; |
| 607 |
clip: rect( 1px, 1px, 1px, 1px ); |
| 608 |
clip-path: inset( 50% ); |
| 609 |
height: 1px; |
| 610 |
margin: -1px; |
| 611 |
overflow: hidden; |
| 612 |
padding: 0; |
| 613 |
position: absolute !important; |
| 614 |
width: 1px; |
| 615 |
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ |
| 616 |
} |
| 617 |
|
| 618 |
.screen-reader-text:focus { |
| 619 |
background-color: #f1f1f1; |
| 620 |
border-radius: 3px; |
| 621 |
box-shadow: 0 0 2px 2px rgba( 0, 0, 0, 0.6 ); |
| 622 |
clip: auto !important; |
| 623 |
clip-path: none; |
| 624 |
color: #21759b; |
| 625 |
display: block; |
| 626 |
font-size: 14px; |
| 627 |
font-size: 0.875rem; |
| 628 |
font-weight: 700; |
| 629 |
height: auto; |
| 630 |
left: 5px; |
| 631 |
line-height: normal; |
| 632 |
padding: 15px 23px 14px; |
| 633 |
text-decoration: none; |
| 634 |
top: 5px; |
| 635 |
width: auto; |
| 636 |
z-index: 100000; |
| 637 |
/* Above WP toolbar. */ |
| 638 |
} |
| 639 |
|
| 640 |
/* Do not show the outline on the skip link target. */ |
| 641 |
#content[tabindex="-1"]:focus { |
| 642 |
outline: 0; |
| 643 |
} |
| 644 |
|
| 645 |
/*-------------------------------------------------------------- |
| 646 |
# Widgets |
| 647 |
--------------------------------------------------------------*/ |
| 648 |
.widget { |
| 649 |
margin: 0 0 1.5em; |
| 650 |
/* Make sure select elements fit in widgets. */ |
| 651 |
} |
| 652 |
|
| 653 |
.widget select { |
| 654 |
max-width: 100%; |
| 655 |
} |
| 656 |
|
| 657 |
/*-------------------------------------------------------------- |
| 658 |
# Media |
| 659 |
--------------------------------------------------------------*/ |
| 660 |
/* Make sure embeds and iframes fit their containers. */ |
| 661 |
embed, |
| 662 |
iframe, |
| 663 |
object { |
| 664 |
max-width: 100%; |
| 665 |
} |
| 666 |
|