Skip to content

Commit

Permalink
Basic HTML styling of document index
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 13, 2020
1 parent 5999d7a commit db554d8
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions css/MLS.css
Expand Up @@ -42,8 +42,8 @@ a:hover { text-decoration: underline; }
*/
.ltx_para > .ltx_p:first-child { text-indent: 0; }

/* Treat heading for table of contents on front page as it it were a chapter title,
* by settings same style for .ltx_title_chapter in ltx-report.css.
/* Treat heading for table of contents on front page as if it were a chapter title,
* by copying the style of .ltx_title_chapter in ltx-report.css.
*/
.ltx_document .ltx_TOC h6 {
font-size: 200%;
Expand All @@ -66,3 +66,27 @@ a:hover { text-decoration: underline; }
.ltx_bibitem .ltx_tag {
margin-left: 0px;
}

/* Treat heading for document index as if it were a chapter title,
* by copying the style of .ltx_title_chapter in ltx-report.css.
*/
.ltx_page_content .ltx_index h1 {
font-size: 200%;
font-weight: bold;
margin-bottom: 1em;
}

/* Remove indentation of index terms at the top level.
*/
.ltx_index > .ltx_indexlist {
margin-left: 0px;
padding-left: 0px;
}

/* Change space between term and links into a dash in order to get better separation.
* This is needed since LaTeXML produces many links that begin with words that makes it hard to see where the
* term ends and the links begin.
*/
.ltx_indexrefs > .ltx_text:first-child:before {
content: " –";
}

0 comments on commit db554d8

Please sign in to comment.