MediaWiki:Vector-darkmode.less/links.less

De RuneScape Wiki
Ir para navegação Ir para pesquisar
// <pre>
/* =================
      link colors
   ================= */

@red-links: lighten( @flamingo, 10% );

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

a,
image a {
    color: @dark-links;

    &:visited,
    &:active {
        color: @dark-links;
    }

	// redlinks
	&.new {
		color: @red-links;

		&:visited {
			color: @red-links;
		}

	}

}

nav.vector-menu-tabs li, /* top tabs */
nav.vector-menu li, /* top tabs dropdown */
#p-cactions .vector-menu-content,
#mw-panel .portal .vector-menu-content li /* sidebar */ {

    a,
    a:visited,
    a:active {
        color: @dark-links;
    }

    // redlinks
    &.new a,
    &.new a:visited,
    &.new a:active {
        color: @red-links;
    }

}
/* sidebar recent changes */
#p-Recent_changes {
	.rc-sidebar-page {
		&, &:active, &:visited {
			color: @dark-links;
		}
	}
	.rc-sidebar-user {
		color: #666;
		a {
			color: inherit;
		}
	}
}


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;
    }

}