MediaWiki:Vector-darkmode.less/links.less

From Old School Near-Reality Wiki
< MediaWiki:Vector-darkmode.less
Revision as of 22:44, 4 October 2022 by Jacmob (talk | contribs) (Created page with "// <pre> →‎================= 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 .vect...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;
    }

}