aboutsummaryrefslogtreecommitdiff
path: root/site/sass/style.scss
blob: 5ce9f8850375dc3a7ad198fa5a2a668de3e72a91 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@use "palette";
@use "fonts";

body {
  background: var(--bg);
  color: var(--fg);
  font-family: fonts.$mono;
  line-height: 1.6;

  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

header {
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--grey);
}

nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;

  ul {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

.brand,
.brand:visited {
  color: var(--fg-bright);
  font-weight: 500;
}

.brand:hover {
  font-weight: 700;
}

footer {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--grey);
}

img {
  max-width: 100%;
  height: auto;
}

.centered-img {
  display: block;
  margin: 2rem auto;
}

.intro {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.intro-text > p:first-child {
  margin-top: 0;
}

.avatar {
  flex: none;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 34rem) {
  .intro {
    flex-direction: column-reverse;
    align-items: center;
  }
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
}

time {
  color: var(--fg-dim);
}

strong {
  color: var(--orange);
  font-weight: 600;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:visited {
  color: var(--purple);
}

a:hover {
  font-weight: 700;
  text-decoration: underline;
}