Formatting of history

This commit is contained in:
Magnus Åhall 2026-06-06 13:06:48 +02:00
parent 5f068ac036
commit 65a0225d74
3 changed files with 82 additions and 16 deletions

View file

@ -5,9 +5,6 @@
--thumbnail-width: 300px;
--thumbnail-height: 100px;
/*
--colorize: invert(10%) sepia(61%) saturate(5017%) hue-rotate(323deg) brightness(90%) contrast(109%);
*/
--colorize: invert(59%) sepia(71%) saturate(3270%) hue-rotate(327deg) brightness(100%) contrast(99%);
--line-color: #ccc;
@ -538,8 +535,43 @@ n2-pagehistory {
grid-column: 1 / -1;
display: grid;
grid-template-columns: min-content 1fr;
grid-gap: 4px 8px;
grid-template-columns: min-content minmax(min-content, max-content) min-content 1fr;
background-color: var(--line-color);
gap: 1px;
border: 1px solid var(--line-color);
&>div>div {
padding: 8px 12px;
background-color: #fff;
white-space: nowrap;
&.index {
text-align: right;
}
&.updated {
white-space: initial;
}
.date {
white-space: nowrap;
font-weight: bold;
}
.time {
white-space: nowrap;
color: #555;
}
&.name {
white-space: initial;
/*overflow-wrap: anywhere;*/
word-break: break-all;
color: var(--color1);
}
}
.history-node {
display: contents;