Difference between revisions of "MediaWiki:Common.less/links.less"

From The Kingkiller Chronicle Wiki
Jump to navigation Jump to search
(Created page with "// <pre> →‎================= link colors =================: @internal-link-color: saturate( darken( @steel-blue, 6% ), 8% ); @external-link-color: lighten( spin(...")
 
(Corey changed the content model of the page MediaWiki:Common.less/links.less from "wikitext" to "CSS")
Tag: content model change
 
(No difference)

Latest revision as of 11:56, 20 December 2018

// <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 */
#mw-panel .portal .body li a /* sidebar */ {
    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;
    }

}