MediaWiki:Vector.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 45: | Zeile 45: | ||
} | } | ||
$wgHooks['SkinAfterContent'][] = function(&$data, $skin) { | |||
$data = '<div class="gas-bottom">'; | |||
$data .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>'; | |||
$data .= '<ins class="adsbygoogle gas-bottom-first" | |||
style="display:table; width:728px; height:90px; margin:1em auto; clear:both;" | |||
data-ad-client="ca-pub-1836625107371348" | |||
} | data-ad-slot="4628542976"></ins>'; | ||
$data .= '<script> | |||
(adsbygoogle = window.adsbygoogle || []).push({}); | |||
</script>'; | |||
$data .= '</div>'; | |||
return true; | |||
}; | |||
Version vom 30. Januar 2022, 10:04 Uhr
/* CSS placed here will affect users of the Vector skin */
#p-navigation
{
border-image: url("https://heimatforschung-ostfriesland.de/norden/Wappen_Ostfriesland.png") 30
round;
}
#p-tb
{
border-image: url("https://heimatforschung-ostfriesland.de/norden/Wappen_Ostfriesland.png") 30
round;
}
/* Make clickable text on links invisible. */
li#n-hi {
color:#f6f6f6;
visibility: visible;
font-size:0em;
}
#n-hi:hover ::after, #n-hi ::after {
content: '';
display:inline-block;
width: 120px;
height: 600px;
background: url('https://heimatforschung-ostfriesland.de/norden/Werbung1.png');
}
/* Every image need to have its own rule defined. */
#n-hi::after{
background: url('https://heimatforschung-ostfriesland.de/norden/Werbung1.png');
}
#n-hi:hover ::after {
background: url('https://heimatforschung-ostfriesland.de/norden/Werbung1.png');
}
#n-hi:hover ::after, #n-hi ::after{
background-repeat: no-repeat;
background-size: contain;
}
#mw-panel .portal .body li#n-hi {
font-size:0em;
padding:10px;
}
$wgHooks['SkinAfterContent'][] = function(&$data, $skin) {
$data = '<div class="gas-bottom">';
$data .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>';
$data .= '<ins class="adsbygoogle gas-bottom-first"
style="display:table; width:728px; height:90px; margin:1em auto; clear:both;"
data-ad-client="ca-pub-1836625107371348"
data-ad-slot="4628542976"></ins>';
$data .= '<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>';
$data .= '</div>';
return true;
};