MediaWiki:Vector-darkmode.less/links.less

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:11, 17 October 2024 (Created page with "→‎================= link colors =================: @red-links: lighten( @flamingo, 10% ); →‎-------------------- internal links --------------------: a { color: @dark-links; &:visited, &:active { color: @dark-links; } // redlinks &.new { color: @red-links; &:visited { color: @red-links; } } } .vector-menu-tabs li, // top tabs .vector-menu-dropdown li, // more drop down .vector-menu-portal .vector-menu-c..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

     link colors
  ================= */

@red-links: lighten( @flamingo, 10% );

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

     internal links
  -------------------- */

a {

   color: @dark-links;
   &:visited,
   &:active {
       color: @dark-links;
   }

// redlinks &.new { color: @red-links;

&:visited { color: @red-links; }

}

}

.vector-menu-tabs li, // top tabs .vector-menu-dropdown li, // more drop down .vector-menu-portal .vector-menu-content li /* sidebar */ {

   a,
   a:visited {
       color: @dark-links;
   }
   // redlinks
   &.new a,
   &.new a:visited {
       color: @red-links;
   }

}

a.mw-selflink.selflink { color: @dark-text; }

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

     external links
  -------------------- */ 

.mw-body-content a.external, .mw-body-content a.extiw /* interwiki link */ {

   color: @dark-links;
   &:visited,
   &:active {
       color: @dark-links;
   }

}