Open main menu

DAVE Developer's Wiki β

Difference between revisions of "MediaWiki:Vector.css"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
+
/* style the background of the sidebar section headers */
#p-navigation
+
.mediawiki div#mw-panel div.portal h3 {
{
+
font-size: 80%;
border-image: url("https://www.dave.eu/files/p/SpN3HAZI2O5ZHgXX") 30
+
padding: 0.5em;
round;
+
background-color: #ededed;
border-top: 1px solid black;  
+
border-radius: 2px;
border-left: 1px solid black;
 
border-right: 1px solid black;
 
border-bottom: 1px solid black;
 
 
}
 
}
#p-tb
+
 
{
+
/* text styles for sidebar headers */
border-image: url("https://www.dave.eu/files/p/SpN3HAZI2O5ZHgXX") 30
+
.mediawiki div#mw-panel div.portal h3,
round;
+
div#pageWrapper div#mw-panel h3 a {
border-top: 1px solid black;  
+
text-transform: uppercase;
border-left: 1px solid black;
+
font-weight: bold;
border-right: 1px solid black;
+
color: #2f2f2f;
border-bottom: 1px solid black;
+
}
 +
 
 +
/* Make clickable text on links invisible. */
 +
#n-hi1 {
 +
color:#f6f6f6;
 +
font-size:0em;
 +
}
 +
 
 +
#n-hi1:hover ::after, #n-hi1 ::after {
 +
content: '';
 +
display:inline-block;
 +
width: 150px;
 +
height: 150px;
 +
 
 +
background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
 +
}
 +
 
 +
/* Every image need to have its own rule defined. */
 +
#n-hi1::after{
 +
background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
 +
}
 +
 
 +
#n-hi1:hover ::after {
 +
background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
 +
}
 +
#n-hi1:hover ::after, #n-hi1 ::after{
 +
background-repeat: no-repeat;
 +
background-size: contain;
 +
}
 +
 
 +
#mw-panel .portal .body li#n-hi1 {
 +
font-size:0em;
 +
padding:10px;
 
}
 
}

Latest revision as of 15:23, 7 February 2022

/* style the background of the sidebar section headers */
.mediawiki div#mw-panel div.portal h3 {
	font-size: 80%;
	padding: 0.5em;
	background-color: #ededed;
	border-radius: 2px;
}

/* text styles for sidebar headers */
.mediawiki div#mw-panel div.portal h3,
div#pageWrapper div#mw-panel h3 a {
	text-transform: uppercase;
	font-weight: bold;
	color: #2f2f2f;
}

/* Make clickable text on links invisible. */
#n-hi1 {
color:#f6f6f6;
font-size:0em;
}

#n-hi1:hover ::after, #n-hi1 ::after {
content: '';
display:inline-block;
width: 150px;
height: 150px;

background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
}

/* Every image need to have its own rule defined. */
#n-hi1::after{
background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
}

#n-hi1:hover ::after {
background: url('https://www.dave.eu/storage/files/siegel-crescita-2022-neu1.png');
}
#n-hi1:hover ::after, #n-hi1 ::after{
background-repeat: no-repeat;
background-size: contain;
}

#mw-panel .portal .body li#n-hi1 {
font-size:0em;
padding:10px;
}