Welcome to mirror list, hosted at ThFree Co, Russian Federation.

header.html « partials « layouts - github.com/darshanbaral/ghazal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81f86ec9d2fc208a994f498120cd4a31c2b839dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<header
  style="
  width: 95%;
  max-width: 960px;
  position: fixed;
  top: 0;
  z-index: 10;
  transition: all 0.3s;
  height: {{ if not .IsHome}}60px{{ else }}0{{ end }};
    box-shadow: {{ if not .IsHome}} 0px 0px 2px 2px black {{ else }} none {{ end }};
    background-color: {{ if not .IsHome}} var(--bgDarker) {{ else }} inherit {{ end }};
  "
>
  {{ partial "hamburgerCross.html" . }}{{ if not .IsHome}}
  <div
    style="
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: flex-end;
      padding: 0 1em 0 2em;
      height: 100%;
    "
  >
    {{ partial "breadcrumb.html" . }}
  </div>
  {{ end }} {{- partial "menu.html" . -}}
</header>