MediaWiki:Vector-darkmode.less/links.less

From Old School Near-Reality Wiki
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;
    }

}