Skip to content

Commit

Permalink
en header update
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin committed Apr 4, 2024
1 parent b4e270f commit bf9efab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/header-en.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<header class="hagstofa">
<div class="container">
<div class="row">
<div class="brand col-6 col-lg-3">
<div class="brand col-6 col-lg-2">
<a href="https://statice.is/">
<img src="{{ site.baseurl }}/assets/img/header_brand_en.svg" alt="Hagstofa Íslands" />
</a>
</div>
<div id="main-text" class="header-text col-7">
<a href="https://heimsmarkmidin.hagstofa.is/en/">Sustainable Development Goals</a>
<div id="main-text" class="header-text col-8">
<a id="main-text-content-en" href="https://heimsmarkmidin.hagstofa.is/en/">Sustainable Development Goals</a>
</div>
<div class="header-language col-6 col-lg-2">
<div class="upper-desktop-navbar">
Expand Down
10 changes: 10 additions & 0 deletions _sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,16 @@ footer.hagstofa {
}
}

#main-text-content-en {
display: none;
}

@media (min-width: 1200px) {
#main-text-content-en {
display: inline;
}
}

@media (min-width: 992px) {
#main-text {
display: block;
Expand Down

0 comments on commit bf9efab

Please sign in to comment.