Skip to content

Commit 1a5e1aa

Browse files
author
Bastien Abadie
committed
Bigger footer
1 parent 72e8e38 commit 1a5e1aa

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

frontend/assets/github.png

30.4 KB
Loading

frontend/src/base.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ <h2>
157157
</main>
158158

159159
<footer>
160+
161+
162+
<a target="_blank" href="https://github.com/mozilla/code-coverage">
163+
<img src="<%=require('../assets/github.png')%>" alt="GitHub" />
164+
</a>
160165
<a target="_blank" href="https://github.com/mozilla/code-coverage/issues/new?labels=frontend,bug&title=Issue+with+the+frontend">Report an issue</a>
161166
&bull;
162167
<a target="_blank" href="https://github.com/mozilla/code-coverage/fork" aria-label="Fork mozilla/code-coverage on GitHub">Fork mozilla/code-coverage</a>

frontend/src/style.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ $link_color: #0081ad;
44
$background_color: #eff7fc;
55
$row_height: 1.8em;
66
$header_height: 50px;
7+
$footer_height: 60px;
78
$coverage_low: #d91a47;
89
$coverage_warn: #ff9a36;
910
$coverage_good: #438718;
@@ -79,11 +80,19 @@ header {
7980

8081
footer {
8182
text-align: center;
82-
background: $background_color;
83+
background: darken($background_color, 60%);
84+
min-height: $footer_height;
85+
line-height: $footer_height;
8386
border-top: 1px solid darkgray;
8487

88+
img {
89+
//padding-top: 0.2 * $footer_height;
90+
vertical-align: middle;
91+
max-height: 0.75 * $footer_height;
92+
}
93+
8594
a {
86-
color: darken($link_color, 10%);
95+
color: lighten($link_color, 50%);
8796
}
8897
}
8998

0 commit comments

Comments
 (0)