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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
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; 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 {
body.mw-special-FundraiserLandingPage.page-Special_LandingPage {
flex-direction: column-reverse;
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 {
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content .mw-parser-output #main-wrapper #form-wrapper {
width: 35vw;
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;
}
}
}
}
Line 80: 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 86: 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' 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")
quote.classList.add("jimmy-appeal")
var leftSide = document.getElementById("mw-navigation");
var leftSide = document.getElementById("mw-navigation");

Latest revision as of 23:37, 14 November 2023