Improve CSS file

Julien LepillerWed Aug 04 23:29:47+0200 2021

06a9451

Improve CSS file

assets/css/gitile.css

194194
  line-height: 1em;
195195
}
196196
197+
table.file-diff td:target + td, table.file-content td:target + td {
198+
  background: #ffffd0;
199+
}
200+
197201
table.file-diff .hunk-delim {
198202
  background: #fafafa;
199203
  border-bottom: 1px solid var(--darkerwhite);

237241
table.file-diff pre, table.file-content pre {
238242
  border: none;
239243
  background: none;
244+
  padding: 0.2em;
240245
}
241246
242247
table.file-diff .diff-minus,

326331
  height: 2.5em;
327332
  display: flex;
328333
  flex-direction: row;
329-
  align-items: center;
334+
  align-items: stretch;
335+
  overflow: hidden;
330336
}
331337
332338
.commit-info .commit-id .short-id {
333339
  background: var(--darkwhite);
334340
  display: inline-block;
335-
  padding: 0.5em;
336-
  border-bottom-left-radius: 10px;
337-
  border-top-left-radius: 10px;
341+
  padding: 0 0.5em;
338342
  border-right: 1px solid var(--gray);
339343
  font-family: monospace, monospace;
340344
  font-size: 0.85em;
345+
  display: flex;
346+
  align-items: center;
341347
}
342348
343349
.commit-info p {

356362
  margin-right: 0.3em;
357363
}
358364
365+
.commit-info .commit-id a {
366+
  display: flex;
367+
  align-items: center;
368+
}
369+
359370
.commit-info .date, .tag-box .date {
360371
  font-style: italic;
361372
  margin-left: 1em;