base.css
421 lines
| 1 | html { |
| 2 | font-family: sans-serif; |
| 3 | -webkit-text-size-adjust: 100%; |
| 4 | -ms-text-size-adjust: 100%; |
| 5 | } |
| 6 | |
| 7 | body { |
| 8 | margin: 0; |
| 9 | } |
| 10 | *, |
| 11 | *::before, |
| 12 | *::after { |
| 13 | box-sizing: inherit; |
| 14 | } |
| 15 | article, |
| 16 | aside, |
| 17 | details, |
| 18 | figcaption, |
| 19 | figure, |
| 20 | footer, |
| 21 | header, |
| 22 | main, |
| 23 | menu, |
| 24 | nav, |
| 25 | section, |
| 26 | summary { |
| 27 | display: block; |
| 28 | } |
| 29 | |
| 30 | audio, |
| 31 | canvas, |
| 32 | progress, |
| 33 | video { |
| 34 | display: inline-block; |
| 35 | vertical-align: baseline; |
| 36 | } |
| 37 | |
| 38 | audio:not([controls]) { |
| 39 | display: none; |
| 40 | height: 0; |
| 41 | } |
| 42 | |
| 43 | [hidden], |
| 44 | template { |
| 45 | display: none; |
| 46 | } |
| 47 | |
| 48 | a { |
| 49 | background-color: transparent; |
| 50 | } |
| 51 | |
| 52 | a:active, |
| 53 | a:hover { |
| 54 | outline: 0; |
| 55 | } |
| 56 | |
| 57 | abbr[title] { |
| 58 | border-bottom: 1px dotted; |
| 59 | } |
| 60 | |
| 61 | b, |
| 62 | strong { |
| 63 | font-weight: bold; |
| 64 | } |
| 65 | |
| 66 | dfn { |
| 67 | font-style: italic; |
| 68 | } |
| 69 | |
| 70 | h1 { |
| 71 | font-size: 2.44em; |
| 72 | margin: 0.67em 0; |
| 73 | line-height: 1.4; |
| 74 | } |
| 75 | |
| 76 | h2 { |
| 77 | font-size: 1.95em; |
| 78 | line-height: 1.4; |
| 79 | } |
| 80 | |
| 81 | h3 { |
| 82 | font-size: 1.56em; |
| 83 | line-height: 1.4; |
| 84 | } |
| 85 | |
| 86 | h4 { |
| 87 | font-size: 1.25em; |
| 88 | line-height: 1.5; |
| 89 | } |
| 90 | |
| 91 | h5 { |
| 92 | font-size: 1em; |
| 93 | } |
| 94 | |
| 95 | h6 { |
| 96 | font-size: 0.8em; |
| 97 | } |
| 98 | |
| 99 | mark { |
| 100 | background: #ff0; |
| 101 | color: #000; |
| 102 | } |
| 103 | |
| 104 | small { |
| 105 | font-size: 80%; |
| 106 | } |
| 107 | |
| 108 | sub, |
| 109 | sup { |
| 110 | font-size: 75%; |
| 111 | line-height: 0; |
| 112 | position: relative; |
| 113 | vertical-align: baseline; |
| 114 | } |
| 115 | |
| 116 | sup { |
| 117 | top: -0.5em; |
| 118 | } |
| 119 | |
| 120 | sub { |
| 121 | bottom: -0.25em; |
| 122 | } |
| 123 | |
| 124 | img { |
| 125 | border: 0; |
| 126 | } |
| 127 | |
| 128 | svg:not(:root) { |
| 129 | overflow: hidden; |
| 130 | } |
| 131 | |
| 132 | figure { |
| 133 | margin: 1em 40px; |
| 134 | } |
| 135 | |
| 136 | hr { |
| 137 | box-sizing: content-box; |
| 138 | height: 0; |
| 139 | } |
| 140 | |
| 141 | pre { |
| 142 | overflow: auto; |
| 143 | } |
| 144 | |
| 145 | code, |
| 146 | kbd, |
| 147 | pre, |
| 148 | samp { |
| 149 | font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; |
| 150 | font-size: 0.875rem; |
| 151 | } |
| 152 | |
| 153 | button, |
| 154 | input, |
| 155 | optgroup, |
| 156 | select, |
| 157 | textarea { |
| 158 | color: inherit; |
| 159 | font: inherit; |
| 160 | margin: 0; |
| 161 | } |
| 162 | |
| 163 | button { |
| 164 | overflow: visible; |
| 165 | } |
| 166 | |
| 167 | button, |
| 168 | select { |
| 169 | text-transform: none; |
| 170 | } |
| 171 | |
| 172 | button, |
| 173 | html input[type='button'], |
| 174 | input[type='reset'], |
| 175 | input[type='submit'] { |
| 176 | -webkit-appearance: button; |
| 177 | cursor: pointer; |
| 178 | } |
| 179 | |
| 180 | button[disabled], |
| 181 | html input[disabled] { |
| 182 | cursor: default; |
| 183 | } |
| 184 | |
| 185 | button::-moz-focus-inner, |
| 186 | input::-moz-focus-inner { |
| 187 | border: 0; |
| 188 | padding: 0; |
| 189 | } |
| 190 | |
| 191 | input { |
| 192 | line-height: normal; |
| 193 | } |
| 194 | |
| 195 | input[type='checkbox'], |
| 196 | input[type='radio'] { |
| 197 | box-sizing: border-box; |
| 198 | padding: 0; |
| 199 | } |
| 200 | |
| 201 | input[type='number']::-webkit-inner-spin-button, |
| 202 | input[type='number']::-webkit-outer-spin-button { |
| 203 | height: auto; |
| 204 | } |
| 205 | |
| 206 | input[type='search']::-webkit-search-cancel-button, |
| 207 | input[type='search']::-webkit-search-decoration { |
| 208 | -webkit-appearance: none; |
| 209 | } |
| 210 | |
| 211 | fieldset { |
| 212 | border: 1px solid #c0c0c0; |
| 213 | margin: 0 2px; |
| 214 | padding: 0.35em 0.625em 0.75em; |
| 215 | } |
| 216 | |
| 217 | legend { |
| 218 | border: 0; |
| 219 | padding: 0; |
| 220 | } |
| 221 | |
| 222 | textarea { |
| 223 | overflow: auto; |
| 224 | } |
| 225 | |
| 226 | optgroup { |
| 227 | font-weight: bold; |
| 228 | } |
| 229 | |
| 230 | table { |
| 231 | border-collapse: collapse; |
| 232 | border-spacing: 0; |
| 233 | } |
| 234 | |
| 235 | td, |
| 236 | th { |
| 237 | padding: 0; |
| 238 | } |
| 239 | |
| 240 | .screen-reader-text { |
| 241 | clip: rect(1px, 1px, 1px, 1px); |
| 242 | position: absolute !important; |
| 243 | height: 1px; |
| 244 | width: 1px; |
| 245 | margin: -1px; |
| 246 | overflow: hidden; |
| 247 | word-wrap: normal !important; |
| 248 | } |
| 249 | |
| 250 | .screen-reader-text:focus { |
| 251 | background-color: #f1f1f1; |
| 252 | border-radius: 3px; |
| 253 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
| 254 | clip: auto !important; |
| 255 | clip-path: none; |
| 256 | color: #21759b; |
| 257 | display: block; |
| 258 | font-weight: bold; |
| 259 | height: auto; |
| 260 | left: 5px; |
| 261 | line-height: normal; |
| 262 | padding: 15px 23px 14px; |
| 263 | text-decoration: none; |
| 264 | top: 5px; |
| 265 | width: auto; |
| 266 | z-index: 100000; |
| 267 | } |
| 268 | |
| 269 | .alignleft { |
| 270 | display: inline; |
| 271 | float: left; |
| 272 | margin-right: 1.5em; |
| 273 | } |
| 274 | |
| 275 | .alignright { |
| 276 | display: inline; |
| 277 | float: right; |
| 278 | margin-left: 1.5em; |
| 279 | } |
| 280 | |
| 281 | .aligncenter { |
| 282 | clear: both; |
| 283 | display: block; |
| 284 | margin-left: auto; |
| 285 | margin-right: auto; |
| 286 | } |
| 287 | |
| 288 | #wpadminbar { |
| 289 | text-align: initial; |
| 290 | } |
| 291 | |
| 292 | #wpadminbar:before, |
| 293 | #wpadminbar *:before { |
| 294 | display: block; |
| 295 | width: unset; |
| 296 | height: unset; |
| 297 | box-sizing: content-box; |
| 298 | } |
| 299 | |
| 300 | #wpadminbar .admin-bar-search .ab-item:before, |
| 301 | #wpadminbar form:before { |
| 302 | content: initial; |
| 303 | } |
| 304 | |
| 305 | #wpadminbar .ab-sub-wrapper ul { |
| 306 | display: block; |
| 307 | } |
| 308 | |
| 309 | #wp-toolbar ul { |
| 310 | display: inline-block; |
| 311 | } |
| 312 | |
| 313 | .sticky { |
| 314 | font-family: inherit; |
| 315 | } |
| 316 | |
| 317 | .gallery-caption { |
| 318 | font-family: inherit; |
| 319 | } |
| 320 | |
| 321 | .bypostauthor { |
| 322 | font-family: inherit; |
| 323 | } |
| 324 | |
| 325 | .aligncenter, |
| 326 | div.aligncenter { |
| 327 | display: block; |
| 328 | margin-bottom: '16px'; |
| 329 | } |
| 330 | |
| 331 | a img.aligncenter { |
| 332 | display: block; |
| 333 | margin-left: auto; |
| 334 | margin-right: auto; |
| 335 | } |
| 336 | |
| 337 | .wp-caption { |
| 338 | background: #fff; |
| 339 | border: 1px solid #f0f0f0; |
| 340 | max-width: 96%; |
| 341 | padding: 5px 3px 10px; |
| 342 | text-align: center; |
| 343 | } |
| 344 | |
| 345 | .wp-caption.alignnone { |
| 346 | margin-bottom: '16px'; |
| 347 | } |
| 348 | |
| 349 | .wp-caption.alignleft { |
| 350 | margin-bottom: '16px'; |
| 351 | } |
| 352 | |
| 353 | .wp-caption.alignright { |
| 354 | margin-bottom: '16px'; |
| 355 | } |
| 356 | |
| 357 | .wp-caption img { |
| 358 | border: 0 none; |
| 359 | height: auto; |
| 360 | margin: 0; |
| 361 | max-width: 98.5%; |
| 362 | padding: 0; |
| 363 | width: auto; |
| 364 | } |
| 365 | |
| 366 | .wp-caption p.wp-caption-text { |
| 367 | font-size: 0.6em; |
| 368 | line-height: 150%; |
| 369 | margin: 0; |
| 370 | padding: 0 4px 5px; |
| 371 | } |
| 372 | |
| 373 | .fancybox-container { |
| 374 | z-index: 100000 !important; |
| 375 | } |
| 376 | |
| 377 | .fancybox-container .fancybox-slide--iframe .fancybox-content { |
| 378 | max-height: 100% !important; |
| 379 | } |
| 380 | |
| 381 | .embed-container, |
| 382 | .embed-youtube { |
| 383 | position: relative; |
| 384 | padding-bottom: 56.25%; |
| 385 | /* 16:9 */ |
| 386 | padding-top: 25px; |
| 387 | height: 0; |
| 388 | margin-bottom: 1rem; |
| 389 | } |
| 390 | |
| 391 | .embed-container > iframe, |
| 392 | .embed-youtube > iframe { |
| 393 | position: absolute; |
| 394 | top: 0; |
| 395 | left: 0; |
| 396 | width: 100%; |
| 397 | height: 100%; |
| 398 | } |
| 399 | |
| 400 | .mejs-inner .mejs-button > button[aria-controls] { |
| 401 | min-width: 10px; |
| 402 | width: 20px; |
| 403 | display: block; |
| 404 | padding: 0px; |
| 405 | border-radius: 0; |
| 406 | background-color: transparent; |
| 407 | border: none; |
| 408 | transition: none; |
| 409 | } |
| 410 | |
| 411 | .mejs-inner .mejs-button > button[aria-controls]:hover, |
| 412 | .mejs-inner .mejs-button > button[aria-controls]:focus { |
| 413 | background-color: transparent; |
| 414 | } |
| 415 | |
| 416 | @media screen and (max-width: 782px) { |
| 417 | .logged-in.admin-bar .h-navigation_sticky { |
| 418 | top: 0 !important; |
| 419 | } |
| 420 | } |
| 421 |