feat: Applies 40c3 style to website
This commit is contained in:
parent
91f48051fd
commit
d3fc831bc5
1 changed files with 701 additions and 161 deletions
|
|
@ -1,4 +1,9 @@
|
|||
<nav class="main-menu{{ if not ($.Param "menuinheader") }} mx--xs layout__navigation{{ end }}" aria-label="{{ i18n "menu_title" }}">
|
||||
{{- /* Nav row: the main menu, and the language switch on the right.
|
||||
On small screens the theme's mobilemenu.js hides .main-menu and .header__region (it fails if
|
||||
either is missing) and the mobile sheet shows both instead. */ -}}
|
||||
<div class="nav-bar mx--xs layout__navigation">
|
||||
<div class="nav-bar__row">
|
||||
<nav class="main-menu" aria-label="{{ i18n "menu_title" }}">
|
||||
<ul class="flex-inline mx--0">
|
||||
{{ $currentPage := . -}}
|
||||
{{ range site.Menus.main -}}
|
||||
|
|
@ -6,3 +11,6 @@
|
|||
{{ end -}}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="region header__region">{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue