Difference between revisions of "MediaWiki:Vector.css"

From EEWiki
Jump to: navigation, 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:
/* CSS placed here will affect users of the Vector skin */
+
/* 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;
 +
}
  
div#mw-panel div.portal.first h3 {
+
.vector-menu-portal h3 {
  display: unset;
+
background-image: none !important;
 
}
 
}
  
div#mw-panel div.portal.first div.body {
+
#mw-panel .vector-menu-content-list {
  margin-left: unset;
+
background: blue;
 +
border: solid 2px white;
 +
box-shadow: 4px 4px 0px black;
 +
padding: 4px;
 
}
 
}

Revision as of 13: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;
}