|
2 | 2 | @name Hackage Catppuccin |
3 | 3 | @namespace github.com/catppuccin/userstyles/styles/hackage |
4 | 4 | @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hackage |
5 | | -@version 0.1.1 |
| 5 | +@version 0.1.2 |
6 | 6 | @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hackage/catppuccin.user.css |
7 | 7 | @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahackage |
8 | 8 | @description Soothing pastel theme for Hackage |
|
254 | 254 | } |
255 | 255 | } |
256 | 256 |
|
| 257 | + /* |
| 258 | + * Quick jump |
| 259 | + */ |
| 260 | + |
| 261 | + #search p.error { |
| 262 | + color: @red; |
| 263 | + } |
| 264 | + |
| 265 | + #search-form, |
| 266 | + #search-results { |
| 267 | + box-shadow: 2px 2px 6px fade(@mantle, 20%); |
| 268 | + } |
| 269 | + |
| 270 | + #search-form { |
| 271 | + input { |
| 272 | + border-color: @accent-color; |
| 273 | + } |
| 274 | + } |
| 275 | + |
| 276 | + #search-results { |
| 277 | + border-color: @accent-color; |
| 278 | + |
| 279 | + & > ul > li { |
| 280 | + border-bottom-color: @overlay0; |
| 281 | + } |
| 282 | + } |
| 283 | + |
| 284 | + .search-module > ul > li > a[href].active-link { |
| 285 | + background-color: @surface2; |
| 286 | + } |
| 287 | + |
| 288 | + .search-result ul.subs::after { |
| 289 | + color: @subtext1; |
| 290 | + } |
| 291 | + |
| 292 | + .more-results, |
| 293 | + .more-results::before { |
| 294 | + color: @subtext0; |
| 295 | + } |
| 296 | + |
| 297 | + .keyboard-shortcuts th { |
| 298 | + color: @accent-color; |
| 299 | + } |
| 300 | + |
| 301 | + .key { |
| 302 | + background-color: @mantle; |
| 303 | + color: @text; |
| 304 | + border-color: @mantle; |
| 305 | + } |
| 306 | + |
| 307 | + /* |
| 308 | + * Dropdown |
| 309 | + */ |
| 310 | + |
| 311 | + .dropdown-menu { |
| 312 | + background-color: @surface0; |
| 313 | + border-color: @surface0; |
| 314 | + |
| 315 | + button { |
| 316 | + background-color: @accent-color; |
| 317 | + color: @mantle; |
| 318 | + border-color: @surface2; |
| 319 | + |
| 320 | + &:hover, |
| 321 | + &:active { |
| 322 | + background-color: @accent-color; |
| 323 | + color: @mantle; |
| 324 | + } |
| 325 | + } |
| 326 | + } |
| 327 | + |
257 | 328 | /* |
258 | 329 | * Tables |
259 | 330 | */ |
|
416 | 487 | } |
417 | 488 | } |
418 | 489 |
|
| 490 | + input[type="submit"] { |
| 491 | + color: @text; |
| 492 | + } |
| 493 | + |
419 | 494 | input[type="range"]:hover, |
420 | 495 | input[type="submit"]:hover { |
421 | 496 | background-color: @crust; |
|
500 | 575 | border-color: @overlay0; |
501 | 576 | } |
502 | 577 |
|
| 578 | + /* |
| 579 | + * MathJax |
| 580 | + */ |
| 581 | + |
503 | 582 | #MathJax_Message { |
504 | 583 | background-color: @mantle; |
505 | 584 | border-color: @surface1; |
506 | 585 | color: @text; |
507 | 586 | } |
508 | 587 |
|
| 588 | + #MathJax_About, |
| 589 | + #MathJax_Help, |
| 590 | + .MathJax_Menu { |
| 591 | + background-color: @surface0; |
| 592 | + color: @text; |
| 593 | + border-color: @accent-color; |
| 594 | + box-shadow: 0 10px 20px @mantle; |
| 595 | + -webkit-box-shadow: 0 10px 20px @mantle; |
| 596 | + -moz-box-shadow: 0 10px 20px @mantle; |
| 597 | + } |
| 598 | + |
| 599 | + #MathJax_About > span, |
| 600 | + #MathJax_HelpContent { |
| 601 | + background-color: @surface1 !important; |
| 602 | + color: @subtext1 !important; |
| 603 | + border-color: @overlay0 !important; |
| 604 | + } |
| 605 | + |
| 606 | + .MathJax_MenuArrow { |
| 607 | + color: @subtext1; |
| 608 | + } |
| 609 | + |
| 610 | + .MathJax_MenuRule { |
| 611 | + border-top-color: @overlay0; |
| 612 | + } |
| 613 | + |
| 614 | + .MathJax_MenuActive { |
| 615 | + background-color: @surface1; |
| 616 | + color: @text; |
| 617 | + } |
| 618 | + |
| 619 | + .MathJax_MenuDisabled { |
| 620 | + color: @overlay2; |
| 621 | + } |
| 622 | + |
| 623 | + .MathJax_MenuDisabled:focus, |
| 624 | + .MathJax_MenuLabel:focus { |
| 625 | + background-color: @surface1; |
| 626 | + } |
| 627 | + |
| 628 | + #MathJax_AboutClose, |
| 629 | + #MathJax_HelpClose { |
| 630 | + border-color: @surface2; |
| 631 | + color: @subtext0; |
| 632 | + span { |
| 633 | + background-color: @surface2; |
| 634 | + } |
| 635 | + |
| 636 | + &:hover { |
| 637 | + color: @text !important; |
| 638 | + border-color: @overlay0 !important; |
| 639 | + span { |
| 640 | + background-color: @overlay0 !important; |
| 641 | + } |
| 642 | + } |
| 643 | + } |
| 644 | + |
| 645 | + span.mathjax img when not (@lookup = latte) { |
| 646 | + filter: invert(100%); |
| 647 | + } |
| 648 | + |
509 | 649 | /* |
510 | 650 | * Sources |
511 | 651 | */ |
|
0 commit comments