MediaWiki:Vector.css: Difference between revisions

From ihaveahax's Site
Jump to navigationJump to search
(testing in production... testing in production... moved from MediaWiki:Common.css)
 
(actually use the right selector!!!)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */
#mw-page-base {
/*background-color: #CCD0E5;*/
background-color: transparent;
background-image: none; /*linear-gradient(to bottom,#fff 50%,#CCD0E5 100%);*/
}


.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
/* from: https://en.wiktionary.org/w/index.php?title=MediaWiki:Vector.css&oldid=59355716 */
/*background-image: linear-gradient(to bottom, #CCD0E5 0, #93A0D5 100%);*/
/* remove one blank line (1 em) between the "personal tools" and the tabs  
background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0, #93A0D5 100%);
This is limited to the legacy Vector
}
It does not apply to the upcoming refreshed Vector https://en.wiktionary.org/w/index.php?useskinversion=2
*/
.skin-vector-legacy #left-navigation {margin-top: 1.5em;}
.skin-vector-legacy #right-navigation {margin-top: 1.5em;}
/* Could also use #mw-page-base below */
.skin-vector-legacy #mw-head-base {height: 4em;}


.vector-menu-tabs li {
.skin-vector #content {background-color: white;}
/*background-image: linear-gradient(to top, #93A0D5 0, rgba(255,255,255,.5) 1px, #CCD0E5 100%);*/
background-image: linear-gradient(to top, #93A0D5 0, rgba(255,255,255,.5) 1px, rgba(255,255,255,0) 100%);
}
 
.vector-menu-tabs .selected {
/*background-image: linear-gradient(to top, #fff 0, #fff 1px, #CCD0E5 100%);*/
background-color: transparent;
background-image: linear-gradient(to top, #fff 0, #fff 1px, rgba(255,255,255,0) 100%);
}

Latest revision as of 04:23, 13 February 2021

/* All CSS here will be loaded for users of the Vector skin */

/* from: https://en.wiktionary.org/w/index.php?title=MediaWiki:Vector.css&oldid=59355716 */
/* remove one blank line (1 em) between the "personal tools" and the tabs 
This is limited to the legacy Vector
It does not apply to the upcoming refreshed Vector https://en.wiktionary.org/w/index.php?useskinversion=2
*/
.skin-vector-legacy #left-navigation {margin-top: 1.5em;}
.skin-vector-legacy #right-navigation {margin-top: 1.5em;}
/* Could also use #mw-page-base below */
.skin-vector-legacy #mw-head-base {height: 4em;}

.skin-vector #content {background-color: white;}