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 edit summary
 
Line 130: Line 130:


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


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


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


//Template:Horizontal Line
//Template:Horizontal Line
.updateline {
.updateline {
background: url('filepath://Dark_Horizontal_Line.png') no-repeat;
background: url('/images/rss/Dark_Horizontal_Line.png') no-repeat;
background-position: center;
background-position: center;
}
}
Line 344: Line 344:
//Template:Rune pouch
//Template:Rune pouch
.runepouchtable {
.runepouchtable {
background: url('filepath://Rune_pouch_background_(dark_mode).png') no-repeat;
background: url('/images/rss/Rune_pouch_background_(dark_mode).png') no-repeat;
}
}


Line 350: Line 350:
.equipment {
.equipment {
background: #242f43;
background: #242f43;
border-image-source: url("filepath://Interface_border_(dark_mode).png");
border-image-source: url("/images/rss/Interface_border_(dark_mode).png");
}
}


.equipment-div {
.equipment-div {
background-image: url('filepath://Worn_equipment_tab_(no_buttons)_(dark_mode).png');
background-image: url('/images/rss/Worn_equipment_tab_(no_buttons)_(dark_mode).png');
}
}


.equipment-div-buttons {
.equipment-div-buttons {
background-image: url('filepath://Worn_equipment_tab_(dark_mode).png');
background-image: url('/images/rss/Worn_equipment_tab_(dark_mode).png');
}
}


.equipment-blank {
.equipment-blank {
background-image: url('filepath://Blank_slot_(dark_mode).png');
background-image: url('/images/rss/Blank_slot_(dark_mode).png');
}
}



Latest revision as of 17:16, 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 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('/images/rss/Inventory_tab_(dark_mode).png') no-repeat; }

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

//Template:Horizontal Line .updateline { background: url('/images/rss/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('/images/rss/Rune_pouch_background_(dark_mode).png') no-repeat; }

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

.equipment-div {

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

}

.equipment-div-buttons {

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

}

.equipment-blank {

   background-image: url('/images/rss/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; }