Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions assets/scss/custom/structure/_topbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@
&:focus {
outline: none;
}

.small {
height: 31px;
display: none;
@media (max-width: 460px) {
display: inline-block;
}
}
.big {
height: 31px;
display: none;

@media (min-width: 461px) {
display: inline-block;
}
}



}
#navigation {
&.toggle-menu {
Expand Down
13 changes: 10 additions & 3 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
<div class="container d-flex justify-content-between align-items-center">
<!-- Logo container-->
<a class="logo" aria-label="Home" href='{{ relLangURL "" }}'>
{{ with resources.Get "images/logos/mark.svg" }}
{{ .Content | safeHTML }}
{{ end }}
<div class="small">
{{ with resources.Get "images/logos/mark.svg" }}
{{ .Content | safeHTML }}
{{ end }}
</div>
<div class="big">
{{ with resources.Get "images/logos/logo.svg" }}
{{ .Content | safeHTML }}
{{ end }}
</div>
</a>
<!-- End Logo container-->

Expand Down
Loading