|
1 |
| -.review { |
| 1 | +:root { |
2 | 2 | -webkit-text-size-adjust: 100%;
|
3 | 3 | }
|
4 |
| -.review body { |
| 4 | + |
| 5 | +body { |
5 | 6 | font-family: Georgia, "Times New Roman", Times, serif;
|
6 | 7 | color: #000;
|
7 | 8 | font-size: 1.1em;
|
8 | 9 | line-height: 1.5;
|
9 | 10 | margin: 0;
|
10 | 11 | }
|
11 |
| -.review h2, .review h3, .review h4, .review h5 { |
| 12 | + |
| 13 | +h2, h3, h4, h5 { |
12 | 14 | font-family: Arial, Helvetica, sans-serif;
|
13 | 15 | margin: 0;
|
14 | 16 | }
|
15 |
| -.review h3 { |
| 17 | + |
| 18 | +h3 { |
16 | 19 | text-transform: uppercase;
|
17 | 20 | }
|
18 |
| -.review a:hover { |
| 21 | + |
| 22 | +img { |
| 23 | + max-width: 100%; |
| 24 | +} |
| 25 | + |
| 26 | +a:hover { |
19 | 27 | background-color: transparent;
|
20 | 28 | text-decoration: none;
|
21 | 29 | }
|
22 |
| -.review .title-block { |
| 30 | + |
| 31 | +.title-block { |
23 | 32 | margin: 10px;
|
24 | 33 | text-align: center;
|
25 | 34 | }
|
26 |
| -.review .title-block .title-image { |
| 35 | + |
| 36 | +.title-image { |
27 | 37 | max-width: 320px;
|
28 | 38 | margin: 0 auto;
|
29 | 39 | }
|
30 |
| -.review .title-block .title-image img { |
31 |
| - max-width: 100%; |
32 |
| -} |
33 |
| -.review .byline { |
| 40 | + |
| 41 | +.byline { |
34 | 42 | font-family: Arial, Helvetica, sans-serif;
|
35 | 43 | font-size: 80%;
|
36 | 44 | max-width: 500px;
|
37 | 45 | margin: 0 auto;
|
38 | 46 | }
|
39 |
| -.review .byline:not(:first-child) { |
| 47 | + |
| 48 | +.byline:not(:first-child) { |
40 | 49 | margin-top: 15px;
|
41 | 50 | }
|
42 |
| -.review .intro, .review .outro { |
| 51 | + |
| 52 | +.intro, .outro { |
43 | 53 | max-width: 800px;
|
44 | 54 | padding: 0 10px;
|
45 | 55 | }
|
46 |
| -.review .intro { |
| 56 | + |
| 57 | +.intro { |
47 | 58 | margin: 0 auto 30px auto;
|
48 | 59 | }
|
49 |
| -.review .outro { |
| 60 | + |
| 61 | +.outro { |
50 | 62 | margin: 20px auto 50px auto;
|
51 | 63 | }
|
52 |
| -.review .group { |
| 64 | + |
| 65 | +.group { |
53 | 66 | display: flex;
|
54 | 67 | width: 100%;
|
55 | 68 | }
|
56 |
| -.review .group.first { |
| 69 | + |
| 70 | +.group.first { |
57 | 71 | border-top: 1px solid #ddd;
|
58 | 72 | }
|
59 |
| -.review .group.first .left .content, .review .group.first .right .content { |
| 73 | + |
| 74 | +.group.first .left .content, .group.first .right .content { |
60 | 75 | padding-top: 20px;
|
61 | 76 | }
|
62 |
| -.review .group.last { |
| 77 | + |
| 78 | +.group.last { |
63 | 79 | border-bottom: 1px solid #ddd;
|
64 | 80 | }
|
65 |
| -.review .group .left { |
| 81 | + |
| 82 | +.group .left { |
66 | 83 | flex: 2;
|
67 | 84 | }
|
68 |
| -.review .group .right { |
| 85 | + |
| 86 | +.group .right { |
69 | 87 | flex: 3;
|
70 | 88 | }
|
71 |
| -.review .group .left, .review .group .right { |
| 89 | + |
| 90 | +.group .left, .group .right { |
72 | 91 | display: flex;
|
73 | 92 | }
|
74 |
| -.review .group .left .content, .review .group .right .content { |
| 93 | + |
| 94 | +.group .left .content, .group .right .content { |
75 | 95 | background-color: inherit;
|
76 | 96 | box-shadow: none;
|
77 | 97 | padding: 0 20px 26.4px 20px;
|
78 | 98 | }
|
79 |
| -.review .group .left .content.empty, .review .group .right .content.empty { |
| 99 | + |
| 100 | +.group .left .content.empty, .group .right .content.empty { |
80 | 101 | padding: 0;
|
81 | 102 | }
|
82 |
| -.review .group .right { |
| 103 | + |
| 104 | +.group .right { |
83 | 105 | background-color: #f0f0f0;
|
84 | 106 | }
|
85 |
| -.review .group .right .content { |
| 107 | + |
| 108 | +.group .right .content { |
86 | 109 | font-size: 90%;
|
87 | 110 | }
|
88 |
| -.review .content h3, .review .content h4 { |
| 111 | + |
| 112 | +.content h3, .content h4 { |
89 | 113 | font-family: Arial, Helvetica, sans-serif;
|
90 | 114 | margin: 0 0 20px 0;
|
91 | 115 | }
|
92 |
| -.review .content p { |
| 116 | + |
| 117 | +.content p { |
93 | 118 | margin-top: 0;
|
94 | 119 | margin-block-start: 0;
|
95 | 120 | }
|
96 |
| -.review .content p:last-child { |
| 121 | + |
| 122 | +.content p:last-child { |
97 | 123 | margin-bottom: 0;
|
98 | 124 | margin-block-end: 0;
|
99 | 125 | }
|
100 |
| -.review .content ul, .review .content ol { |
| 126 | + |
| 127 | +.content ul, .content ol { |
101 | 128 | margin: 0;
|
102 | 129 | padding-inline-start: 1em;
|
103 | 130 | }
|
104 |
| -.review mark { |
| 131 | + |
| 132 | +mark { |
105 | 133 | background-color: rgba(255, 245, 137, 0.5);
|
106 | 134 | }
|
107 |
| -.review mark:hover { |
| 135 | + |
| 136 | +mark:hover { |
108 | 137 | cursor: pointer;
|
109 | 138 | background-color: #fff589;
|
110 | 139 | }
|
111 |
| -.review mark.selected { |
| 140 | + |
| 141 | +mark.selected { |
112 | 142 | background-color: #fff589;
|
113 | 143 | }
|
114 |
| -.review mark[data-annotation-id]::after { |
| 144 | + |
| 145 | +mark[data-annotation-id]::after { |
115 | 146 | content: attr(data-annotation-id);
|
116 | 147 | content: attr(data-annotation-id)/"";
|
117 | 148 | display: inline-block;
|
|
128 | 159 | margin-right: 2px;
|
129 | 160 | bottom: 2px;
|
130 | 161 | }
|
131 |
| -.review .content > .annotation:not(:first-child), .review .content .content:not(:first-child), .review .content .annotation-group:not(:first-child) { |
| 162 | + |
| 163 | +.content > .annotation:not(:first-child), .content .content:not(:first-child), .content .annotation-group:not(:first-child) { |
132 | 164 | margin-top: 10px;
|
133 | 165 | }
|
134 |
| -.review .annotation { |
| 166 | + |
| 167 | +.annotation { |
135 | 168 | background-color: white;
|
136 | 169 | padding: 10px;
|
137 | 170 | border: 1px solid #ddd;
|
138 | 171 | }
|
139 |
| -.review .annotation:hover { |
| 172 | + |
| 173 | +.annotation:hover { |
140 | 174 | cursor: pointer;
|
141 | 175 | }
|
142 |
| -.review .annotation[role=comment][data-annotation-id]::after, .review .annotation-group[role=comment][data-annotation-id]::after { |
| 176 | + |
| 177 | +.annotation[role=comment][data-annotation-id]::after, .annotation-group[role=comment][data-annotation-id]::after { |
143 | 178 | content: attr(data-annotation-id);
|
144 | 179 | content: attr(data-annotation-id)/"";
|
145 | 180 | font-family: Georgia, "Times New Roman", Times, serif;
|
|
157 | 192 | left: -8px;
|
158 | 193 | top: -8px;
|
159 | 194 | }
|
160 |
| -.review .annotation[role=comment], .review .annotation-group[role=comment] { |
| 195 | + |
| 196 | +.annotation[role=comment], .annotation-group[role=comment] { |
161 | 197 | position: relative;
|
162 | 198 | }
|
163 |
| -.review .annotation-group .annotation:not(:first-child) { |
| 199 | + |
| 200 | +.annotation-group .annotation:not(:first-child) { |
164 | 201 | border-top-width: 0;
|
165 | 202 | }
|
166 |
| -.review .annotation.selected, |
167 |
| -.review .annotation-group.selected .annotation { |
| 203 | + |
| 204 | +.annotation.selected, |
| 205 | +.annotation-group.selected .annotation { |
168 | 206 | border-color: #999;
|
169 | 207 | background-color: #fffeef;
|
170 | 208 | }
|
171 |
| -.review .commenter { |
| 209 | + |
| 210 | +.commenter { |
172 | 211 | font-family: Arial, Helvetica, sans-serif;
|
173 | 212 | font-size: 80%;
|
174 | 213 | color: #999;
|
175 | 214 | }
|
176 |
| -.review .no-margin { |
| 215 | + |
| 216 | +.no-margin { |
177 | 217 | margin: 0 !important;
|
178 | 218 | }
|
179 |
| -.review .small { |
| 219 | + |
| 220 | +.small { |
180 | 221 | font-size: 80%;
|
181 | 222 | }
|
182 |
| -.review .fine-print { |
| 223 | + |
| 224 | +.fine-print { |
183 | 225 | font-size: 70%;
|
184 | 226 | }
|
185 |
| -.review .annotation-group .annotation.thread { |
| 227 | + |
| 228 | +.annotation-group .annotation.thread { |
186 | 229 | margin-left: 10px;
|
187 | 230 | }
|
188 |
| -.review .annotation-group .annotation.thread-2 { |
| 231 | + |
| 232 | +.annotation-group .annotation.thread-2 { |
189 | 233 | margin-left: 20px;
|
190 | 234 | }
|
191 |
| -.review .annotation-group .annotation.thread-3 { |
| 235 | + |
| 236 | +.annotation-group .annotation.thread-3 { |
192 | 237 | margin-left: 30px;
|
193 | 238 | }
|
194 |
| -.review .annotation-group .annotation.thread-4 { |
| 239 | + |
| 240 | +.annotation-group .annotation.thread-4 { |
195 | 241 | margin-left: 40px;
|
196 | 242 | }
|
197 |
| -.review .annotation-group .annotation.thread-5 { |
| 243 | + |
| 244 | +.annotation-group .annotation.thread-5 { |
198 | 245 | margin-left: 50px;
|
199 | 246 | }
|
200 |
| -.review .annotation-group .annotation.thread-6 { |
| 247 | + |
| 248 | +.annotation-group .annotation.thread-6 { |
201 | 249 | margin-left: 60px;
|
202 | 250 | }
|
203 |
| -.review .annotation-group .annotation.thread-7 { |
| 251 | + |
| 252 | +.annotation-group .annotation.thread-7 { |
204 | 253 | margin-left: 70px;
|
205 | 254 | }
|
206 |
| -.review .annotation-group .annotation.thread-8 { |
| 255 | + |
| 256 | +.annotation-group .annotation.thread-8 { |
207 | 257 | margin-left: 80px;
|
208 | 258 | }
|
209 |
| -.review .annotation-group .annotation.thread-9 { |
| 259 | + |
| 260 | +.annotation-group .annotation.thread-9 { |
210 | 261 | margin-left: 90px;
|
211 | 262 | }
|
212 |
| -.review .annotation-group .annotation.thread-10 { |
| 263 | + |
| 264 | +.annotation-group .annotation.thread-10 { |
213 | 265 | margin-left: 100px;
|
214 | 266 | }
|
215 |
| -.review .sr-only { |
| 267 | + |
| 268 | +.sr-only { |
216 | 269 | border: 0 !important;
|
217 | 270 | clip: rect(1px, 1px, 1px, 1px) !important;
|
218 | 271 | -webkit-clip-path: inset(50%) !important;
|
|
227 | 280 |
|
228 | 281 | /* Responsive */
|
229 | 282 | @media screen and (min-width: 1801px) {
|
230 |
| - .review .group .left .content { |
| 283 | + .group .left .content { |
231 | 284 | padding-left: 20%;
|
232 | 285 | padding-right: 40px;
|
233 | 286 | }
|
234 |
| - .review .group .right .content { |
| 287 | + |
| 288 | + .group .right .content { |
235 | 289 | padding-left: 40px;
|
236 | 290 | padding-right: 20%;
|
237 | 291 | }
|
238 | 292 | }
|
| 293 | + |
239 | 294 | @media screen and (min-width: 1001px) and (max-width: 1800px) {
|
240 |
| - .review .group .left .content, .review .group .right .content { |
| 295 | + .group .left .content, .group .right .content { |
241 | 296 | padding-left: 40px;
|
242 | 297 | padding-right: 40px;
|
243 | 298 | }
|
244 | 299 | }
|
| 300 | + |
245 | 301 | @media screen and (min-width: 751px) {
|
246 |
| - .review .group .left .content, .review .group .right .content { |
| 302 | + .group .left .content, .group .right .content { |
247 | 303 | max-width: 800px;
|
248 | 304 | }
|
249 |
| - .review .group .left .content { |
| 305 | + .group .left .content { |
250 | 306 | float: right;
|
251 | 307 | }
|
252 | 308 | }
|
| 309 | + |
253 | 310 | @media screen and (max-width: 750px) {
|
254 |
| - .review .group { |
| 311 | + .group { |
255 | 312 | flex-direction: column;
|
256 | 313 | }
|
257 |
| - .review .group .left .content, .review .group .right .content { |
| 314 | + .group .left .content, .group .right .content { |
258 | 315 | padding-left: 40px;
|
259 | 316 | padding-right: 40px;
|
260 | 317 | }
|
261 |
| - .review .group .left .content { |
| 318 | + .group .left .content { |
262 | 319 | padding-top: 26.4px;
|
263 | 320 | }
|
264 |
| - .review .annotation { |
| 321 | + .annotation { |
265 | 322 | font-family: Arial, Helvetica, sans-serif;
|
266 | 323 | font-size: 90%;
|
267 | 324 | }
|
268 |
| - .review .content > .annotation, .review .annotation-group { |
| 325 | + .content > .annotation, .annotation-group { |
269 | 326 | margin-top: 20px;
|
270 | 327 | }
|
271 | 328 | }
|
| 329 | + |
272 | 330 | @media screen and (max-width: 480px) {
|
273 |
| - .review .group .left .content, .review .group .right .content { |
| 331 | + .group .left .content, .group .right .content { |
274 | 332 | padding-left: 20px;
|
275 | 333 | padding-right: 20px;
|
276 | 334 | }
|
277 | 335 | }
|
278 | 336 |
|
279 | 337 | /* No-JS tweaks */
|
280 |
| -.no-js.review mark:hover { |
| 338 | +.no-jsmark:hover { |
281 | 339 | cursor: auto !important;
|
282 | 340 | background-color: rgba(255, 245, 137, 0.5) !important;
|
283 | 341 | }
|
284 |
| -.no-js.review .annotation:hover { |
| 342 | + |
| 343 | +.no-js.annotation:hover { |
285 | 344 | cursor: auto !important;
|
286 | 345 | }
|
287 | 346 |
|
0 commit comments