MediaWiki:Vector-darkmode.less/links.less

From Old School RuneScape Wiki
Jump to: navigation, search
// <pre>
/* =================
      link colors
   ================= */

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

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

a,
image a {
    color: @dark-links;

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

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

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

	}

}

div.vectorTabs li, /* top tabs */
div.vectorMenu li, /* top tabs dropdown */
#mw-panel .portal .body li /* sidebar */ {

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

    // redlinks
    &.new a,
    &.new a:visited,
    &.new a:active {
        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;
    }

}