Skip to content

Commit 2cee531

Browse files
committed
Fix footer for firefox
1 parent da0a9e8 commit 2cee531

File tree

2 files changed

+36
-45
lines changed

2 files changed

+36
-45
lines changed

app/assets/stylesheets/footer.scss

+25-34
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
margin: 0 auto;
66
nav{
77
&#footer-nav {
8-
float: left;
9-
width: 80%;
10-
ul {
11-
}
12-
138
.footer-links {
9+
width: 78%;
1410
margin-bottom: 10px;
15-
width: 70%;
11+
display: inline-block;
12+
vertical-align: top;
1613
li {
1714
float: left;
1815
margin-right: 20px;
@@ -43,39 +40,33 @@
4340
.assembly-badge {
4441
margin: -10px 0 10px -20px;
4542
}
46-
.copyright {
47-
margin-bottom: 15px;
48-
li {
49-
font-size: 1.2em;
50-
color: $light-grey;
51-
}
52-
}
53-
.credits {
54-
margin-bottom: 15px;
55-
li {
56-
font-size: 1.2em;
57-
}
58-
a {
59-
color: $light-grey;
43+
44+
.right_part {
45+
width: 21%;
46+
text-align: right;
47+
display: inline-block;
48+
#tweetbtn {
49+
width: 124px;
50+
margin-top: -7px;
51+
iframe{
52+
width: 124px !important;
53+
}
6054
}
6155
}
6256

6357
}
6458
}
65-
.right_part {
66-
float: right;
67-
width: 20%;
68-
text-align: right;
69-
#tweetbtn {
70-
float: right;
71-
width: 124px;
72-
margin-top: -7px;
73-
iframe{
74-
width: 124px !important;
75-
}
76-
}
77-
78-
.mixpanel {
59+
.copyright {
60+
margin-bottom: 15px;
61+
text-align: center;
62+
font-size: 1.2em;
63+
color: $light-grey;
64+
}
65+
.credits {
66+
margin-bottom: 15px;
67+
font-size: 1.2em;
68+
a {
69+
color: $light-grey;
7970
}
8071
}
8172
}

app/views/application/_footer.html.slim

+11-11
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ footer#footer
1111
li.employers= link_to('Employers', employers_path)
1212
=yield :footer_menu
1313

14-
ul.copyright
15-
li Copyright © 2012-2015 Assembly Made, Inc. All rights reserved.
16-
ul.credits
17-
li= yield :credits
18-
19-
.right_part
20-
#tweetbtn
21-
a.twitter-follow-button data-show-count="false" data-width="300" href="https://twitter.com/coderwall" Follow @coderwall
22-
script src="https://platform.twitter.com/widgets.js" type="text/javascript"
23-
ul.mixpanel
24-
li
14+
.right_part
15+
span#tweetbtn
16+
a.twitter-follow-button data-show-count="false" data-width="300" href="https://twitter.com/coderwall" Follow @coderwall
17+
script src="https://platform.twitter.com/widgets.js" type="text/javascript"
18+
span.mixpanel
2519
a href="https://mixpanel.com/f/partner"
2620
img alt="Real Time Web Analytics" src="https://mixpanel.com/site_media/images/partner/badge_light.png"
2721

22+
.copyright
23+
|Copyright © 2012-2015 Assembly Made, Inc. All rights reserved.
24+
.credits
25+
= yield :credits
26+
27+
2828
= javascript_include_tag 'application'
2929
= render 'shared/mixpanel_properties'
3030
= yield :javascript

0 commit comments

Comments
 (0)