summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components/Nav/styles.module.scss
blob: d39a65a5b30ec2dbff26e1d22fd4597b9742ca3c (plain) (blame)
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
.nav {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
}

.logolink {
  display: block;
  color: var(--t-fg);
  text-decoration: none;
}

.link {
  color: var(--t-subdue);
  display: block;
  margin-left: 1rem;
  text-decoration: none;
  font-size: var(--f-d1);
  text-transform: uppercase;
  padding-top: 0.75em;
  padding-bottom: 0.75em;

  &:focus,
  &:hover {
    color: var(--t-active);
  }
}

.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  margin-right: 0.5rem;
  color: var(--c-black);
  font-weight: 900;
  letter-spacing: -0.125rem;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.social {
  display: block;
  margin-left: auto;

  + .social {
    margin-left: 0.75rem;
  }
}

.socialicon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--t-subdue);
  transition: fill linear 150ms;

  &:hover {
    fill: var(--t-active);
  }
}