4,554
edits
No edit summary |
No edit summary |
||
Line 219: | Line 219: | ||
/* Mod line */ | /* Mod line */ | ||
/* Mod line — | /* Mod line — force one tight line, no indent */ | ||
.article-mod-line { | .article-mod-line { | ||
display: | display: inline; /* don’t be a full-width block */ | ||
white-space: nowrap !important; /* never wrap */ | white-space: nowrap !important; /* never wrap */ | ||
text-indent: 0 !important; /* kill inherited indent */ | |||
font-size: 0 !important; /* remove inter-node whitespace width */ | |||
letter-spacing: 0 !important; /* container adds no spacing */ | |||
line-height: 1.05; | line-height: 1.05; | ||
color: grey; | color: grey; | ||
Line 235: | Line 233: | ||
/* restore typography per piece */ | /* restore typography per piece */ | ||
.article-mod-line span { | .article-mod-line span, | ||
display: inline; | .article-mod-line .article-label-modification-date, | ||
font-size: 10px !important; | .article-mod-line .article-modification-date { | ||
letter-spacing: 0.3px | display: inline !important; | ||
white-space: nowrap !important; | |||
font-size: 10px !important; | |||
letter-spacing: 0.3px !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
/* tiny | /* date slightly stronger and with tiny spacing */ | ||
.article-modification-date { | .article-mod-line .article-modification-date { | ||
font-size: 11px !important; | font-size: 11px !important; | ||
margin: 0 .25ch !important; /* small gap around date */ | |||
margin: 0 .25ch !important; | |||
} | } | ||
/* if you have a legacy rule adding left margins between spans, neutralize it */ | |||
.article-mod-line > span + span { margin-left: 0 !important; } | |||
/* Resets */ | /* Resets */ |