MediaWiki:Common.less/links.less

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

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

a,
image a {
    color: @LINK_COLOR;

    &:visited,
    &:active {
        color: @LINK_COLOR;
    }

	&.new {
		color: @REDLINK_COLOR;

		&:visited {
			color: @REDLINK_COLOR;
		}
	}
}

div.vectorTabs li a, /* top tabs */
div.vectorMenu li a, /* top tabs dropdown */
#mw-panel .portal .body li a /* sidebar */ {
    color: #442b18;

    &:visited,
    &:active {
        color: #442b18;
    }

}

/* --------------------
      external links
   -------------------- */
.mw-body-content a.external,
.mw-body-content a.extiw, /* interwiki link */ {
    color: @LINK_COLOR;

    &:visited,
    &:active {
        color: @LINK_COLOR;
    }
}

// recolor internal purge links classified by MediaWiki as external
.jsPurgeLink a.external {
    color: @LINK_COLOR;
}