Skip to content

Commit

Permalink
Merge pull request #32 from kadaster-labs/add-header-bar
Browse files Browse the repository at this point in the history
add labs.kadaster bar
  • Loading branch information
marcvanandel authored May 22, 2024
2 parents 1e0c69d + c23b104 commit 1937105
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.3"

services:

dev-site:
Expand Down
29 changes: 29 additions & 0 deletions docs/css/lock-unlock.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,32 @@
text-align: justify;
text-justify: inter-word;
}

.md-header {
top: 33px;
}

.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;
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ extra_css:
- css/lock-unlock.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 1937105

Please sign in to comment.