TFE page: replace dl/dt/dd with p/span for metadata, remove underlines, lowercase keywords/languages/formats, inclusive text, editable restriction messages

This commit is contained in:
Pontoporeia
2026-06-08 11:13:15 +02:00
parent 71949425c7
commit 3f200dae70
2 changed files with 108 additions and 189 deletions

View File

@@ -41,8 +41,8 @@
margin: 0;
}
/* Metadata description list — target <dl> directly inside article > header */
article dl {
/* Metadata block */
.tfe-meta {
display: flex;
flex-direction: column;
gap: var(--space-3xs);
@@ -51,38 +51,27 @@ article dl {
margin: 0;
}
/* Each dt/dd pair grouped in a <div> inside <dl> */
article dl > div {
display: grid;
grid-template-columns: auto 1fr;
gap: var(--space-3xs);
/* Each metadata line */
.tfe-meta-item {
margin: 0;
}
article dl dt {
color: var(--text-primary);
.tfe-meta-label {
font-weight: 400;
}
article dl dd {
color: var(--text-primary);
font-weight: 700;
margin: 0;
min-width: 0;
word-break: normal;
overflow-wrap: normal;
}
article dl dd a {
.tfe-meta-item a {
color: inherit;
font-weight: 700;
text-decoration: none;
}
article dl dd a:hover {
.tfe-meta-item a:hover {
text-decoration: none;
}
/* Note field: align dt/dd to top, value in italics */
.tfe-meta-note {
/* Note field: align label to top, value in italics */
.tfe-meta-item.tfe-meta-note {
align-items: start;
}