feat(have-i-been-pwned): init (#1233)

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
trinkeyanduncenter authored and GitHub committed 2024-09-07 16:01:54 -04:00
1 parent 17abf38470
commit e4e2b1c4b3
3 files changed
+446

No files matched your search

+7
View File
@@ -418,6 +418,13 @@ userstyles:
readme:
app-link: "https://news.ycombinator.com"
current-maintainers: [*lucasmelin]
have-i-been-pwned:
name: Have I Been Pwned
categories: [productivity]
color: blue
readme:
app-link: "https://haveibeenpwned.com"
current-maintainers: [*trinkey]
holodex:
name: Holodex
categories: [entertainment, social_networking, photo_and_video]
@@ -0,0 +1,436 @@
/* ==UserStyle==
@name Have I Been Pwned Catppuccin
@namespace github.com/catppuccin/userstyles/styles/have-i-been-pwned
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/have-i-been-pwned
@version 0.0.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/have-i-been-pwned/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahave-i-been-pwned
@description Soothing pastel theme for Have I Been Pwned
@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('haveibeenpwned.com') {
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
}
}
#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];
@text_filter: @catppuccin[@@lookup][@text_filter];
@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];
@accent-color: @catppuccin[@@lookup][@@accent];
color-scheme: if(@lookup = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
body {
background-color: @base;
color: @text;
}
hr {
border-color: @surface0;
}
a {
&, &:hover, &:focus {
color: @text;
border-bottom-color: @surface2;
}
&:hover {
background-color: fade(@accent-color, 30%);
}
}
img.pwnLogo.large.modalLogo {
filter: @text_filter;
}
.bodyGradient {
color: @text;
}
.modal-header {
background: @crust;
.close {
color: @text;
}
}
.fa-loader, .loaderText {
color: @text;
}
#postNotificationCallsToAction {
.btn {
background-color: @crust;
color: @text;
}
a.socialLink {
&, &:link, &:visited {
color: @text;
}
}
}
.modal-content {
background-color: @base;
border-color: @surface0;
}
.main {
background-color: @mantle;
color: @text;
}
.main-logo .logo {
border-color: @accent-color;
background-color: fade(@accent-color, 30%);
}
.pwnedCompanyList {
a, a:hover {
color: @text;
border-bottom-color: @surface2;
}
td {
color: @subtext0;
}
}
footer {
a, p {
color: @subtext0;
}
}
.unverified {
&, a {
color: darken(@red, 50%) !important;
border-bottom-color: darken(@red, 50%) !important;
}
}
.navbar-inverse {
border-color: @surface0;
background-color: @crust;
.navbar-toggle {
border-color: @surface0;
&:hover, &:focus {
background-color: @surface0;
}
.icon-bar {
background-color: @text;
}
}
.navbar-brand {
color: @text;
border-color: @text !important;
}
li.active > a {
&, &:hover, &:focus {
color: @text;
background-color: @crust;
}
}
li > a {
color: @subtext0;
&:hover, &:focus {
color: @text;
}
}
}
img.pwnLogo{
&[src$="/List.png"],
&[src$="/Email.png"] {
filter: @text_filter;
}
}
.form-control {
background-color: @crust;
color: @text;
border-color: @surface0 !important;
&:focus {
box-shadow: 0 0 8px fade(@accent-color, 30%)
}
}
.btn-primary {
color: @text;
background-color: @crust;
border-color: @surface0 !important;
&:hover {
background-color: fade(@accent-color, 30%);
}
}
.btn-success {
background-color: @green;
color: @base;
border-color: @surface0;
}
.progress-bar {
background-color: @accent-color;
}
.form-group .termsOfUse {
background-color: @base;
}
.termsOfUse {
background-color: @mantle;
&, a {
color: @subtext0;
border-bottom-color: @surface2;
}
}
.secondaryHeader {
background-color: @mantle;
}
.sensitive {
color: @yellow;
}
.sensitive-fade {
color: @subtext0;
}
.panel-primary {
border-color: @surface0;
& > .panel-heading,
& > .panel-footer {
color: @text;
border-color: @surface0;
background-color: @mantle;
}
}
#noPwnage {
background: @green;
a.socialLink {
color: @base !important;
}
}
#invalidAccount {
background: @yellow;
}
#pwnedWebsitesContainer {
hr {
border-color: @surface0;
}
& > .pwnedRow {
background: @red;
.pwnedWebsite {
color: @base;
a {
color: @base;
border-bottom-color: @base;
&:hover {
background-color: transparent !important;
}
}
}
}
a.socialLink {
color: @base !important;
}
}
.pwnResultBanner {
color: @base;
a {
color: @base;
border-bottom-color: @base !important;
&:hover {
background-color: transparent !important;
}
}
}
#Cloudflare img {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1239.3 310.1"><path d="M1158.5 187.7c-3.4 0-6.1-2.7-6.1-6.1 0-3.3 2.7-6.1 6.1-6.1 3.3 0 6.1 2.7 6.1 6.1s-2.8 6.1-6.1 6.1m0-11c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9 4.9-2.2 4.9-4.9-2.2-4.9-4.9-4.9m3.1 8.1h-1.4l-1.2-2.3h-1.6v2.3h-1.3v-6.7h3.2c1.4 0 2.3.9 2.3 2.2 0 1-.6 1.7-1.4 2zm-2.4-3.5c.5 0 1-.3 1-1 0-.8-.4-1-1-1h-2v2zM523 174.9h15.6v42.5h27.1V231H523zm58.8 28.2v-.1c0-16.1 13-29.2 30.3-29.2s30.1 12.9 30.1 29v.2c0 16.1-13 29.2-30.3 29.2-17.2-.1-30.1-13-30.1-29.1m44.6 0v-.1c0-8.1-5.8-15.1-14.4-15.1-8.5 0-14.2 6.9-14.2 15v.2c0 8.1 5.8 15.1 14.3 15.1 8.6-.1 14.3-7 14.3-15.1m34.9 3.3v-31.5h15.8v31.2c0 8.1 4.1 11.9 10.3 11.9s10.3-3.7 10.3-11.5v-31.6h15.8V206c0 18.1-10.3 26-26.3 26-15.9.1-25.9-8-25.9-25.6m76-31.5H759c20 0 31.7 11.5 31.7 27.7v.2c0 16.2-11.8 28.2-32 28.2h-21.3zm21.9 42.3c9.3 0 15.5-5.1 15.5-14.2v-.2c0-9-6.2-14.2-15.5-14.2h-6.3v28.5zm54-42.3h44.9v13.7h-29.4v9.5h26.6V211h-26.6v20h-15.5zm66.5 0h15.5v42.5h27.2V231h-42.7zm83.3-.4h15l23.9 56.5h-16.7l-4.1-10h-21.6l-4 10h-16.3zm13.7 34.4-6.2-15.9-6.3 15.9zm45.2-34h26.5c8.6 0 14.5 2.2 18.3 6.1 3.3 3.2 5 7.5 5 13.1v.2c0 8.6-4.6 14.3-11.5 17.2l13.4 19.6h-18l-11.3-17h-6.8v17H1022zm25.8 27c5.3 0 8.3-2.6 8.3-6.6v-.3c0-4.4-3.2-6.6-8.4-6.6h-10.2v13.5zm46.4-27h45.1v13.3h-29.7v8.4h26.9v12.3h-26.9v8.9h30.1V231h-45.5zM489 209.7c-2.2 4.9-6.8 8.4-12.8 8.4-8.5 0-14.3-7.1-14.3-15.1v-.2c0-8.1 5.7-15 14.2-15 6.4 0 11.3 3.9 13.3 9.3h16.4c-2.6-13.4-14.4-23.3-29.6-23.3-17.3 0-30.3 13.1-30.3 29.2v.2c0 16.1 12.8 29 30.1 29 14.8 0 26.4-9.6 29.4-22.4zm-97.9-40.1L348.2 145l-7.4-3.2-175.5 1.3v89l225.8.1z" fill="@{text}"/><path d="M313 224c2.1-7.2 1.3-13.8-2.2-18.7-3.2-4.5-8.6-7.1-15.1-7.4l-123.1-1.6c-.8 0-1.5-.4-1.9-1s-.5-1.4-.3-2.2c.4-1.2 1.6-2.1 2.9-2.2l124.2-1.6c14.7-.7 30.7-12.6 36.3-27.2l7.1-18.5c.3-.8.4-1.6.2-2.4-8-36.2-40.3-63.2-78.9-63.2-35.6 0-65.8 23-76.6 54.9-7-5.2-15.9-8-25.5-7.1-17.1 1.7-30.8 15.4-32.5 32.5-.4 4.4-.1 8.7.9 12.7-27.9.8-50.2 23.6-50.2 51.7 0 2.5.2 5 .5 7.5.2 1.2 1.2 2.1 2.4 2.1h227.2c1.3 0 2.5-.9 2.9-2.2zm39.2-79.1c-1.1 0-2.3 0-3.4.1-.8 0-1.5.6-1.8 1.4l-4.8 16.7c-2.1 7.2-1.3 13.8 2.2 18.7 3.2 4.5 8.6 7.1 15.1 7.4l26.2 1.6c.8 0 1.5.4 1.9 1s.5 1.5.3 2.2c-.4 1.2-1.6 2.1-2.9 2.2l-27.3 1.6c-14.8.7-30.7 12.6-36.3 27.2l-2 5.1c-.4 1 .3 2 1.4 2h93.8c1.1 0 2.1-.7 2.4-1.8 1.6-5.8 2.5-11.9 2.5-18.2 0-37.1-30.1-67.2-67.3-67.2" fill="@{peach}"/></svg>');
content: url("data:image/svg+xml,@{svg}");
}
pre, code {
background-color: @mantle;
color: @text;
border-color: @surface0;
}
thead tr {
border-color: @surface0;
}
.bitcoinAddress {
background-color: @mantle;
color: @text;
}
.bg-info {
background-color: @mantle;
color: @text;
}
.subscriptions {
.rpm10 {
border-color: @teal;
h4, h5, .price {
background-color: @teal;
color: @base;
}
}
.rpm50 {
border-color: @green;
h4, h5, .price {
background-color: @green;
color: @base;
}
}
.rpm100 {
border-color: @yellow;
h4, h5, .price {
background-color: @yellow;
color: @base;
}
}
.rpm500 {
border-color: @peach;
h4, h5, .price {
background-color: @peach;
color: @base;
}
}
.description {
color: @text;
}
}
.finePrint {
color: @text;
}
.table-bordered {
&, th, td {
border-color: @surface0;
}
}
.dropdown-menu {
background-color: @base;
& > li > a {
&:hover, &:focus {
background-color: @mantle;
}
}
}
@media (min-width: 768px) {
ul.nav li.dropdown:hover {
background-color: @base;
}
}
@media (max-width: 480px) {
#searchContainer {
background-color: @mantle;
}
}
}
}
/* 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; @text_filter: brightness(0) saturate(100%) invert(30%) sepia(7%) saturate(1674%) hue-rotate(196deg) brightness(97%) contrast(91%); @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; @text_filter: brightness(0) saturate(100%) invert(74%) sepia(16%) saturate(454%) hue-rotate(192deg) brightness(110%) contrast(92%); @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; @text_filter: brightness(0) saturate(100%) invert(82%) sepia(77%) saturate(662%) hue-rotate(181deg) brightness(103%) contrast(92%); @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; @text_filter: brightness(0) saturate(100%) invert(88%) sepia(10%) saturate(1247%) hue-rotate(191deg) brightness(99%) contrast(93%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}
// vim:ft=less
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed22185e6de862d59ce004850b1bd70f1fbffefc1d8f1b629a169d200b7adca6
size 169590