Skip to content

Commit

Permalink
added labs.kadaster header bar
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvanandel committed May 22, 2024
1 parent 24c9c51 commit 9415e99
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/css/project.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.labsbar {
color: white;
background-color: rgb(0, 41, 93);
position: sticky;
top: 0;
z-index: 4;
height: 33px;
width: 100%;
display: flex;
justify-content: center;
font-size: .9rem;
}

.labsbar .item {
margin: auto 1rem;
text-align: center;
display: flex;
align-items: baseline;
}

.labsbar img {
height: 22px;
margin: auto 0.7rem;
}

3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ nav:
- achtergrond/open-source.md
- achtergrond/event-sourcing.md
- achtergrond/agile.md
extra_css:
- css/project.css
theme:
name: material
custom_dir: overrides
palette:
primary: custom
language: nl
Expand Down
Binary file added overrides/assets/kadaster-logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% extends "base.html" %}

{% block header %}
<div class="container labsbar">
<span class="item"><img src="assets/kadaster-logo-white.png"/><a href="https://labs.kadaster.nl/" target="_blank">labs.kadaster.nl</a></span>
<!-- <span class="item delimeter">|</span>
<a class="item" href="https://federatief.datastelsel.nl/" target="_blank">federatief.datastelsel.nl</a> -->
</div>
{{ super() }}
{% endblock %}

0 comments on commit 9415e99

Please sign in to comment.