MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will affect users of the Vector skin: div#mw-panel div.portal.first h3 { display: unset; } div#mw-panel div.portal.first div.body { margin-left: uns..." |
live testing? live testing. |
||
| Line 1: | Line 1: | ||
/* | /* sidebar */ | ||
#mw-panel { | |||
padding-left: 1em; | |||
} | |||
.vector-menu-portal { | |||
margin: 0; | |||
} | |||
.vector-menu-portal .vector-menu-content, .vector-menu-heading { | |||
margin-left: 0 !important; | |||
} | |||
.vector-menu-portal .vector-menu-content li { | |||
padding: 0; | |||
} | |||
#mw-panel .vector-menu-content-list .mw-list-item a { | |||
font-size: 1em; | |||
color: white !important; | |||
text-decoration: underline !important; | |||
display: inline-block; | |||
width: calc(100% - 10px); | |||
padding: 5px; | |||
} | |||
#mw-panel .vector-menu-content-list .mw-list-item a:hover { | |||
background-color: rgba(0, 0, 0, 0.5); | |||
} | |||
#p-logo + .mw-portlet .vector-menu-heading { | |||
display: block !important; | |||
} | |||
.vector-menu-portal .vector-menu-heading-label { | |||
font-size: 1.25em; | |||
color: white; | |||
} | |||
.vector-menu-portal h3 { | |||
background-image: none !important; | |||
} | } | ||
#mw-panel .vector-menu-content-list { | |||
background: blue; | |||
border: solid 2px white; | |||
box-shadow: 4px 4px 0px black; | |||
padding: 4px; | |||
} | } | ||
Revision as of 18:17, 22 April 2024
/* sidebar */
#mw-panel {
padding-left: 1em;
}
.vector-menu-portal {
margin: 0;
}
.vector-menu-portal .vector-menu-content, .vector-menu-heading {
margin-left: 0 !important;
}
.vector-menu-portal .vector-menu-content li {
padding: 0;
}
#mw-panel .vector-menu-content-list .mw-list-item a {
font-size: 1em;
color: white !important;
text-decoration: underline !important;
display: inline-block;
width: calc(100% - 10px);
padding: 5px;
}
#mw-panel .vector-menu-content-list .mw-list-item a:hover {
background-color: rgba(0, 0, 0, 0.5);
}
#p-logo + .mw-portlet .vector-menu-heading {
display: block !important;
}
.vector-menu-portal .vector-menu-heading-label {
font-size: 1.25em;
color: white;
}
.vector-menu-portal h3 {
background-image: none !important;
}
#mw-panel .vector-menu-content-list {
background: blue;
border: solid 2px white;
box-shadow: 4px 4px 0px black;
padding: 4px;
}