husstanden/templates/layout/includes/top_nav.html
2019-04-25 21:17:26 +01:00

51 lines
1.1 KiB
HTML

<style>
.rndblock {
border-radius: 100%;
background: #B507DB;
background-position: center;
width: 40px;
height: 40px;
color: white;
text-align: center;
font-size: 24px;
vertical-align: middle;
display: table-cell;
}
.languk {
background-image: url("{{ url_for('static', filename='const/img/flags/gb.svg') }}");
}
.langno {
background-image: url("{{ url_for('static', filename='const/img/flags/no.svg') }}");
}
.icon-buttons > .col {
padding-right: 6px;
padding-left: 6px;
}
.topnav a {
color: black;
}
</style>
<nav class="navbar topnav" style="margin-bottom: 10px;">
<h3>{{ title }}</h3>
<div class="my-2 my-lg-0 d-flex icon-buttons">
<div class="col">
<div class="rndblock languk"></div>
</div>
<div class="col">
<div class="rndblock">
<i class="fas fa-bell"></i>
</div>
</div>
<div class="col">
<div class="rndblock"> <!-- OR INCLUDE BACKGROUND TEXTURE -->
T <!-- FIRST CHAR OF USER -->
</div>
</div>
</div>
</nav>