Template:Appeal/FY2324 E3 XM/en: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
mNo edit summary |
||
(11 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 { |
|||
⚫ | |||
} |
} |
||
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 { |
body.mw-special-FundraiserLandingPage.page-Special_LandingPage { |
||
flex-direction: column-reverse; |
flex-direction: column-reverse; |
||
Line 70: | Line 80: | ||
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: 380px; |
width: 380px; |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#content.mw-body { |
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#content.mw-body { |
||
flex: |
flex: unset; |
||
height: unset; |
|||
overflow-y: hidden; |
|||
⚫ | |||
⚫ | |||
} |
} |
||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#bodyContent.vector-body { |
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#bodyContent.vector-body { |
||
⚫ | |||
⚫ | |||
⚫ | |||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content { |
|||
overflow-y: auto; |
|||
display: flex; |
|||
flex-direction: column; |
|||
padding: 30px; |
|||
gap: 30px; |
|||
⚫ | |||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-content-text.mw-body-content div#appeal-wrapper { |
|||
⚫ | |||
} |
|||
⚫ | |||
width: 200px; |
|||
margin: 0 auto; |
|||
} |
|||
⚫ | |||
⚫ | |||
background: url("https://people.wikimedia.org/~ppenloglou/assets/images/bg-donate-test.svg"); |
|||
display: flex; |
|||
⚫ | |||
justify-content: center; |
|||
flex-direction: column; |
|||
overflow-y: hidden; |
overflow-y: hidden; |
||
max-height: 100vh; |
|||
⚫ | |||
background-position: center; |
|||
} |
|||
⚫ | |||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation div#mw-panel { |
|||
display: none; |
|||
} |
|||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal { |
|||
padding: 0 2rem; |
|||
} |
} |
||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-quote { |
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-quote { |
||
font-size: |
font-size:16px; |
||
padding:0; |
|||
line-height: 1.5; |
|||
font-weight: bold; |
|||
padding: 0 2rem; |
|||
margin-bottom: 30px; |
|||
} |
} |
||
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-founder { |
body.mw-special-FundraiserLandingPage.page-Special_LandingPage div#mw-navigation .jimmy-appeal .jimmy-founder { |
||
font-size:14px; |
|||
⚫ | |||
} |
} |
||
} |
} |
||
</style> |
</style> |
||
Line 136: | 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 142: | 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