Skip to content

Commit e6a999b

Browse files
author
Michael Starke
authored
Merge pull request #6 from HAUDRAUFHAUN/font-patch
πŸ’„ customize display font, add legal notice & update footer
2 parents ebb78ee + 4dafff8 commit e6a999b

File tree

6 files changed

+43
-2
lines changed

6 files changed

+43
-2
lines changed

β€Ž_layouts/root.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ <h1>{{ page.title }}</h1>
4343
<footer>
4444
<a href="https://twitter.com/MacPassApp">Twitter</a>
4545
<a href="https://github.com/MacPass/MacPass/">GitHub</a>
46+
<a href="/legal-notice">Legal notice</a>
4647
{% for link in page.footer_links %}
4748
<a href="{{ link['url'] }}">{{ link['name'] }}</a>
4849
{% endfor %}
49-
<p>&copy; 2017 - {{ site.time | date: '%Y' }} HicknHack Software GmbH</p>
50+
<p id="copyright">&copy; 2017 - {{ site.time | date: '%Y' }} HicknHack Software GmbH</p>
5051
</footer>
5152
</body>
5253

β€Žcss/main.css

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@font-face {
2+
font-family: "Display Font";
3+
src: url("/fonts/Gilroy/Gilroy-Light.otf");
4+
}
5+
16
body {
27
text-align: center;
38
font-family: 'Open Sans', sans-serif;
@@ -7,7 +12,8 @@ body {
712

813
h1,h2,h3 {
914
color: rgb(4, 129, 210);
10-
font-weight: 400;
15+
font-weight: 300;
16+
font-family: "Display Font";
1117
}
1218

1319
h1 {
@@ -145,6 +151,7 @@ div.navigation:focus .menu {
145151
div.navigation a {
146152
font-size: 1.2rem;
147153
margin: 0.5rem 1rem;
154+
font-family: 'Display Font';
148155
}
149156
div.navigation a.current-page {
150157
border-bottom: 2px solid rgb(4, 129, 210);
@@ -216,6 +223,7 @@ div.sponsor-details a:first-child::before {
216223
padding: 0.8rem 1.5rem 0.8rem 1.5rem;
217224
border-width: 3px;
218225
font-size: 1.5rem;
226+
font-family: 'Display Font';
219227
}
220228

221229
.button:hover {
@@ -230,6 +238,17 @@ a.button {
230238
footer {
231239
font-size: 0.8rem;
232240
color: rgb(180,180,180);
241+
padding: 0 10vw;
242+
margin: auto;
243+
max-width: 50vw;
244+
245+
display: grid;
246+
grid-template-columns: repeat(3, minmax(0, 1fr));
247+
justify-content: center;
248+
}
249+
250+
p#copyright{
251+
grid-column: 1 / -1;
233252
}
234253

235254
@media (max-width: 840px) {

β€Žfonts/Gilroy/Gilroy-ExtraBold.otf

53.7 KB
Binary file not shown.

β€Žfonts/Gilroy/Gilroy-Light.otf

53.4 KB
Binary file not shown.
Binary file not shown.

β€Žlegal-notice.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: root
3+
title: Legal notice
4+
id: legal
5+
---
6+
7+
<h2>Fonts</h2>
8+
9+
<p align="left" style="padding: 0 20vw">
10+
This page uses the Gilroy typeface by
11+
<a href="https://www.tinkov.info/">Radomir Tinkov</a>. The license of the font
12+
can be found
13+
<a href="/fonts/Gilroy/Radomir Tinkov Free Font EULA .pdf">here</a>. When you
14+
recognize copyright violations, please
15+
<a
16+
href="https://github.com/MacPass/macpass.github.io/issues/new/choose"
17+
target="_blank"
18+
rel="noopener"
19+
>open up an GitHub issue</a
20+
>.
21+
</p>

0 commit comments

Comments
Β (0)