Skip to content

Commit

Permalink
Navbar Styling/Favicon (#28)
Browse files Browse the repository at this point in the history
* feat: update favicon

* fix: external hyperlinks

* feat: style navbar

* feat: change 404 page to train
  • Loading branch information
mtwente authored Sep 25, 2024
1 parent 839f329 commit 853425e
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 11 deletions.
14 changes: 5 additions & 9 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ <h1>404?</h1>
<p>Sorry, but the page you were trying to view does not exist.</p>

<pre><code>
____________
< Sorry, 404 >
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

~~~~ ____ |~~~~~~~~~~~~~|
Y_,___|[]| | ERROR 404! |
{|_|_|_|PU|_,_|_____________|
//oo---OO=OO OOO OOO

</code></pre>
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ title: Max Vogt – Morphologies of Arriving
tagline: Showcasing the Design Philosophy of Max Vogt's Railway Stations
# description appears in meta tags and other locations
# this description might appear in search result lists, keep around 160 characters max
description: "<p>This platform showcases the Swiss railway stations designed by Max Vogt and provides analyses of their spatial properties from an urban design perspective.</p><p>The collection is currently being assembled. Research data and outputs are available in <a href='https://mtwente.github.io/maxvogt-analysis'>maxvogt-analysis</a> and as a <a href='https://doi.org/10.5281/zenodo.13837394'>poster</a>."
description: "<p>This platform showcases the Swiss railway stations designed by Max Vogt and provides analyses of their spatial properties from an urban design perspective.</p><p>The collection is currently being assembled. Research data and outputs are available in <a href='https://mtwente.github.io/maxvogt-analysis' target='_blank'>maxvogt-analysis</a> and as a <a href='https://doi.org/10.5281/zenodo.13837394' target='_blank'>poster</a>."
# keywords, a short list of subjects describing the collection, separated by semicolon, to appear in rich markup
keywords: urban design;morphology;built heritage;Switzerland;railway stations;SBB;CFF;FFS
# creator of the digital collection, to appear in meta tags; we typically use our GitHub usernames but feel free to just use your name
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ page.title | escape }} | {{ site.title | escape }}</title>
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}">
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.png' | relative_url }}">
<!--
_____ ____ __ _ ___ _ __ __
Expand Down
23 changes: 23 additions & 0 deletions _sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,26 @@
background-color: rgba(162, 0, 19);
color: white;
}

.navbar-brand {
width: 2rem !important;
}

.navbar-nav .nav-link {
color: white !important;
}

.navbar-nav .nav-link:hover {
color: white !important; /* Ensure the text color stays white on hover */
text-decoration: underline;
text-decoration-color: #EB0000;
text-decoration-thickness: 3px;
}

/*--
.navbar a:hover {
/*-- color: white !important;
text-decoration: underline;
text-decoration-color: #EB0000;
text-decoration-thickness: 3px;
} --*/
Binary file removed favicon.ico
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 853425e

Please sign in to comment.