Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8a4a800

Browse files
author
Jacob Müller
committed
Fix up styles after sync
1 parent fdf517e commit 8a4a800

File tree

2 files changed

+15
-20
lines changed

2 files changed

+15
-20
lines changed

public/_includes/_footer.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ else
5353

5454
footer(class="background-midnight")
5555
small.text-caption Powered by Google ©2010-2016. Code licensed under an <a href="/license" class="text-snow">MIT-style License</a>. Documentation licensed under <a class="text-snow" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
56-
a(aria-label="View Style Guide" href=styleguide title="Style Guide" class="styleguide-trigger text-snow")
56+
a(aria-label="View Style Guide" href=styleguide title="Style Guide" class="styleguide-trigger")
5757
span.icon-favorite

public/resources/css/module/_footer.scss

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,33 +77,28 @@
7777
}
7878

7979
footer {
80-
text-align: left;
81-
padding: ($unit * 2) ($unit * 6);
80+
text-align: center;
81+
padding: $unit * 2;
8282
position: relative;
8383

8484
.styleguide-trigger {
85-
box-sizing: border-box;
86-
position: absolute;
87-
display: inline-block;
88-
bottom: $unit * 2;
89-
right: $unit * 2;
90-
font-size: 14px;
91-
line-height: 24px;
92-
height: 24px;
93-
margin: 0;
94-
padding: 0 ($unit * 3);
85+
color: $snow;
86+
text-decoration: none;
87+
margin-right: $unit * 2;
9588
opacity: .24;
96-
transition: all .3s;
89+
float: right;
9790

98-
&:hover {
99-
background: $blue-grey-700;
100-
text-decoration: none;
91+
@include respond-to('mobile') {
92+
display: block;
93+
margin-top: $unit;
94+
margin-right: 0;
95+
font-size: 18px;
96+
float: none;
10197
}
10298

10399
.icon-favorite {
104-
display: inline-block;
105-
line-height: 24px;
100+
line-height: 20px;
106101
}
107102
}
108103
}
109-
}
104+
}

0 commit comments

Comments
 (0)