add custom heights for collapsible headings

This commit is contained in:
buzz-lightsnack-2007 2024-05-13 23:32:37 +08:00
parent 9c5b7f1228
commit a5c83ad871
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
.collapsible-header h1, .collapsible-header h2, .collapsible-header h3, .collapsible-header h4, .collapsible-header h5, .collapsible-header h6 {
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin: 0.5em 0;
margin-block-start: 0em;
margin-block-end: 0em;
}

View file

@ -1,5 +1,6 @@
@import url("/styles/fonts/all.article.css");
@import url("/styles/fonts/all.navbar.css");
@import url("/styles/fonts/all.collapsible.css");
.collapsible > li > header {
font-weight: bold;