summary refs log tree commit diff
path: root/components/InfoBar/InfoBar.module.css
blob: a992bc5f1f6ae0b82d5bad12611444aa887af737 (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
.infobar {
  margin: calc(-1 * var(--text-padding));
  margin-bottom: var(--text-padding);
  padding: var(--text-padding);
  background: var(--main-background);
  height: var(--header-bar-height);
  width: var(--main-width);
  max-width: calc(100vw - var(--text-padding));
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: solid 1px var(--text-dimmed);
}

.infobar.sideNote {
  color: var(--text-dimmed);
  font-style: italic;
}

.infobar.postMeta {
  color: var(--text-dimmed);
}

.infobar.postMeta img {
  box-sizing: border-box;
  border: solid 2px var(--author-color, var(--text-dimmed));
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-right: calc(.5 * var(--text-padding));
  margin-left: -6px;
}

.infobar.postMeta .author {
  color: var(--author-color, var(--text-medium));
}

.infobar.postMeta .date {
  font-style: italic;
}

.infobar.memberProfile img {
  width: 150px;
  height: 150px;
  border-radius: 75px;
  box-sizing: border-box;
  border: solid 4px var(--member-color, var(--text-dimmed));
  margin-right: var(--text-padding);
  margin-top: calc(-2.5 * var(--text-padding));
} 

.infobar.memberProfile h1 {
  color: var(--member-color, var(--text-bright));
}

.infobar + p {
  margin-top: 0;
}

.infobar.memberProfile {
  margin-bottom: 42px;
}

@media (max-width: 600px) {
  .infobar.memberProfile img {
    width: 80px;
    height: auto;
    margin-top: -10px;
  }

  .infobar.memberProfile {
    margin-bottom: 16px;
  }
}