summaryrefslogtreecommitdiff
path: root/assets/css/components/_header.scss
blob: 9e3d44542332c8436c870eafef280b9844a978c3 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* header */

.header-title {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 32px;
  text-align: center;
  letter-spacing: .15rem;
}
.header-title a {
  text-decoration: none;
}

.header-subtitle {
  color: var(--secondary-text-color);
}

.header-line {
  width: 100%;
  border-width: 1px;
  border-color: var(--border-color);
  border-style: solid none none none;
}

/* navigation */

#navigation-bar {
    --gap: .75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
    padding-left: calc(1rem + var(--gap))
}

.navigation {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 1rem;
  overflow: hidden;
}

.navigation-item a {
  display: inline-block;
  color: var(--background-color);
  padding: 0.25rem 0.5rem;
  background-color: var(--text-color);
}

.navigation-item:first-child a {
  padding-left: 0.75rem
}

.navigation-item:last-child a {
  padding-right: 0.75rem
}

.navigation-item.active a {
  color: var(--text-color);
  background-color: var(--block-background-color);
}

.navigation-item a:hover {
  text-decoration: none;
}