MediaWiki:Common.less/links.less

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

@internal-link-color: saturate( darken( @steel-blue, 6% ), 8% );
@external-link-color: lighten( spin( @internal-link-color, 15% ), 5% );

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

a,
image a,
div.vectorTabs li a, /* top tabs */
div.vectorMenu li a, /* top tabs dropdown */ {
    color: @internal-link-color;

    &:visited,
    &:active {
        color: @internal-link-color;
    }

	// redlinks
	&.new {
		color: #ba0000;

		&:visited {
			color: #ba0000;
		}

	}

}

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

    &:visited,
    &:active {
        color: @external-link-color;
    }

}