MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Wikicreator (talk | contribs) No edit summary |
Wikicreator (talk | contribs) mNo edit summary |
||
| Line 25: | Line 25: | ||
/* ===== Footer Ads ===== */ | /* ===== Footer Ads ===== */ | ||
.footer-ads { | .footer-ads { | ||
margin-left: auto; | |||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
Latest revision as of 01:48, 19 October 2025
/* ===== Global Ad Styling ===== */
.adsbygoogle {
max-width: 100%;
margin: 10px auto;
display: block;
}
/* ===== Sidebar Ads ===== */
#mw-panel .adsbygoogle {
margin: 8px 0;
text-align: center;
}
#p-Sponsored {
border-top: 1px solid #ccc;
margin-top: 10px;
padding-top: 10px;
}
/* ===== Content Ads (after every 2 <h2>) ===== */
.content-ad {
margin: 20px 0;
text-align: center;
}
/* ===== Footer Ads ===== */
.footer-ads {
margin-left: auto;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
padding-top: 10px;
border-top: 1px solid #ddd;
}
.footer-ads .adsbygoogle {
flex: 1 1 250px;
}