MediaWiki:Vector.css: Difference between revisions

m
Selected li now connects to the body
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
m (Selected li now connects to the body)
 
(20 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-body {
.skin-vector-legacy .mw-body {
z-index: 1;
z-index: 1;
     position: absolute;
     position: relative;
}
}


.vector-menu-tabs-legacy .selected {
.vector-menu-tabs-legacy .selected {
background: url(https://static.miraheze.org/btawiki/8/85/Navigation_bg.png),linear-gradient(#fff, #fff);
background-image: url(https://static.miraheze.org/btawiki/8/85/Navigation_bg.png),linear-gradient(#fff, #fff);
}
 
.client-darkmode .vector-menu-tabs-legacy .selected {
background-image: url(https://static.miraheze.org/btawiki/8/85/Navigation_bg.png),linear-gradient(#111116, #111116);
}
 
.client-darkmode .vector-menu-tabs-legacy .selected a, .client-darkmode .vector-menu-tabs-legacy .selected a:visited {
color: #ddd;
}
}
.vector-menu-tabs-legacy li {
.vector-menu-tabs-legacy li {
background-image: url(https://static.miraheze.org/btawiki/8/85/Navigation_bg.png);
background-image: url(https://static.miraheze.org/btawiki/8/85/Navigation_bg.png);
Line 16: Line 25:
background-position: top;
background-position: top;
image-rendering: pixelated;
image-rendering: pixelated;
z-index: 1;
position: relative;
}
}


Line 24: Line 35:


.vector-menu-tabs-legacy li::before {
.vector-menu-tabs-legacy li::before {
content: '';
    content: '';
display: block;
    display: block;
height: 8px;
    height: 8px;
width: 100%;
    width: 100.56%;
background-image: url(https://static.miraheze.org/btawiki/e/e3/Navigation_top.png);
    background-image: url(https://static.miraheze.org/btawiki/e/e3/Navigation_top.png);
background-size: 32px 100%;
    background-size: 32px 100%;
position: absolute;
    position: absolute;
bottom: 40px;
    bottom: 40px;
transform: matrix(1, 0, -1, 1, 0, 0);
    transform: matrix(1, 0, -1, 1, 0, 0);
     left: 4px;
     transform-origin: bottom left;
}
}


Line 40: Line 51:
background-size: 32px;
background-size: 32px;
     image-rendering: pixelated;
     image-rendering: pixelated;
}
.client-darkmode .vector-menu-tabs-legacy .vector-menu-content-list, .client-darkmode .vector-menu-tabs-legacy::before {
background-image: url(https://static.miraheze.org/btawiki/5/58/Navigation-dirt-dark-mode.png);
background-color: #000000 !important;
}
}