User:Ursuul/g.css

/** * * @Title       MinimalBanners * @Description Reduces the size & quantity of Banner Notifications * @Author     Ursuul  * @Version    0.9.1 * */ /* Make Banner Notifications thinner */ .wds-banner-notification__container .wds-banner-notification { min-height: 30px; }

.wds-banner-notification__container .wds-banner-notification .wds-banner-notification__icon .wds-icon { height: calc(100% - 5px); }

.wds-banner-notification__container .wds-banner-notification .wds-banner-notification__text { font-size: small; padding: 6px 3px; }

.wds-banner-notification__container .wds-banner-notification .wds-banner-notification__close { align-self: center; padding: 0 18px; }/**/

/* Limit quantity to three at a time */ .wds-banner-notification__container .wds-banner-notification:nth-of-type(3) ~ .wds-banner-notification { display: none; }

.wds-banner-notification__container .wds-banner-notification + .wds-banner-notification .wds-banner-notification__close, .wds-banner-notification__container .wds-banner-notification + .wds-banner-notification .wds-banner-notification__text { border: 0; }/**/

/* Make Banner Noticiations easier to X out on phones */ @media only screen and (max-width: 768px) { .wds-banner-notification__container .wds-banner-notification .wds-banner-notification__text { font-size: 100%; }

.wds-banner-notification__container .wds-banner-notification .wds-banner-notification__icon .wds-icon, .wds-banner-notification__container .wds-banner-notification .wds-banner-notification__close { transform: scale(1.4); } }/**/

/**********************************************/ /** FandomizedWikiFeatures Fork + exemptions **/ /**********************************************/ body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider.on, body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider { width: 44px; min-width: initial; height: 21px; background: #999999; background-image: none; border: none; box-shadow: none; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider.on { background: #7FDBDC; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider .button { top: -3px; background-color: #F6F6F6; background-image: none; border: none; border-radius: 50%; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084); }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider.on .button { background: #00D6D6; margin-left: -20px; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider.on .texton, body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider .textoff { position: relative; top: -4px; right: -50px; z-index: 100000; width: 200%; font-weight: normal; color: inherit; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .slider .textoff { margin-left: 10px; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .feedback { display: inline-flex; justify-content: center; align-items: center; background: transparent; font-weight: 600; color: #00B7E0; letter-spacing: 0.15px; text-transform: uppercase; padding: 7px 18px; border: 1px solid #00B7E0; border-radius: 3px; box-sizing: content-box; margin: 0 0 0 90px; transition-duration: 0.3s; transition-property: background-color, color, border-color; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions { display: flex; align-items: center; margin-top: 0; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .feedback:hover { color: #47DDFF; border-color: #47DDFF; }

body:not(.wiki-diepio) .WikiFeatures .features .feature .actions .feedback img { display: none; }

body:not(.wiki-diepio) .WikiFeatures > h2.heading-features { background: url("https://dev.wikia.com/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-controls.svg") no-repeat 7px 5px / 30px; }

body:not(.wiki-diepio) .WikiFeatures > h2.heading-labs { background: url("https://dev.wikia.com/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-gear.svg") no-repeat 7px 5px / 30px; }/**/

/***********************************************************************/ /******************************** Misc. ********************************/ /***********************************************************************/ /* Discussions Notif Dropdown */ .wds-list.wds-has-lines-between > li:hover { background-color: rgba(164, 182, 191, 0.2); }

.ns-2 .noarticletext { text-align: center; }/**/
 * 1) discussionsbiomodal > section > p,

/* Vanity FTW */ color: #4286F4; }
 * 1) WikiaPage li[data-id="user-activity"] > a {

text-shadow: 0 0 2px #4286F4; }/**/
 * 1) WikiaPage li[data-id="user-activity"] > a:hover {

/* FastCreate */ .wds-community-header__wiki-buttons .wds-dropdown .wds-list > li > a { cursor: pointer; }/**/

/* Special:Community — Truncate long usernames */ .mw-special-Community .contributors-module .community-page-contributor-details { max-width: 170px; }

.mw-special-Community a[data-tracking="top-contributors-user"], .mw-special-Community a[data-tracking="top-moderators-user"] { display: inline-block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }/**/

/* Put MediaWiki files first */ display: flex; justify-content: space-between; }
 * 1) cql-module-content {

order: 2; }/**/
 * 1) cql-module-content #cql-module-userFiles-outer {

/* Hovah */ .wikia-menu-button .drop:hover ~ .WikiaMenuElement, .wikia-menu-button .WikiaMenuElement:hover { display: block; min-width: 100%; }/**/

/***********************************************************************/ /*********** Ursuul’s List of Absolutely Unnecessary Things™ ***********/ /***********************************************************************/ .wds-list.wds-is-linked li a[href="//community.wikia.com/wiki/Help:Contents"], .mw-special-Community .contributors-module .community-page-contributor-rank, .mw-special-JSPages .wds-banner-notification ~ .wds-banner-notification, .tabs-container .tabs li[data-id="following"], .tabs-container .tabs li[data-id="editcount"], .ns-talk .wds-dropdown__content #ca-talk, .mainpage #page-creator, .ns-500 #lastEdited, .home-top-right-ads, .WikiaTopAds, .qual_ol { display: none !important; }
 * 1) recirculation-footer-index-container,
 * 2) blackout_CommunityPageFirstEditModal,
 * 3) edit-protection ~ #create-protection,
 * 4) DirectGpt_HOME_TOP_RIGHT_BOXAD,
 * 5) RelatedPagesModuleWrapper,
 * 6) bottomLeaderboardWrapper,
 * 7) top-right-boxad-wrapper,
 * 1) w3-validator-button,
 * 1) RECIRCULATION_RAIL,
 * 2) PageShareContainer,
 * 1) INCONTENT_WRAPPER,
 * 1) backtotop,
 * 2) ad-skin,

.has-bfaa .wds-community-header, .has-bfaa { padding-top: 0 !important; }/* native advertisements eliminated */