MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
/* Custom background color for Vector skin tabs */ | /* Custom background color for Vector skin tabs */ | ||
.vector-menu-tabs-legacy | .vector-menu-tabs-legacy { | ||
// Part of the css required to fix external link heights regardless of font size | |||
//.vector-menu-content { | |||
// height: 100%; still needed? | |||
//} | |||
// pixel padding for border | |||
padding: 0; | |||
// redlink in tab | |||
.new { | |||
a, | |||
a:visited { | |||
color: var(--redlink-color); | |||
} | |||
} | |||
// selected tab | |||
.selected { | |||
background: var(--body-main); | |||
a, | |||
a:visited { | |||
color: var(--text-color); | |||
} | |||
} | |||
// padding for tabs | |||
li a { | |||
color: var(--vector-tab-link-color); | |||
padding: 0 .75em; | |||
padding-top: 1em; | |||
&:visited { | |||
color: var(--vector-tab-link-color); | |||
} | |||
} | |||
// background for tabs | |||
ul { | |||
li { | |||
background: var(--vector-tab-background); | |||
} | |||
a:hover { | |||
text-decoration: none; | |||
} | |||
} | |||
} | |||
Revision as of 06:11, 21 May 2023
div.vectorTabs ul li#ca-history { display: none; } /* Custom background color for Vector skin tabs */ .vector-menu-tabs-legacy { // Part of the css required to fix external link heights regardless of font size //.vector-menu-content { // height: 100%; still needed? //} // pixel padding for border padding: 0; // redlink in tab .new { a, a:visited { color: var(--redlink-color); } } // selected tab .selected { background: var(--body-main); a, a:visited { color: var(--text-color); } } // padding for tabs li a { color: var(--vector-tab-link-color); padding: 0 .75em; padding-top: 1em; &:visited { color: var(--vector-tab-link-color); } } // background for tabs ul { li { background: var(--vector-tab-background); } a:hover { text-decoration: none; } } } /* Inactive tab background color */ .vector-menu-tabs-legacy li { display: inline-block; height: 1.9em; padding-left: 0.625em; padding-right: 0.625em; color: #688ba8; cursor: pointer; font-size: 0.8em } .vector-menu-tabs-legacy li a { display: inline-block; height: 1.9em; padding-left: 0.625em; padding-right: 0.625em; color: #688ba8; cursor: pointer; font-size: 0.8em }