aboutsummaryrefslogtreecommitdiff
path: root/static/styles.css
blob: 9ed3a623fd29221216c2933f8e3a25e3e0d304fc (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
body {
  margin: 0 auto;
  font-family: sans-serif;
  font-size: 18px;
}

section {
  padding: 1ex;
}

.symbol {
  font-family: Symbola;
}

.ssb-post img,
.ssb-issue img {
  max-width: 100%;
  max-height: 500px;
}

.ssb-post blockquote {
  border-left: 4px #e0e0e0 solid;
  color: #444;
  background-color: #f9f9f9;
  padding: .2rem .2rem .2rem 1rem;
  margin: .5rem 0;
}

.ssb-post-text pre, .ssb-post-text pre * {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

img.ssb-emoji {
  height: 1em;
  width: 1em;
  border: none;
}

.nav-bar {
  background-color: #039;
  padding-left: 1em;
}

.nav-bar a {
  color: #ed0;
}

.search-input {
  color: #efd;
  background-color: transparent;
  border: 1px solid black;
  font-size: inherit;
  width: 24ex;
}

footer {
  font-size: smaller;
  text-align: center;
  color: #999;
  padding: 1ex;
}

.ssb-avatar-image {
  width: 4em;
  max-height: 4em;
  vertical-align: top;
}

.ssb-feed .ssb-avatar-image,
.ssb-main .ssb-avatar-image {
  width: 4em;
  max-height: 8em;
}

h3.feed-name {
  padding: 0;
  margin: 0;
}

.recps-input {
  width: 100%;
}

textarea {
  font: inherit;
  width: 100%;
}

pre {
  white-space: pre-wrap;
}

.task-list {
  margin-left: 1em;
  padding-left: 0;
}

.task-list-item {
  list-style-type: none;
}

.ssb-id {
  font-size: .7em;
  color: #777;
  text-decoration: none;
}

.ssb-timestamp {
  font-size: smaller;
}

.msg-header {
  margin-bottom: .25ex;
}

.recps {
  font-size: smaller;
}

.ssb-msgs {
  border-spacing: 0;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.msg-left,
.msg-main,
.msg-right {
  border-top: 1px solid #ddd;
  padding: .5ex;
}

.msg-content {
  padding: 0 .5ex .5ex .5ex;
}

.composer-actions {
  text-align: right;
  padding: .2ex .5ex;
}

td {
  vertical-align: top;
}

.msg-right {
  text-align: right;
  padding: .2ex .5ex;
}

.feed-name {
  padding: .75ex;
}

.feed-about {
  padding-left: .75ex;
}

.msg-left .ssb-avatar-image {
  margin-left: .25em;
  background-color: #efd;
}

.msg-title {
  margin: 0;
  padding: 0;
}

.mentions li {
  list-style-type: none;
}

.id-input {
  width: 60ex;
  font-family: monospace;
}

table.ssb-object {
  border-collapse: collapse;
}

table.ssb-object td {
  border: 1px solid black;
}

.chess-square {
  width: 1em;
  height: 1em;
  text-align: center;
}

.chess-square-dark {
  background-color: #ccc;
}

.diff-old { background-color: #ffe2dd; }
.diff-new { background-color: #d1ffd6; }