Difference between revisions of "MediaWiki:Vector.css"
Line 13: | Line 13: | ||
font-weight: bold; | font-weight: bold; | ||
color: #2f2f2f; | 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; | ||
} | } |
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;
}