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: 3d9c89f78b8f193855162e0fabe59b7eec6f3790 (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
30
31
<header
  style="
    background-color: {{ if not .IsHome}} var(--bgDarker) {{ else }} inherit {{ end }};
    display: block;
    width: 100%;
    height: 50px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    max-width: 960px;
    position: fixed;
    margin: 0;
    top: 0;
    box-shadow: {{ if not .IsHome}} 0px 0px 2px 2px black {{ else }} none {{ 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>