Closed Lemmmy closed 4 years ago
Applies a strikethrough style to deprecated definitions in the module definition list and on the definition's item. Also adds the text 'deprecated' in the list:
Requires this CSS patch (for CC:Tweaked):
diff --git a/doc/styles.css b/doc/styles.css index b765c33a..cd884a60 100644 --- a/doc/styles.css +++ b/doc/styles.css @@ -128,6 +128,11 @@ table.definition-list th { text-align: right; } +/* Deprecated definitions */ +table.definition-list tr.definition-deprecated th { + text-decoration: line-through; +} + table.definition-list td { width: 100%; } dl.definition dt { @@ -142,6 +147,10 @@ dl.definition dt .definition-name { flex-grow: 1; } +/* Deprecated definitions */ +dl.definition dt .definition-name.definition-deprecated { + text-decoration: line-through; +} dl.definition dd { padding-bottom: 1em;
Thanks!
Applies a strikethrough style to deprecated definitions in the module definition list and on the definition's item. Also adds the text 'deprecated' in the list:
Requires this CSS patch (for CC:Tweaked):