Skip to content

Commit ae226aa

Browse files
committed
cross links
1 parent 81c12e4 commit ae226aa

File tree

4 files changed

+71
-43
lines changed

4 files changed

+71
-43
lines changed

_includes/footer.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
<footer class="footer">
22
<div class="container">
3-
<p class="text-center">
3+
<p>
44
{{ site.title }} • 2017-{{ site.time | date: '%Y' }} • Apache License, Version 2.0
55
</p>
6+
<br>
7+
<ul class="footer-links">
8+
<li>All projects:</li>
9+
{% include links.html %}
10+
</ul>
611
</div>
712
</footer>
813

14+
915
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-4678258-16"></script>
1016
<script>
1117
window.dataLayer = window.dataLayer || [];
12-
function gtag(){dataLayer.push(arguments);}
13-
gtag('js', new Date());
1418

19+
function gtag() {
20+
dataLayer.push(arguments);
21+
}
22+
23+
gtag('js', new Date());
1524
gtag('config', 'UA-4678258-16');
1625
</script>
1726

_includes/links.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<li>
2+
<a href="https://www.bonobo-project.org/" target="_blank">Bonobo (extract transform load)</a>
3+
</li>
4+
<li>
5+
<a href="https://python-medikit.github.io/" target="_blank">Medikit (release management)</a>
6+
</li>
7+
<li>
8+
<a href="https://python-mondrian.github.io/" target="_blank">Mondrian (logging simplified)</a>
9+
</li>
10+
<li>
11+
<a href="https://python-whistle.github.io/" target="_blank">Whistle (event dispatcher)</a>
12+
</li>

_layouts/default.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
{% include topnav.html %}
99

10-
<div class="page-content">
11-
<div class="wrapper">
12-
{{ content }}
13-
</div>
14-
</div>
10+
{{ content }}
1511

1612
{% include footer.html %}
1713
{% include js_files.html %}

css/main.scss

Lines changed: 46 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,26 @@
11
---
2-
# Only the main Sass file needs front matter (the dashes are enough)
32
---
3+
44
@charset "utf-8";
55

66
// Import partials from `sass_dir` (defaults to `_sass`)
77

8-
9-
10-
@import
11-
{% if site.bootwatch %}
12-
"bootswatch/{{site.bootwatch | downcase}}/variables",
13-
{% endif %}
14-
15-
"bootstrap",
16-
17-
{% if site.bootwatch %}
18-
"bootswatch/{{site.bootwatch | downcase}}/bootswatch",
19-
{% endif %}
20-
21-
"syntax-highlighting",
22-
"typeahead"
23-
;
8+
@import {% if site.bootwatch %}"bootswatch/{{site.bootwatch | downcase}}/variables", {% endif %} "bootstrap", {% if site.bootwatch %} "bootswatch/{{site.bootwatch | downcase}}/bootswatch", {% endif %} "syntax-highlighting", "typeahead";
249

2510
html {
2611
position: relative;
2712
min-height: 100%;
2813
}
29-
body {
30-
padding-top: $navbar-height + $navbar-margin-bottom;
31-
margin-bottom: 46px;
32-
}
3314

34-
.navbar-brand{
35-
img{
15+
16+
.navbar-brand {
17+
img {
3618
margin: -$navbar-padding-vertical 0;
3719
height: $navbar-height;
3820
padding: 10px 0;
3921
}
4022
}
4123

42-
4324
.header-container {
4425
background-color: black;
4526
background: url('../img/bg.jpg') no-repeat 50% 0;
@@ -51,36 +32,66 @@ body {
5132
// background-attachment: fixed;
5233
background-size: cover;
5334
background-position: center 36%;
54-
margin-top: -37px;
35+
margin-top: 51px;
5536
}
37+
5638
.navbar-container {
5739
font-size: 16px;
5840
}
41+
5942
.page-content {
6043
padding-bottom: 20px;
6144
}
62-
.footer {
63-
position: absolute;
64-
bottom: 0;
65-
width: 100%;
66-
height: 46px;
67-
padding-top: 10px;
68-
background-color: $gray-lighter;
69-
color: $gray-dark;
45+
46+
.footer {
47+
padding-top: 50px;
48+
padding-bottom: 50px;
49+
margin-top: 50px;
50+
color: #99979c;
51+
text-align: center;
52+
background-color: #2a2730
53+
}
54+
55+
.footer a {
56+
color: #fff
57+
}
58+
59+
.footer-links {
60+
padding-left: 0;
61+
}
62+
63+
.footer-links li {
64+
display: inline-block
65+
}
66+
67+
.footer-links li + li {
68+
margin-left: 15px
69+
}
70+
71+
@media (min-width: 768px) {
72+
.footer {
73+
text-align: left
74+
}
75+
76+
.footer p {
77+
margin-bottom: 0
78+
}
7079
}
7180

7281
.post-list-container {
7382
li a.active {
7483
font-weight: bold;
7584
}
7685
}
86+
7787
*[id]:before {
7888
display: block;
7989
content: " ";
8090
margin-top: -75px;
8191
height: 75px;
8292
visibility: hidden;
8393
}
84-
.navbar-form .has-feedback .form-control-feedback{
85-
top:10px
94+
95+
.navbar-form .has-feedback .form-control-feedback {
96+
top: 10px
8697
}

0 commit comments

Comments
 (0)