MediaWiki:Vector.css

From DAVE Developer's Wiki
Revision as of 15:23, 7 February 2022 by U0009 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}