mirror of
https://github.com/torproject/webwml.git
synced 2024-11-23 18:00:01 +00:00
Fix css and layout for banner
This commit is contained in:
parent
10e6c8add6
commit
5f24209bb4
@ -1396,25 +1396,39 @@ p.blogDate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.eoy-background {
|
.eoy-background {
|
||||||
background-color: #FFFFFF;
|
background-color: #F8F9FA;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200px;
|
height: 300px;
|
||||||
padding-left: 10%;
|
margin-bottom: 35px;
|
||||||
padding-right: 10%;
|
}
|
||||||
padding-top: 5%;
|
|
||||||
|
.eoy-wrap {
|
||||||
|
width: 960px;
|
||||||
|
margin: auto;
|
||||||
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eoy-artwork {
|
.eoy-artwork {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
background: url(../images/artwork@2x.png) left top no-repeat;
|
background: url(../images/artwork@2x.png) left bottom no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
float: left;
|
float: left;
|
||||||
height: 100%;
|
height: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eoy-message {
|
.eoy-message {
|
||||||
width: 60%;
|
width: 55%;
|
||||||
float: right;
|
float: right;
|
||||||
|
padding-left: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.advance-universal-hu {
|
||||||
|
color: #420C5D;
|
||||||
|
font-family: Source Sans Pro;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 29px;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tor-strength-in-num {
|
.tor-strength-in-num {
|
||||||
@ -1426,7 +1440,16 @@ p.blogDate {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tor-strength-in-num > p {
|
.give-today-and-mozi {
|
||||||
|
color: #420C5D;
|
||||||
|
font-family: Source Sans Pro;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 16px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tor-strength-in-num > p.title {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1436,7 +1459,6 @@ p.blogDate {
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
width: 454px;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1455,6 +1477,8 @@ p.blogDate {
|
|||||||
width: 120px;
|
width: 120px;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.count-me-in {
|
.count-me-in {
|
||||||
@ -1465,3 +1489,7 @@ p.blogDate {
|
|||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background: cyan;
|
||||||
|
}
|
||||||
|
101
css/layout.min.css
vendored
101
css/layout.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,4 +1,5 @@
|
|||||||
<div class="eoy-background">
|
<div class="eoy-background">
|
||||||
|
<div class="eoy-wrap">
|
||||||
<div class="eoy-artwork">
|
<div class="eoy-artwork">
|
||||||
</div>
|
</div>
|
||||||
<div class="eoy-message">
|
<div class="eoy-message">
|
||||||
@ -6,11 +7,12 @@
|
|||||||
<p>Tor: strength in numbers</p>
|
<p>Tor: strength in numbers</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="keep-tor-strong-giv">
|
<div class="keep-tor-strong-giv">
|
||||||
<p>Keep Tor strong.</p>
|
<p class="advance-universal-hu">Advance universal <mark>human rights.</mark> Protect the <mark>privacy of millions.</mark> Your financial support will allow people around the world to be more <mark>safe online.</mark></p>
|
||||||
<span>Give today, and Mozilla will match your donation.</span>
|
<span class="give-today-and-mozi">Give today, and Mozilla will match your donation.</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="eoy-btn-container">
|
<div class="eoy-btn-container">
|
||||||
<a class="eoy-btn count-me-in">Count me in</a>
|
<a class="eoy-btn count-me-in">Count me in</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user