aboutsummaryrefslogtreecommitdiff
path: root/styles.css
blob: b9ca2c46efd9b1a1525487f4369e3725770590d6 (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
code.hljs {
  padding: 2px;
  border-radius: 2px;
}

pre code.hljs {
  padding: 0.5em;
  border-radius: 0.5em;
}

:not(.katex-display) > .katex {
  font-size: 1em;
}

.message-content {
  width: 100% !important;
}

.message-parts-container {
  counter-reset: katexEqnNo mmlEqnNo; /* Reset equation counter per message */
  white-space: normal;
}

.message-parts-container > * {
  margin: 0.5em 0;
}

:is(.message-parts-container, .parent-text) a {
  color: #1083c7;
  text-decoration: none;
}

:is(.message-parts-container, .parent-text) > :first-child {
  margin-top: 0;
}

:is(.message-parts-container, .parent-text) > :nth-last-child(-n + 1 of :not(.edited)) {
  display: inline; /* Allow '(edited)' to follow on same line */
  margin-bottom: 0;
}

.edited::before {
  content: " ";
}

blockquote {
  border-left: 2px solid #00dab6;
  padding-left: 0.5em;
}