Improve CSS file
assets/css/gitile.css
194 | 194 | line-height: 1em; | |
195 | 195 | } | |
196 | 196 | ||
197 | + | table.file-diff td:target + td, table.file-content td:target + td { | |
198 | + | background: #ffffd0; | |
199 | + | } | |
200 | + | ||
197 | 201 | table.file-diff .hunk-delim { | |
198 | 202 | background: #fafafa; | |
199 | 203 | border-bottom: 1px solid var(--darkerwhite); | |
… | |||
237 | 241 | table.file-diff pre, table.file-content pre { | |
238 | 242 | border: none; | |
239 | 243 | background: none; | |
244 | + | padding: 0.2em; | |
240 | 245 | } | |
241 | 246 | ||
242 | 247 | table.file-diff .diff-minus, | |
… | |||
326 | 331 | height: 2.5em; | |
327 | 332 | display: flex; | |
328 | 333 | flex-direction: row; | |
329 | - | align-items: center; | |
334 | + | align-items: stretch; | |
335 | + | overflow: hidden; | |
330 | 336 | } | |
331 | 337 | ||
332 | 338 | .commit-info .commit-id .short-id { | |
333 | 339 | background: var(--darkwhite); | |
334 | 340 | display: inline-block; | |
335 | - | padding: 0.5em; | |
336 | - | border-bottom-left-radius: 10px; | |
337 | - | border-top-left-radius: 10px; | |
341 | + | padding: 0 0.5em; | |
338 | 342 | border-right: 1px solid var(--gray); | |
339 | 343 | font-family: monospace, monospace; | |
340 | 344 | font-size: 0.85em; | |
345 | + | display: flex; | |
346 | + | align-items: center; | |
341 | 347 | } | |
342 | 348 | ||
343 | 349 | .commit-info p { | |
… | |||
356 | 362 | margin-right: 0.3em; | |
357 | 363 | } | |
358 | 364 | ||
365 | + | .commit-info .commit-id a { | |
366 | + | display: flex; | |
367 | + | align-items: center; | |
368 | + | } | |
369 | + | ||
359 | 370 | .commit-info .date, .tag-box .date { | |
360 | 371 | font-style: italic; | |
361 | 372 | margin-left: 1em; |