HeroesProfile.com – Dark Compact [Ath]

Dark theme for Heroes Profile (HeroesProfile.com) with clean compact design and ad block.

Από την 24/10/2025. Δείτε την τελευταία έκδοση.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

/* ==UserStyle==
@name           HeroesProfile.com – Dark Compact [Ath]
@namespace      athari
@version        1.0.0
@description    Dark theme for Heroes Profile (HeroesProfile.com) with clean compact design and ad block.
@author         Athari (https://github.com/Athari)
@homepageURL    https://github.com/Athari/AthariUserCSS
@supportURL     https://github.com/Athari/AthariUserCSS/issues
@license        MIT
@preprocessor   default
==/UserStyle== */

@-moz-document domain("heroesprofile.com") {
  html,
  body {
    font: 15px Segoe UI;
    letter-spacing: normal;
    background: #111;
  }

  #horizontal-banner-ad-container,
  div:has(> #mobile-toggle),
  div:has(> [id^="dynamic-banner-ad"]) {
    display: none;
  }
  [alt="Patreon"] {
    &::after {
      content: "Patreon";
    }
    span {
      font-size: 0;
    }
  }

  #app {
    > .bg-red.text-center {
      display: none;
    }
    :is(td, th):has(img[src^="/images/heroes/"], img[src^="/images/talents/"]) {
      padding: 0 .5em 0 0;
    }
    img:is([src^="/images/heroes/"], [src^="/images/talents/"]) {
      border-radius: 0;
    }
    :is(td, th):has([alt="View Talent Builds"]) {
      padding: 0 .5em;
    }
    .search-component {
      position: absolute;
      inset: 4px auto auto 300px;
      z-index: 100;
    }
  }

  .gap-5 {
    gap: 0;
  }
  .mb-\[2em\] {
    margin: 0 0 .5em 0;
  }
  .md\:px-20 {
    padding: 0 1em;
  }
  .p-10,
  .md\:p-20 {
    padding: 1em;
  }
  :is(.w-\[200px\], .min-w-\[200px\]).h-\[40px\] {
    --tw-border-opacity: .2;
    box-sizing: content-box;
    min-width: 20ex;
    width: auto;
    height: 1.5em;
  }

  table, thead, tbody, tfoot, tr, th, td {
    --tw-bg-opacity: 0.1 !important;
    color: #eee;
  }
}