Template:Appeal/FY2324 E3 XM/en: Difference between revisions

Content deleted Content added
No edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 29:
width: 200px;
margin: 0 auto;
}
 
.wmf-mb-logo {
display:none;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content .mw-parser-output #main-wrapper #form-wrapper {
Line 65 ⟶ 69:
 
@media (max-width: 980px) {
.wmf-mb-logo {display:block; width:200px; margin:20px auto}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content img.wmf-logo {display:none;}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage {
overflow:auto;
height:max-content;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage {
flex-direction: column-reverse;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content .mw-parser-output #main-wrapper #form-wrapper {
width: 380px;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation {
flex: unset;
background: unset;
overflow-y: unset;
max-height: unset;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#content.mw-body {
flex: unset;
height: unset;
overflow-y: hidden;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#bodyContent.vector-body {
overflow-y: hidden;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-quote {
font-size:16px;
padding:0;
}
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-founder {
font-size:14px;
text-align:center;
}
}
</style>
Line 77 ⟶ 112:
var rightSide = document.getElementById("mw-content-text");
rightSide.insertBefore(logo, rightSide.firstChild);
 
 
var emptyParagraph = document.querySelector('.wmf-logo').nextElementSibling;
emptyParagraph.style.display = "none";
Line 83 ⟶ 120:
function addQuote() {
var quote = document.createElement("div");
quote.innerHTML = "<img src='https://upload.wikimedia.org/wikipedia/donate/6/60/Wmf_logo_horiz_K.svg' class='wmf-mb-logo' alt='Wikimedia Foundation Logo'><p class='jimmy-quote'>“Imagine a world in which every single person on the planet has free access to the sum of all human knowledge.”</p><p class='jimmy-founder'>Jimmy Wales - Founder of Wikipedia</p>";
quote.classList.add("jimmy-appeal")
var leftSide = document.getElementById("mw-navigation");