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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 29: Line 29:
width: 200px;
width: 200px;
margin: 0 auto;
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 {
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content .mw-parser-output #main-wrapper #form-wrapper {
Line 65: Line 69:


@media (max-width: 980px) {
@media (max-width: 980px) {
.wmf-mb-logo {display:block;}
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 {
body.mw-special-FundraiserLandingPage.page-Special_LandingPage {
overflow:auto;
overflow:auto;
Line 106: Line 112:
var rightSide = document.getElementById("mw-content-text");
var rightSide = document.getElementById("mw-content-text");
rightSide.insertBefore(logo, rightSide.firstChild);
rightSide.insertBefore(logo, rightSide.firstChild);


var emptyParagraph = document.querySelector('.wmf-logo').nextElementSibling;
var emptyParagraph = document.querySelector('.wmf-logo').nextElementSibling;
emptyParagraph.style.display = "none";
emptyParagraph.style.display = "none";
Line 112: Line 120:
function addQuote() {
function addQuote() {
var quote = document.createElement("div");
var quote = document.createElement("div");
quote.innerHTML = "<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.innerHTML = "<img src='https://upload.wikimedia.org/wikipedia/donate/6/60/Wmf_logo_horiz_K.svg' class='wmf-mb-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")
quote.classList.add("jimmy-appeal")
var leftSide = document.getElementById("mw-navigation");
var leftSide = document.getElementById("mw-navigation");

Revision as of 19:15, 9 November 2023