eintopf.info@v0.13.16/themes/eintopf/assets/css/index.css (about) 1 :root { 2 --color-dark: black; 3 --color-light: white; 4 --color-grey: #515151; 5 --color-grey-light: #e1e1e1; 6 --color-grey-normal: #b1b1b1; 7 --color-grey-dark: #515151; 8 --spacing: 5; 9 --spacing-1: calc(var(--spacing) * 1px); 10 --spacing-2: calc(var(--spacing) * 2px); 11 --spacing-4: calc(var(--spacing) * 4px); 12 --spacing-8: calc(var(--spacing) * 8px); 13 --spacing-16: calc(var(--spacing) * 16px); 14 --spacing-32: calc(var(--spacing) * 32px); 15 --spacing-64: calc(var(--spacing) * 64px); 16 --spacing-72: calc(var(--spacing) * 72px); 17 --spacing-76: calc(var(--spacing) * 76px); 18 --height-header: 43px; 19 --width-content: calc(var(--spacing-76) * 3 + var(--spacing-8) * 2); 20 } 21 22 * { 23 margin: 0; 24 padding: 0; 25 } 26 27 @font-face { 28 font-family: "Roboto"; 29 font-display: swap; 30 font-weight: 400; 31 font-style: normal; 32 src: url("/assets/fonts/Roboto-Regular.ttf"); 33 } 34 @font-face { 35 font-family: "Roboto"; 36 font-display: swap; 37 font-weight: 700; 38 font-style: normal; 39 src: url("/assets/fonts/Roboto-Bold.ttf"); 40 } 41 @font-face { 42 font-family: "Roboto"; 43 font-display: swap; 44 font-weight: 400; 45 font-style: italic; 46 src: url("/assets/fonts/Roboto-Italic.ttf"); 47 } 48 @font-face { 49 font-family: "Roboto"; 50 font-display: swap; 51 font-weight: 700; 52 font-style: italic; 53 src: url("/assets/fonts/Roboto-BoldItalic.ttf"); 54 } 55 56 html, 57 body { 58 font-family: "Roboto", Helvetica, Arial, Sans-Serif; 59 font-size: 16px; 60 line-height: 1.3; 61 width: 100%; 62 } 63 64 a { 65 color: inherit; 66 text-decoration: inherit; 67 } 68 69 p a { 70 text-decoration: underline; 71 } 72 73 ul { 74 list-style: none; 75 } 76 77 h1, 78 h2, 79 h3, 80 h4, 81 h5, 82 h6 { 83 font-weight: 700; 84 letter-spacing: 0.7px; 85 line-height: 1.3; 86 } 87 88 .caps { 89 text-transform: uppercase; 90 } 91 92 .clear { 93 clear: both; 94 } 95 96 .hidden { 97 display: none !important; 98 } 99 100 .error { 101 width: fit-content; 102 margin: auto; 103 font-weight: 700; 104 font-size: 22px; 105 } 106 107 .canceled { 108 text-decoration: line-through; 109 } 110 111 .link-ical:before { 112 display: inline-block; 113 width: 1.3rem; 114 height: 1.3rem; 115 margin-right: 4px; 116 margin-bottom: -4px; 117 content: " "; 118 background-image: url("/assets/images/icon_ical.svg"); 119 background-size: cover; 120 } 121 .link-rss:before { 122 display: inline-block; 123 width: 1.3rem; 124 height: 1.3rem; 125 margin-right: 4px; 126 margin-bottom: -5px; 127 content: " "; 128 background-image: url("/assets/images/rss.svg"); 129 background-size: cover; 130 } 131 132 /* 133 * Container 134 */ 135 .container { 136 display: block; 137 width: 100%; 138 } 139 .container-header { 140 display: flex; 141 justify-content: space-between; 142 box-sizing: border-box; 143 width: 100%; 144 padding: 8px var(--spacing-4); 145 146 background: var(--color-dark); 147 color: var(--color-light); 148 font-size: 1rem; 149 font-weight: 700; 150 } 151 .container-header h1, 152 .container-header h2 { 153 font-size: 1rem; 154 } 155 156 .container-content { 157 width: 100%; 158 box-sizing: border-box; 159 background: var(--color-light); 160 padding: var(--spacing-4); 161 } 162 163 .left { 164 vertical-align: top; 165 } 166 .right { 167 vertical-align: top; 168 } 169 170 .header { 171 z-index: 9999; 172 box-sizing: border-box; 173 width: 100%; 174 padding: var(--spacing-4); 175 padding-top: 7px; 176 padding-bottom: 7px; 177 178 background: var(--color-dark); 179 color: var(--color-light); 180 text-transform: uppercase; 181 } 182 183 .header .left { 184 display: flex; 185 justify-content: space-between; 186 } 187 188 .header .left .title { 189 font-size: 1rem; 190 } 191 192 .header .search { 193 display: flex; 194 width: calc(100% - 54px); 195 height: 25px; 196 border: 2px solid var(--color-light); 197 padding-left: 8px; 198 padding-right: 8px; 199 margin-right: 8px; 200 } 201 .header .search input { 202 display: block; 203 height: 100%; 204 width: 100%; 205 box-sizing: border-box; 206 border: none; 207 208 background-color: var(--color-dark); 209 color: var(--color-light); 210 outline: none; 211 } 212 .header .search button { 213 display: block; 214 height: 20px; 215 width: 20px; 216 margin: 2px; 217 border: none; 218 background-color: var(--color-dark); 219 cursor: pointer; 220 } 221 222 .header .search button img { 223 width: 100%; 224 height: 100%; 225 object-fit: contain; 226 display: block; 227 } 228 229 .header .burger { 230 display: block; 231 box-sizing: border-box; 232 height: 24px; 233 width: 24px; 234 cursor: pointer; 235 margin-left: auto; 236 margin-right: 0; 237 margin-top: 2px; 238 right: 0; 239 width: 24px; 240 } 241 242 .header .burger span { 243 background-color: var(--color-light); 244 display: block; 245 height: 3px; 246 margin: 4px; 247 width: 21px; 248 } 249 250 .header .right { 251 display: none; 252 } 253 254 .header .right .burger-close span:first-child { 255 transform: translateY(7px) rotate(45deg); 256 } 257 258 .header .right .burger-close span:last-child { 259 transform: rotate(-45deg); 260 } 261 262 .header #nav { 263 letter-spacing: 0.7px; 264 } 265 .header #nav:target { 266 padding-left: 10px; 267 padding-right: 10px; 268 padding-top: 8px; 269 padding-bottom: 16px; 270 } 271 .header #nav a.active { 272 font-weight: 700; 273 } 274 275 .header nav li .dropdown { 276 padding-top: 7px; 277 font-size: 12px; 278 } 279 .leaflet-div-icon { 280 background: transparent !important; 281 background-image: url("/assets/dist/leaflet/images/marker-icon.png") !important; 282 background-repeat: no-repeat !important; 283 border: none !important; 284 } 285 286 .mobile-screenshot-container { 287 display: flex; 288 flex-wrap: wrap; 289 align-items: center; 290 justify-content: center; 291 } 292 .mobile-screenshot { 293 max-width: 230px; 294 margin: 10px; 295 border: 1px solid var(--color-grey); 296 } 297 298 .Button { 299 padding: 4px 8px; 300 border: 2px solid var(--color-dark); 301 border-radius: 2px; 302 background: var(--color-dark); 303 color: var(--color-light); 304 font-size: 14px; 305 cursor: pointer; 306 } 307 .install-button { 308 display: flex; 309 justify-content: center; 310 align-items: center; 311 margin: 15px; 312 } 313 314 .action-container{ 315 display: flex; 316 gap: var(--spacing-2); 317 flex-wrap: wrap; 318 } 319 320 .share-btn{ 321 display: flex; 322 justify-content: center; 323 align-items: center; 324 gap: 4px; 325 border: none; 326 background: var(--color-light); 327 text-decoration: underline; 328 font-size: 16px; 329 line-height: 1.3; 330 } 331 332 .share-btn:hover{ 333 cursor: pointer; 334 filter: brightness(1.5); 335 } 336 337 .share-btn img{ 338 display: block; 339 object-fit: contain; 340 width: 20px; 341 height: 20px; 342 } 343 344 .foreign-content { 345 color: grey; 346 font-size: 10px; 347 } 348 349 @media (max-width: 799px) { 350 .only-desktop { 351 display: none; 352 } 353 .header #nav:target { 354 display: block; 355 } 356 .header #nav { 357 z-index: 99; 358 box-sizing: border-box; 359 top: 0; 360 left: 0; 361 position: absolute; 362 width: 100%; 363 background-color: var(--color-dark); 364 font-size: 18px; 365 366 padding-left: 10px; 367 padding-right: 10px; 368 padding-top: 8px; 369 padding-bottom: 16px; 370 } 371 .header #nav ul { 372 text-align: center; 373 } 374 375 .header #nav ul li:not(:last-child) { 376 margin-bottom: var(--spacing-2); 377 } 378 379 .sticky .header { 380 position: fixed; 381 top: 0; 382 } 383 384 .sticky .header .logo { 385 display: none; 386 } 387 .sticky .content { 388 margin-top: 126px; 389 } 390 391 .header .left { 392 flex-wrap: wrap; 393 } 394 .header .logo { 395 flex: 0 0 100%; /* flex-grow, flex-shrink, flex-basis */ 396 } 397 .header .logo img { 398 display: block; 399 margin-top: 8px; 400 margin-bottom: 8px; 401 margin-left: auto; 402 margin-right: auto; 403 } 404 } 405 406 @media (min-width: 800px) { 407 .only-mobile { 408 display: none; 409 } 410 411 body { 412 background: url(/assets/images/background.jpg); 413 background-attachment: fixed; 414 overflow-y: auto; 415 height: 100%; 416 } 417 418 .header { 419 position: sticky; 420 top: 0; 421 padding-left: var(--spacing-4); 422 padding-right: var(--spacing-4); 423 } 424 .header .main { 425 display: flex; 426 justify-content: space-between; 427 } 428 .header .left { 429 display: flex; 430 align-items: center; 431 justify-content: start; 432 width: auto; 433 } 434 .header .search { 435 margin-left: var(--spacing-2); 436 margin-right: 0; 437 height: auto; 438 display: flex; 439 align-items: center; 440 } 441 .header .search input { 442 margin-bottom: 7px; 443 margin-top: 7px; 444 } 445 .header .search button { 446 height: 24px; 447 width: 24px; 448 } 449 .header .burger { 450 display: none; 451 } 452 453 .header .right { 454 display: inline-block; 455 width: var(--spacing-76); 456 margin-left: var(--spacing-2); 457 } 458 .header nav.right ul { 459 display: flex; 460 align-items: center; 461 justify-content: space-between; 462 height: 100%; 463 } 464 465 .header nav li .dropdown { 466 display: none; 467 background: black; 468 margin-left: -10px; 469 padding: 10px; 470 padding-bottom: 3px; 471 } 472 .header nav li .dropdown ul { 473 display: block; 474 } 475 .header nav li .dropdown ul li { 476 margin-bottom: 7px; 477 } 478 .header nav li:hover .dropdown { 479 display: block; 480 position: absolute; 481 } 482 483 .header .logo img { 484 width: 175px; 485 object-fit: contain; 486 vertical-align: middle; 487 } 488 .link-ical, 489 .link-rss { 490 display: block; 491 margin-bottom: 7px; 492 } 493 .link-ical, 494 .link-rss:last-child { 495 display: block; 496 margin-bottom: 0px; 497 } 498 } 499 500 @media (min-width: 1000px) { 501 .header .logo img { 502 width: auto; 503 } 504 505 .container { 506 margin-bottom: var(--spacing-8); 507 } 508 509 .header .logo { 510 display: block; 511 } 512 .header .search { 513 max-width: 300px; 514 } 515 516 .header .left .search { 517 width: 100%; 518 margin-left: var(--spacing-8); 519 border: 2px solid var(--color-light); 520 521 background: var(--color-dark); 522 } 523 .header .right { 524 display: inline-block; 525 margin-left: 0; 526 } 527 .header nav.right { 528 color: var(--color-light); 529 } 530 531 .main { 532 max-width: var(--width-content); 533 margin-left: auto; 534 margin-right: auto; 535 position: relative; 536 display: flex; 537 } 538 539 .content { 540 position: relative; 541 box-sizing: border-box; 542 padding-top: var(--spacing-8); 543 } 544 545 .left { 546 vertical-align: top; 547 display: inline-block; 548 width: calc(var(--width-content) - var(--spacing-76) - var(--spacing-8)); 549 } 550 .right { 551 vertical-align: top; 552 display: inline-block; 553 width: var(--spacing-76); 554 margin-left: var(--spacing-8); 555 } 556 } 557 558 @media (min-width: 800px) { 559 .header .left .title { 560 display: none; 561 } 562 } 563 564 @media (min-width: 800px) and (max-width: 1500px) { 565 .header .right #backstage-link { 566 display: none; 567 } 568 } 569 570 @media (min-width: 1300px) { 571 .header .left { 572 justify-content: space-between; 573 width: calc(var(--width-content) - var(--spacing-76) - var(--spacing-8)); 574 } 575 576 .header .right { 577 margin-left: var(--spacing-8); 578 } 579 .header .right #backstage-link { 580 position: absolute; 581 right: -115px; 582 } 583 } 584 585 @media (min-width: 1500px) { 586 .header .left .logo { 587 margin-left: -68px; 588 vertical-align: center; 589 } 590 } 591 592 .loading-box{ 593 display: flex; 594 justify-content: center; 595 } 596 597 /* Loading spinner */ 598 .lds-ring { 599 display: inline-block; 600 position: relative; 601 width: 40px; 602 height: 40px; 603 margin-bottom: var(--spacing-4); 604 } 605 .lds-ring div { 606 box-sizing: border-box; 607 display: block; 608 position: absolute; 609 width: 32px; 610 height: 32px; 611 margin: 4px; 612 border: 4px solid black; 613 border-radius: 50%; 614 animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; 615 border-color: black transparent transparent transparent; 616 } 617 .lds-ring div:nth-child(1) { 618 animation-delay: -0.45s; 619 } 620 .lds-ring div:nth-child(2) { 621 animation-delay: -0.3s; 622 } 623 .lds-ring div:nth-child(3) { 624 animation-delay: -0.15s; 625 } 626 @keyframes lds-ring { 627 0% { 628 transform: rotate(0deg); 629 } 630 100% { 631 transform: rotate(360deg); 632 } 633 } 634