Template:FrDS HeroVideo: Difference between revisions

Content deleted Content added
RLopez-WMF (talk | contribs)
No edit summary
RLopez-WMF (talk | contribs)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1:
<templatestyles src="Template:FrDS_HeroVideo/styles.css" />
<html>
<style>
/* Hero styles */
.hero {
display: flex;
padding: 40px 0px;
background: #DBF3EC;
}
.hero .wrapper{
display: flex;
padding: 0px 20px;
flex-direction: column;
gap: 40px;
max-width: 1060px;
margin: 0 auto;
}
.hero .wrapper div:first-of-type{
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
.hero .wrapper div:last-of-type{
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16px;
align-self: stretch;
}
@media only screen and (min-width:960px) {
.hero .wrapper{
flex-direction: row;
gap: 100px;
align-items: center;
}
.hero .wrapper .player{
width: 480px;
flex-shrink: 0;
}
}
</style>
<header class="hero">
<div class="wrapper">
<div>
<p><a href="https://donate.wikimedia.org/wiki/Ways_to_Give" class="link--has-no-underline">← <span class="link--has-underline">Ways to give</span></a></p>
<h1>Giving monthly</h1>
<p>If Wikipedia is a feature of your daily life, help us ensure every person on the planet gets the same access to knowledge.</p>
<a href="#https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?monthly=true&uselang=en&wmf_medium=recurringHub&wmf_campaign=recurringHub&wmf_source=recurringHub_hero" class="button green-bg">
<img src="https://upload.wikimedia.org/wikipedia/donate/a/a1/Icon-donate-white.png">
Support Us
Line 52 ⟶ 14:
<div class="player">
</html>
[[File:Why do you see fundraising messages on Wikipedia – A WIKI MINUTE 16-9.webm|thumbtime=19|300px480px|Why do you see fundraising messages on Wikipedia?]]
<html>
</div>