MediaWiki:Vector-darkmode.less/templates.less: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "→‎======================== templates ========================: →‎------------------------ math kind of sus but it works ------------------------: .mwe-math-element img { -webkit-filter: invert(100%); filter: invert(100%); } →‎------------------------ coins ------------------------: .coins { color: @lima; } .coins-pos { color: @curious-blue; } .coins-neg { color: @flamingo; } /* -----------------...")
(No difference)

Revision as of 00:11, 17 October 2024

/* ========================

          templates
  ======================== */

/* ------------------------

            math
  kind of sus but it works
  ------------------------ */

.mwe-math-element img { -webkit-filter: invert(100%); filter: invert(100%); }

/* ------------------------

           coins
  ------------------------ */

.coins {

   color: @lima;

}

.coins-pos {

   color: @curious-blue;

}

.coins-neg {

   color: @flamingo;

}

/* ------------------------

           quotes
  ------------------------ */

blockquote {

   color: inherit;
   p:not(.quote-source) {
       border-color: @pickled-bluewood;
   }

}

/* ------------------------

       quest details
  ------------------------ */

.questdetails {

   background-color: @dark-wikitable-background;
   border: none;

}


.questdetails-header, .questdetails tr:nth-child(odd) .questdetails-header {

   background-color: @dark-wikitable-header;

}

.questreq ul { border-color: @waikawa-grey; }

/* ------------------------

       documentation
  ------------------------ */

.documentation { background-color: @dark-wikitable-background;

pre, code { background-color: @cloud-burst; }

}

.documentation-header { background: @dark-wikitable-header; color: @dark-text; }

.documentation-subheader {

   background: darken( @dark-wikitable-header, 2% );
   color: @dark-text;

}

/* ------------------------

       templatedata
  ------------------------ */

.mw-templatedata-doc-params dl { border-color: @dark-wikitable-border; }

/* ------------------------

     Uses material list
  ------------------------ */

.production-selected { background: @la-palma; color: @white;

.mw-selflink.selflink { color: @white; } }

/* ------------------------

       Redwood Grove
  ------------------------ */

.forumheader { border-color: @dark-wikitable-header;

   background-color: @dark-wikitable-background;

} /* unused .forumsearchbox { color: @dark-text;

   background-color: @dark-wikitable-background;
   .mw-ui-button.mw-ui-progressive:disabled {
       color: @river-bed;
   }

}

  • /

.forumlist.archive { background: transparent; text-align: initial; }

/* ------------------------

        Update mw.pages
  ------------------------ */

.update { background: @dark-wikitable-background; }

/* ------------------------

         succession
  ------------------------ */

.succession {

th { background: @dark-wikitable-header; }

td { background: @dark-wikitable-background; }

}

/* ------------------------

        family tree
  ------------------------ */

td.famtreeleaf {

   background: @dark-wikitable-background;
   border-color: @dark-wikitable-border;

}

/* ------------------------

        Chat options
  ------------------------ */

.chat-options .chat-options-underline { border-color: @dark-links; }

/* --------------------------

    Module:ExchangeDefault
  -------------------------- */

.gemw-header {

   .gemw-name a {
       color: @dark-links;
   }
   .gemw-examine,
   .gemw-price::after,
   .gemw-updated,
   .gemw-time {
       color: @dark-text;
   }

}

.gemw-body {

   .gemw-section-left a,
   .gemw-property dt {
       color: @dark-links;
   }
   .gemw-property {
       border-color: @waikawa-grey;
   }
   .gemw-links {
       color: @dark-text;
   }

}

/* ------------------------

         sic/fact
  ------------------------ */

.fact-text { color: @curious-blue; border-color: @portage; }

/* ------------------------

     Template:Wikipedia
  ------------------------ */

.wikipedia { background-color: @dark-wikitable-background; border-color: @dark-interface-border; }

/* ------------------------

     Template:Equipment
  ------------------------ */

.equip-table { background-color: @dark-wikitable-background; border-color: @dark-wikitable-border; outline-color: @black-pearl;

td.equip-slot { background-color: @waikawa-grey; border-color: @dark-wikitable-border; }

th.equip-caption { color: @dark-text; } }

//Template:MMGTable? .mmg-profit { color: #3ea4df; }

//Talkheader template .talkheader { background-color: @dark-infobox-subheader; }

//Template:Shortcut .shortcut { background-color: @dark-wikitable-background; border-color: @dark-interface-border; }

//Template:Succession .succession-title {

   background: @dark-wikitable-header;

}

.succession-cell {

   background: @dark-wikitable-background;

}

//Relative location .relative-location { background-color: @dark-wikitable-background; border-color: @dark-wikitable-border; &-txt { color: @dark-text; }

&-header { background: @dark-infobox-subheader; } }

//Template:Archive list .archivelist { background-color: @dark-wikitable-background; border-color: @dark-interface-border; }

//Template:Inventory .inventorytable { background: url('filepath://Inventory_tab_(dark_mode).png') no-repeat; }

//Template:Looting bag .lootingbagtable { background-image: url('filepath://Looting_bag_tab_(dark_mode).png'); }

//Template:Horizontal Line .updateline { background: url('filepath://Dark_Horizontal_Line.png') no-repeat; background-position: center; }

//Template:PollNotice .pollnotice { background: @dark-wikitable-background; color: @dark-text; }

.pollquestion { border-color: @dark-interface-border; color: @dark-text; background: @dark-wikitable-header;

&::before { background: linear-gradient(0deg, #222e45, #222e45 50%, rgba(0, 0, 0, 0) 50.001%, rgba(0, 0, 0, 0)); } }

.archivepollq { border-color: @dark-interface-border; color: @dark-text; background: @dark-wikitable-header;

&::before { background: linear-gradient(0deg, #222e45, #222e45 50%, rgba(0, 0, 0, 0) 50.001%, rgba(0, 0, 0, 0)); }

   data {
        background: @dark-interface-border;
   }
   td.archivepollpercent {
       border-color: @dark-interface-border;
   }
   &.e {
       border-color: @old-brick;
       background: @mocaccino;
       &::before {
           background: linear-gradient(0deg, @mocaccino, @mocaccino 50%,rgba(0,0,0,0) 50%);
       }
   }

}

//Template:Rune pouch .runepouchtable { background: url('filepath://Rune_pouch_background_(dark_mode).png') no-repeat; }

//Template:Equipment .equipment { background: #242f43; border-image-source: url("filepath://Interface_border_(dark_mode).png"); }

.equipment-div {

   background-image: url('filepath://Worn_equipment_tab_(no_buttons)_(dark_mode).png');

}

.equipment-div-buttons {

   background-image: url('filepath://Worn_equipment_tab_(dark_mode).png');

}

.equipment-blank {

   background-image: url('filepath://Blank_slot_(dark_mode).png');

}

.equipment-ikod hr {

   border-top: 1px solid #0e0e2c;
   border-bottom: 1px solid #474765;

}

//Template:Collapsed section .collapsed-sec { color: @dark-text; text-shadow:1px 1px black; }


//Template:CiteGeneral Language .citegen-lang { color: darkgrey; }

//Template:Rfd top .rfdheader { border: 1px solid @dark-interface-border; }

// Template:TB .tbz-region, .tbz-badge { background-color: #242E43; border-color: @waikawa-grey; }

.tbz-unlocked { background: repeating-linear-gradient(-45deg, #315d30 0 20px, #13421e 20px 30px); border-color: #00e417; }

.tbz-locked { background-color: #8a2525; border-color: #b32828; }

// Template:Key press .keypress { background: @pickled-bluewood; color: @dark-text; border: 1px solid @cloud-burst; text-shadow: none; }