diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index a6d46e7e..ec657c12 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -475,6 +475,12 @@ userstyles: > [!NOTE] > Set Migadu Webmail's built-in theme to 'Migadu' for the optimal experience. current-maintainers: [*uncenter] + minesweeper: + name: Minesweeper Online + categories: [game] + readme: + app-link: "https://minesweeper.online" + current-maintainers: [*gitmuslim] nitter: name: Nitter categories: [social_networking, discussion_forum, entertainment] diff --git a/styles/minesweeper/assets/catwalk.webp b/styles/minesweeper/assets/catwalk.webp new file mode 100644 index 00000000..8b46937c --- /dev/null +++ b/styles/minesweeper/assets/catwalk.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:534b2439619cfc0bef3eacaa32f191c2a60ed03370c0cc895aab7c43f063c4d2 +size 154088 diff --git a/styles/minesweeper/assets/frappe.webp b/styles/minesweeper/assets/frappe.webp new file mode 100644 index 00000000..21965221 --- /dev/null +++ b/styles/minesweeper/assets/frappe.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:173f03aeb5a50af19c541cf0af0f5dea0de2c9c23092aa2699c12c70c85b7828 +size 123926 diff --git a/styles/minesweeper/assets/latte.webp b/styles/minesweeper/assets/latte.webp new file mode 100644 index 00000000..00fbe735 --- /dev/null +++ b/styles/minesweeper/assets/latte.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78b9f803a4c16607be8363a615b2a3fd90a6a691b527f3014b54d1509eeb3e0c +size 123942 diff --git a/styles/minesweeper/assets/macchiato.webp b/styles/minesweeper/assets/macchiato.webp new file mode 100644 index 00000000..b7acce95 --- /dev/null +++ b/styles/minesweeper/assets/macchiato.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c2ae7b85bc14f5c8173792815c621c088645863826c63b498f94df970d3e3cd +size 124932 diff --git a/styles/minesweeper/assets/mocha.webp b/styles/minesweeper/assets/mocha.webp new file mode 100644 index 00000000..cbd66140 --- /dev/null +++ b/styles/minesweeper/assets/mocha.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8007c8dc4b9b0ab921a74e09dfcc43882026d222a3a321355d58558623a72c0b +size 125466 diff --git a/styles/minesweeper/catppuccin.user.css b/styles/minesweeper/catppuccin.user.css new file mode 100644 index 00000000..9c19dbab --- /dev/null +++ b/styles/minesweeper/catppuccin.user.css @@ -0,0 +1,476 @@ +/* ==UserStyle== +@name Minesweeper Online Catppuccin +@namespace github.com/catppuccin/userstyles/styles/minesweeper +@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/minesweeper +@version 0.0.1 +@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/minesweeper/catppuccin.user.css +@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aminesweeper +@description Soothing pastel theme for Minesweeper Online +@author Catppuccin +@license MIT + +@preprocessor less +@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"] +@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"] +@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"] +==/UserStyle== */ + +@-moz-document domain('minesweeper.online') { + /* prettier-ignore */ + @catppuccin: { + @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; }; + @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; }; + @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; }; + @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; }; + } + + #catppuccin(@lookup, @accent) { + @rosewater: @catppuccin[@@lookup][@rosewater]; + @flamingo: @catppuccin[@@lookup][@flamingo]; + @pink: @catppuccin[@@lookup][@pink]; + @mauve: @catppuccin[@@lookup][@mauve]; + @red: @catppuccin[@@lookup][@red]; + @maroon: @catppuccin[@@lookup][@maroon]; + @peach: @catppuccin[@@lookup][@peach]; + @yellow: @catppuccin[@@lookup][@yellow]; + @green: @catppuccin[@@lookup][@green]; + @teal: @catppuccin[@@lookup][@teal]; + @sky: @catppuccin[@@lookup][@sky]; + @sapphire: @catppuccin[@@lookup][@sapphire]; + @blue: @catppuccin[@@lookup][@blue]; + @lavender: @catppuccin[@@lookup][@lavender]; + @text: @catppuccin[@@lookup][@text]; + @subtext1: @catppuccin[@@lookup][@subtext1]; + @subtext0: @catppuccin[@@lookup][@subtext0]; + @overlay2: @catppuccin[@@lookup][@overlay2]; + @overlay1: @catppuccin[@@lookup][@overlay1]; + @overlay0: @catppuccin[@@lookup][@overlay0]; + @surface2: @catppuccin[@@lookup][@surface2]; + @surface1: @catppuccin[@@lookup][@surface1]; + @surface0: @catppuccin[@@lookup][@surface0]; + @base: @catppuccin[@@lookup][@base]; + @mantle: @catppuccin[@@lookup][@mantle]; + @crust: @catppuccin[@@lookup][@crust]; + @color: @catppuccin[@@lookup][@@accent]; + + :root { + --b0: @crust; + --b1: @base; + } + + body { + background-color: @crust; + } + + .navbar-desktop { + background-color: @base; + } + + .header { + margin-top: 0; + } + + .navbar-default { + background-color: @base; + } + + .navbar-default .navbar-brand, + .navbar-default .navbar-brand:hover, + .navbar-default .navbar-brand:focus, + .navbar-default .navbar-brand:focus:hover { + color: @text; + } + + .navbar-default .navbar-toggle { + border-color: @surface0; + background-color: @base; + &:hover { + border-color: @surface1; + background-color: @mantle; + } + } + + .navbar-default .navbar-toggle .icon-bar { + background-color: @text; + } + + .navbar-desktop, + .main-content { + box-shadow: @surface0 0 0 0 1px; + } + + hr, + .thumbnail, + .table-bordered { + border-color: @surface0 !important; + } + + .main-column { + box-shadow: @surface0 1px 0 0 0 inset; + } + + .main-content, + .thumbnail, + .table td { + background-color: @mantle; + } + + a, + a:hover, + .text-primary { + color: @color; + } + + .text-success, + .level1-link, + .level1-link:hover, + .time-icon, + .end-icon, + .equipment-rarity-0 { + color: @green !important; + } + + .btn-success, + .btn-success:hover, + .btn-success:focus, + .btn-success:focus:hover { + color: @mantle; + background-color: @green; + border-color: @green; + } + + .btn-danger, + .btn-danger:hover, + .btn-danger:focus, + .btn-danger:focus:hover { + color: @mantle; + background-color: @red; + border-color: @red; + } + + code { + background-color: fade(@red, 12.5%); + } + + #premium_content > div:nth-child(21) { + & > p:nth-child(3) > code:nth-child(1) { + color: @peach !important; + } + & > p:nth-child(4) > code:nth-child(1) { + color: @blue !important; + } + & > p:nth-child(5) > code:nth-child(1) { + color: @green !important; + } + } + + .equipment-item-rarity-0 { + border-color: @green; + background-color: fade(@green, 12.5%); + } + + .equipment-item-rarity-1 { + border-color: @blue; + background-color: fade(@blue, 12.5%); + } + + .level2-link, + .level2-link:hover, + .blue, + .ws-icon, + .equipment-rarity-1, + .equipment-rarity-1:active, + .equipment-rarity-1:hover, + .equipment-rarity-1:visited { + color: @blue !important; + } + + .equipment-rarity-2, + .equipment-rarity-2:active, + .equipment-rarity-2:hover, + .equipment-rarity-2:visited { + color: @mauve !important; + } + + .equipment-item-rarity-2 { + border-color: @mauve; + background-color: fade(@mauve, 12.5%); + } + + .equipment-rarity-3, + .equipment-rarity-3:active, + .equipment-rarity-3:hover, + .equipment-rarity-3:visited { + color: @peach !important; + } + + .equipment-item-rarity-3 { + border-color: @peach; + background-color: fade(@peach, 12.5%); + } + + .equipment-item-rarity-4, + .equipment-item-rarity-5 { + border-color: @red; + background-color: fade(@red, 12.5%); + } + + .eff-icon, + .quality-icon { + color: @peach; + } + + .text-danger, + .level3-link, + .level3-link:hover, + .eff-icon.eff-icon.level3, + .list-icon.level3, + .nf-icon.level3, + .time-icon.level3, + .wins-icon.level3, + .ws-icon.ws3, + .mastery-icon.mastery3, + .wins-icon, + .end-icon.end3, + .mastery-icon, + .equipment-rarity-4, + .equipment-rarity-4:active, + .equipment-rarity-4:hover, + .equipment-rarity-4:visited, + .equipment-rarity-5, + .equipment-rarity-5:active, + .equipment-rarity-5:hover, + .equipment-rarity-5:visited { + color: @red !important; + } + + body, + .main-page h1, + .main-page h2, + .main-page h3, + .sidebar-nav ul li a, + .help-menu-item > strong, + .help-content h3, + .sidebar-nav ul li, + a.active, + .brand-link .brand-text, + .black-link, + .black-link:active, + .black-link:hover, + .black-link:visited, + .events-title { + color: @text !important; + } + + .btn-primary, + .btn-primary:hover, + .btn-primary:active:hover, + .btn-primary:active { + border-color: @color; + background-color: @color; + color: @mantle; + } + + .premium-product-descr { + color: fade(@yellow, 60%); + } + + .shop-strike-danger { + background-image: linear-gradient( + rgba(0, 0, 0, 0) 8px, + @red 8px, + @red 10px, + rgba(0, 0, 0, 0) 10px + ); + } + + .gray, + .mediumgray, + .mediumgray:hover, + .dropdown-menu > li > a, + .dropdown-menu > li > a:hover, + .score-icon.icon-silver, + .gray:hover, + .icon-mobile { + color: @subtext0; + } + + .dropdown-menu > li > a:focus, + .dropdown-menu > li > a:hover { + background-color: @base !important; + } + + .nav-tabs > li.active > a, + .nav-tabs > li.active > a:focus, + .nav-tabs > li.active > a:hover, + .nav-tabs > li > a:hover { + border-color: @surface0; + background-color: @base; + color: @text; + } + + .chat-messages { + border-color: @surface0; + } + + .btn-default, + .form-control { + color: @text; + background-color: @mantle; + border-color: @surface0; + &:hover { + color: @text; + background-color: @base; + border-color: @surface1; + } + } + + .btn-info, + .btn-info:hover, + .btn-info:active:hover, + .btn-info:active { + border-color: @blue; + background-color: @blue; + color: @mantle; + } + + .ticket.icon-filter { + color: @sky; + } + + td[class="text-nowrap"], + .result-block, + .dropdown-menu, + td[class=""], + .table-bordered > tbody > tr > td { + background-color: @mantle; + border-color: @surface0 !important; + } + + th[class="homepage-best-players-th"], + th[colspan="1"], + th[class="text-nowrap"], + th[class="text-nowrap quests-column-last"], + .help-table > thead:nth-child(1) > tr:nth-child(1) > th, + table.table:nth-child(3) > tbody:nth-child(1) > tr:nth-child(1) > th, + table.table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > th, + th[colspan="3"] { + border-color: @surface0 !important; + background-color: @base; + } + + .pagination > li > a, + .pagination > li > span { + background-color: @mantle; + border-color: @surface0 !important; + color: @color; + } + + .pagination > .disabled > a { + background-color: @mantle; + border-color: @surface0 !important; + color: @subtext0; + } + + .pagination > li > a:hover { + background-color: @base; + color: @color; + } + + .pagination-sm > li:first-child > a, + .pagination-sm > li:first-child > a:hover, + .pagination > .disabled > a:hover { + background-color: @crust; + color: @subtext0; + } + + .pagination > .active > a, + .pagination > .active > a:hover { + background-color: @color; + color: @mantle; + } + + .open > .dropdown-toggle.btn-default, + .open > .dropdown-toggle.btn-default:focus, + .open > .dropdown-toggle.btn-default:hover, + .btn-default:active:hover { + background-color: @surface0; + border-color: @surface1 !important; + color: @text; + } + + .footer-link, + .season { + color: @subtext0 !important; + } + + .score-icon { + color: @yellow; + } + + .dotted-underline, + .dotted-underline:hover { + border-bottom-color: @subtext0; + } + + .ws-icon.ws11 { + color: @green; + } + + .brand-logo { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .exp-icon { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .coin-icon { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .diff-icon { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + filter: none; + } + + .arena-icon { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .event-item-icon.icon-filter { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .quest-icon { + @svg-raw: ''; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + + .arena-coin-icon.icon-filter { + @svg-raw: ' '; + @svg: escape(@svg-raw); + content: url("data:image/svg+xml,@{svg}"); + } + } + + @media (prefers-color-scheme: light) { + #catppuccin(@lightFlavor, @accentColor); + } + @media (prefers-color-scheme: dark) { + #catppuccin(@darkFlavor, @accentColor); + } +}