Skip to content

Commit df95a73

Browse files
committed
fixed footer
1 parent 1e48301 commit df95a73

File tree

3 files changed

+36
-12
lines changed

3 files changed

+36
-12
lines changed

_includes/footer.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ <h2>About</h2>
2323
<li><a href="http://phonegap.com/about/license/">License</a></li>
2424
<li><a href="http://phonegap.com/about/faq/">FAQs</a></li>
2525
<li><a href="https://cordova.apache.org/">Apache Cordova</a></li>
26+
<li><a href="http://phonegap.com/about/artwork/">Logo</a></li>
27+
<li><a href="#">Stickers</a></li>
2628
<li><a href="http://phonegap.com/about/contact/">Contact Us</a></li>
2729
</ul>
2830
</nav>
2931
<nav class="site-footer__list">
3032
<h2>Docs &amp; Resources</h2>
3133
<ul>
32-
<li><a href="/">Documentation</a></li>
33-
<li><a href="http://wiki.phonegap.com/">Wiki</a></li>
34+
<li><a href="http://docs.phonegap.com">Documentation</a></li>
3435
<li><a href="http://groups.google.com/group/phonegap">Google Group</a></li>
3536
<li><a href="http://phonegap.com/tool/">Third Party Tools</a></li>
3637
<li><a href="http://phonegap.com/event/">Events</a></li>
@@ -52,6 +53,16 @@ <h2>We're Everywhere</h2>
5253
</nav>
5354
</div>
5455
</div>
56+
<div class="subscribe">
57+
<div class="subscribe__description">
58+
<h2>Stay Connected to PhoneGap</h2>
59+
<div>If you'd like us to keep in touch with the latest news and updates, subscribe now.</div>
60+
</div>
61+
<form class="subscribe__form">
62+
<input class="subscribe__form__text-input" type="email" placeholder="Enter your email address"/>
63+
<input class="subscribe__form__submit" type="submit" value="Sign up"/>
64+
</form>
65+
</div>
5566
<hr>
5667
<div class="site-footer__copyright">Copyright © 2015 Adobe Systems Inc. All rights reserved. <br>Use of this website signifies your agreement to the <a href="http://www.adobe.com/legal/general-terms.html">Terms of Use</a> and <a href="http://adobe.com/privacy">Privacy Policy and Cookies</a>.</div>
5768
</div>

_sass/_footer.sass

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
-webkit-flex-wrap: wrap
2424
-ms-flex-wrap: wrap
2525
flex-wrap: wrap
26-
max-width: 520px
26+
max-width: 616px
2727
-webkit-box-pack: justify
2828
-webkit-justify-content: space-between
2929
-ms-flex-pack: justify
@@ -53,11 +53,12 @@
5353
-ms-flex-pack: justify
5454
justify-content: space-between
5555
.site-footer__messages
56-
max-width: 400px
56+
max-width: 420px
5757
-webkit-box-ordinal-group: 1
5858
-webkit-order: 0
5959
-ms-flex-order: 0
6060
order: 0
61+
color: #94b7cb
6162
h2
6263
font-weight: normal
6364
font-size: 1.5rem
@@ -82,7 +83,7 @@
8283
&:before
8384
left: .3rem
8485
.site-footer__message
85-
margin-bottom: 3rem
86+
margin-bottom: 2.375rem
8687
.subscribe
8788
display: -webkit-box
8889
display: -webkit-flex
@@ -112,6 +113,8 @@
112113
display: -webkit-flex
113114
display: -ms-flexbox
114115
display: flex
116+
padding-top: 26px
117+
padding-right: 10px
115118
.subscribe__form__text-input
116119
background: #64889B
117120
border: none
@@ -124,15 +127,21 @@
124127
-ms-flex-positive: 1
125128
flex-grow: 1
126129
margin-right: 10px
127-
padding: .875rem 1rem
128-
&::-webkit-input-placeholder, &::-moz-placeholder, &:-ms-input-placeholder, &::placeholder
130+
padding: .75rem 1rem .8125rem
131+
&::-webkit-input-placeholder
132+
color: #003351
133+
&::-moz-placeholder
134+
color: #003351
135+
&:-ms-input-placeholder
136+
color: #003351
137+
&::placeholder
129138
color: #003351
130139
.subscribe__form__submit
131140
text-transform: uppercase
132141
font-size: 1.0625rem
133142
height: 2.75rem
134143
box-sizing: border-box
135-
padding: .875rem 1rem
144+
padding: .625rem 1.5625rem .6875rem
136145
border-radius: 4px
137146
background: #1BA1C7
138147
border: none
@@ -146,14 +155,16 @@
146155
@media (min-width: 820px)
147156
.site-footer
148157
.bounds
149-
padding-top: 70px
158+
padding-top: 67px
150159
padding-bottom: 30px
160+
h2
161+
margin-bottom: 0.625rem
151162
.site-footer__list
152163
margin: 0 0 2.5rem
153164
.site-footer__messages
154165
-webkit-box-ordinal-group: 3
155166
-webkit-order: 2
156167
-ms-flex-order: 2
157168
order: 2
158-
h2
159-
margin-bottom: 1.25rem
169+
.subscribe h2
170+
margin-bottom: 0.125rem

_sass/_home.sass

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,11 @@ hr
335335
text-align: center
336336
.bounds
337337
max-width: 930px
338-
padding: 20px 0 40px
338+
padding: 25px 0 40px
339339
h2
340340
font-size: 1.875rem
341+
text-transform: none
342+
margin-bottom: 0.6rem
341343
@media (min-width: 820px)
342344
.home-header
343345
color: white

0 commit comments

Comments
 (0)