Skip to content

Commit 034b273

Browse files
committed
Fixes Sponsor
1 parent d35b2c6 commit 034b273

File tree

3 files changed

+32
-24
lines changed

3 files changed

+32
-24
lines changed

css/pater.css

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
12
.pater {
23
position: fixed;
34
width: 320px;
45
height: auto;
56
bottom: 0;
67
left: 0;
78
padding: 1em 2em 2em 2em;
8-
font-family: 'Helvetica Neue', Arial, sans-serif;
9+
font-family: 'Helvetica', Arial, sans-serif;
910
color: #000;
1011
font-size: 0.85em;
1112
pointer-events: none;
@@ -28,6 +29,7 @@
2829
z-index: 10;
2930
padding: 10px 0 8px 52px;
3031
cursor: default;
32+
color: #262628;
3133
background: url(../img/sponsor/webydo-logo.png) no-repeat 0% 50%;
3234
-webkit-transform: translateY(40px);
3335
transform: translateY(40px);
@@ -56,7 +58,7 @@
5658

5759
.pater__description {
5860
line-height: 1.2;
59-
color: #717070;
61+
color: #747474;
6062
cursor: default;
6163
}
6264

@@ -66,20 +68,22 @@
6668
display: block;
6769
z-index: 10;
6870
cursor: default;
69-
-webkit-transform: translate3d(0,-45px,0);
70-
transform: translate3d(0,-45px,0);
71-
-webkit-transition: -webkit-transform 0.3s;
72-
transition: transform 0.3s;
71+
color: #262628;
72+
-webkit-transform: translate3d(139px,0px,0);
73+
transform: translate3d(139px,0px,0);
74+
-webkit-transition: -webkit-transform 0.3s, color 0.3s;
75+
transition: transform 0.3s, color 0.3s;
7376
}
7477

7578
.pater:hover .pater__sponsor {
79+
color: #262628;
7680
-webkit-transform: translate3d(0,0,0);
7781
transform: translate3d(0,0,0);
7882
}
7983

8084
.pater__button {
81-
background: #f9cf21;
82-
color: #000;
85+
background: #fec841;
86+
color: #262628;
8387
cursor: pointer;
8488
padding: 0.65em 1.25em;
8589
border-radius: 1.5em;
@@ -89,7 +93,6 @@
8993
top: 100%;
9094
margin: 0.5em 0 0;
9195
z-index: 100;
92-
font-weight: bold;
9396
line-height: 1;
9497
-webkit-transition: background-color 0.2s, color 0.2s;
9598
transition: background-color 0.2s, color 0.2s;
@@ -119,21 +122,26 @@
119122
}
120123

121124
.pater__effect img:nth-child(2) {
122-
margin: 2em 0 0 -4em;
125+
margin: 4em 0 0 -3em;
123126
}
124127

125128
.pater__effect img:nth-child(3) {
126-
margin: -3.85em 0 0 3em;
129+
margin: -7em 0 0 0.5em;
130+
}
131+
132+
.pater:hover .pater__effect img:nth-child(1) {
133+
-webkit-transform: translate3d(0,-110px,0);
134+
transform: translate3d(0,-110px,0);
127135
}
128136

129-
.pater:hover .pater__effect img:nth-child(-n+3) {
130-
-webkit-transform: translateY(-80px);
131-
transform: translateY(-80px);
137+
.pater:hover .pater__effect img:nth-child(2) {
138+
-webkit-transform: translate3d(0,-130px,0);
139+
transform: translate3d(0,-130px,0);
132140
}
133141

134142
.pater:hover .pater__effect img:nth-child(3) {
135-
-webkit-transform: translateY(53px);
136-
transform: translateY(53px);
143+
-webkit-transform: translateY(55px);
144+
transform: translateY(55px);
137145
}
138146

139147
.pater-responsive {

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ <h3 class="content__title">Better World</h3>
196196
</div><!-- /content -->
197197
</div><!-- /calendar-wrap -->
198198
<div class="pater">
199-
<h3 class="pater__title">Design and development,<br/>all-in-one:</h3>
199+
<h3 class="pater__title">Design &amp; Development,<br/>All-In-One</h3>
200200
<div class="pater__hidden">
201-
<p class="pater__description">Design just as you would in Photoshop while Webydo generates clean, semantic code optimized for SEO to help clients rank in search results.</p>
201+
<p class="pater__description">Design as you would in Photoshop while Webydo generates clean code, optimized for SEO.</p>
202202
<a href="https://goo.gl/Z3wbtl" class="pater__button">Try It Now</a>
203203
</div>
204-
<span class="pater__sponsor">Sponsored by <strong>Webydo</strong></span>
204+
<span class="pater__sponsor">Sponsored by <strong>Webydo</strong>.</span>
205205
<div class="pater__effect">
206-
<img src="img/sponsor/ipad1.png" alt="Ipad">
207206
<img src="img/sponsor/ipad2.png" alt="Ipad">
207+
<img src="img/sponsor/ipad1.png" alt="Ipad">
208208
<img src="img/sponsor/ipad3.png" alt="Ipad">
209209
</div>
210210
</div>

index2.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ <h3 class="content__title">Better World</h3>
196196
</div><!-- /content -->
197197
</div>
198198
<div class="pater">
199-
<h3 class="pater__title">Design and development,<br/>all-in-one:</h3>
199+
<h3 class="pater__title">Design &amp; Development,<br/>All-In-One</h3>
200200
<div class="pater__hidden">
201-
<p class="pater__description">Design just as you would in Photoshop while Webydo generates clean, semantic code optimized for SEO to help clients rank in search results.</p>
201+
<p class="pater__description">Design as you would in Photoshop while Webydo generates clean code, optimized for SEO.</p>
202202
<a href="https://goo.gl/Z3wbtl" class="pater__button">Try It Now</a>
203203
</div>
204-
<span class="pater__sponsor">Sponsored by <strong>Webydo</strong></span>
204+
<span class="pater__sponsor">Sponsored by <strong>Webydo</strong>.</span>
205205
<div class="pater__effect">
206-
<img src="img/sponsor/ipad1.png" alt="Ipad">
207206
<img src="img/sponsor/ipad2.png" alt="Ipad">
207+
<img src="img/sponsor/ipad1.png" alt="Ipad">
208208
<img src="img/sponsor/ipad3.png" alt="Ipad">
209209
</div>
210210
</div>

0 commit comments

Comments
 (0)