| 1 |
|
| 2 |
|
| 3 |
.post-list { |
| 4 |
display: flex; |
| 5 |
flex-direction: column; |
| 6 |
gap: 0; |
| 7 |
} |
| 8 |
|
| 9 |
.post-item { |
| 10 |
padding: 0.75rem 1rem; |
| 11 |
border-bottom: 1px solid var(--border); |
| 12 |
} |
| 13 |
|
| 14 |
.post-item:first-child { |
| 15 |
border-top: 1px solid var(--border); |
| 16 |
} |
| 17 |
|
| 18 |
.post-header { |
| 19 |
display: flex; |
| 20 |
justify-content: space-between; |
| 21 |
align-items: baseline; |
| 22 |
margin-bottom: 0.25rem; |
| 23 |
} |
| 24 |
|
| 25 |
.post-author { |
| 26 |
font-family: "IBM Plex Mono", monospace; |
| 27 |
font-weight: bold; |
| 28 |
font-size: 0.85rem; |
| 29 |
} |
| 30 |
|
| 31 |
.post-timestamp { |
| 32 |
font-family: "IBM Plex Mono", monospace; |
| 33 |
font-size: 0.75rem; |
| 34 |
color: var(--text-muted); |
| 35 |
} |
| 36 |
|
| 37 |
.post-edited { |
| 38 |
font-family: "IBM Plex Mono", monospace; |
| 39 |
font-size: 0.7rem; |
| 40 |
color: var(--text-muted); |
| 41 |
font-style: italic; |
| 42 |
margin-left: 0.5rem; |
| 43 |
} |
| 44 |
|
| 45 |
.post-body { |
| 46 |
font-size: 0.9rem; |
| 47 |
line-height: 1.5; |
| 48 |
} |
| 49 |
|
| 50 |
.post-body p { |
| 51 |
margin-bottom: 0.5rem; |
| 52 |
} |
| 53 |
|
| 54 |
.post-body p:last-child { |
| 55 |
margin-bottom: 0; |
| 56 |
} |
| 57 |
|
| 58 |
.post-body code { |
| 59 |
font-family: "IBM Plex Mono", monospace; |
| 60 |
font-size: 0.8rem; |
| 61 |
background: var(--surface-muted); |
| 62 |
padding: 0.1rem 0.35rem; |
| 63 |
} |
| 64 |
|
| 65 |
.post-body pre { |
| 66 |
background: var(--primary-dark); |
| 67 |
color: var(--primary-light); |
| 68 |
padding: 0.75rem; |
| 69 |
overflow-x: auto; |
| 70 |
margin: 0.5rem 0; |
| 71 |
font-family: "IBM Plex Mono", monospace; |
| 72 |
font-size: 0.8rem; |
| 73 |
line-height: 1.5; |
| 74 |
} |
| 75 |
|
| 76 |
.post-body pre code { |
| 77 |
background: none; |
| 78 |
padding: 0; |
| 79 |
color: inherit; |
| 80 |
} |
| 81 |
|
| 82 |
.post-body blockquote { |
| 83 |
border-left: 3px solid var(--border); |
| 84 |
padding-left: 1rem; |
| 85 |
margin: 0.5rem 0; |
| 86 |
color: var(--text-muted); |
| 87 |
} |
| 88 |
|
| 89 |
.post-body img { |
| 90 |
max-width: 100%; |
| 91 |
height: auto; |
| 92 |
border-radius: 4px; |
| 93 |
margin: 0.5rem 0; |
| 94 |
cursor: pointer; |
| 95 |
} |
| 96 |
|
| 97 |
|
| 98 |
.post-actions { |
| 99 |
margin-left: 0.75rem; |
| 100 |
} |
| 101 |
|
| 102 |
.post-action-link { |
| 103 |
font-family: "IBM Plex Mono", monospace; |
| 104 |
font-size: 0.7rem; |
| 105 |
color: var(--text-muted); |
| 106 |
background: none; |
| 107 |
border: none; |
| 108 |
padding: 0; |
| 109 |
cursor: pointer; |
| 110 |
text-decoration: none; |
| 111 |
margin-left: 0.5rem; |
| 112 |
} |
| 113 |
|
| 114 |
.post-action-link:hover { |
| 115 |
color: var(--detail); |
| 116 |
text-decoration: underline; |
| 117 |
} |
| 118 |
|
| 119 |
.post-action-delete:hover { |
| 120 |
color: var(--danger); |
| 121 |
} |
| 122 |
|
| 123 |
|
| 124 |
.post-deleted .post-body { |
| 125 |
color: var(--text-muted); |
| 126 |
font-style: italic; |
| 127 |
} |
| 128 |
|
| 129 |
|
| 130 |
.post-item.op { |
| 131 |
background: var(--light-background); |
| 132 |
} |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
.draft-indicator { |
| 137 |
font-family: "IBM Plex Mono", monospace; |
| 138 |
font-size: 0.75rem; |
| 139 |
color: var(--text-muted); |
| 140 |
margin-bottom: 0.25rem; |
| 141 |
} |
| 142 |
|
| 143 |
.draft-discard { |
| 144 |
cursor: pointer; |
| 145 |
color: var(--text-muted); |
| 146 |
} |
| 147 |
|
| 148 |
.draft-discard:hover { |
| 149 |
color: var(--danger); |
| 150 |
} |
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
.reply-section { |
| 155 |
padding: 1rem; |
| 156 |
margin-top: 0.5rem; |
| 157 |
} |
| 158 |
|
| 159 |
.reply-section h3 { |
| 160 |
margin-bottom: 0.75rem; |
| 161 |
} |
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
.page-header { |
| 166 |
display: flex; |
| 167 |
justify-content: space-between; |
| 168 |
align-items: center; |
| 169 |
margin-bottom: 0.5rem; |
| 170 |
} |
| 171 |
|
| 172 |
.page-header h1 { |
| 173 |
text-align: left; |
| 174 |
font-size: 1.5rem; |
| 175 |
margin: 0; |
| 176 |
} |
| 177 |
|
| 178 |
.page-header h2 { |
| 179 |
font-size: 1.2rem; |
| 180 |
margin: 0; |
| 181 |
} |
| 182 |
|
| 183 |
|