summary refs log tree commit diff
path: root/styles/about.module.css
blob: ba24fc73bd5cf12c98d45151b0d4d823e6fdf2e1 (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
.container {
  display: flex;
  flex-direction: row;
  max-width: var(--system-width);
  width: calc(100vw - 2 * var(--text-padding));
  margin: 0 auto;
  margin-top: 75px;
  justify-content: space-between;
}

.member {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 280px;
  box-sizing: border-box;
  margin: 0 calc(.5 * var(--text-padding));
  padding: 0 var(--text-padding);
  background: var(--main-background);
  box-shadow: var(--card-shadow);
}

.member img {
  display: block;
  width: 150px;
  height: 150px;
  box-sizing: border-box;
  border: solid 4px var(--member-color);
  border-radius: 75px;
  margin: 0 auto;
  margin-top: -75px;
  user-select: none;
}

.member h2 {
  text-align: center;
  color: var(--member-color);
  margin: 0;
}

.member p {
  margin-top: 0;
}

.member .pronouns {
  text-align: center;
  margin-top: 0;
}

.member p:nth-last-child(2) {
  flex: 1;
}

.member p:last-child {
  text-align: center;
}

.summary {
  width: var(--main-width);
  box-sizing: border-box;
  padding: var(--text-padding);
  margin: 0 auto;
}

@media (max-width: 999px) {
  .container {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    --text-padding: 8px;
  }

  .member {
    max-width: 600px;
    width: calc(100% - var(--text-padding));
    display: grid;
    grid-template-columns: max(100px, 30%) 1fr;
    grid-template-rows: 30px 70px 1fr 30px;
  }

  .member h2 {
    grid-row: 1;
    grid-column: 1/3;
    text-align: center;
  }

  .member:not(:last-child){
    margin-bottom: 32px;
  }

  .member img {
    width: 80px;
    height: auto;
    margin-top: 16px;
    grid-row: 1/3;
    grid-column: 1;
  }

  .member .pronouns {
    grid-column: 1;
  }

  .member .bio {
    grid-column: 2;
    grid-row: 2/4;
  }

  .member p:last-child {
    grid-column: 1/3;
  }

  .summary {
    max-width: 600px;
    width: 100%;
  }
}