Difference between revisions of "CSS/TiledTOC.css"

From Nitbar
Jump to navigation Jump to search
(Created page with "#toc { padding-left: 18px; } #toc > ul { display: flex; flex-flow: row wrap; } #toc > ul > li > a { font-weight: bold; margin-left: 20pt; } #toc li.toclevel-1 {...")
 
Line 4: Line 4:
  
 
#toc > ul {
 
#toc > ul {
   display: flex;
+
   columns: 3;
  flex-flow: row wrap;
 
 
}
 
}
  
Line 14: Line 13:
  
 
#toc li.toclevel-1 {
 
#toc li.toclevel-1 {
   width: 30%;
+
   break-inside: avoid;
 
   margin-right: 10pt;
 
   margin-right: 10pt;
 
   margin-top: 6pt;
 
   margin-top: 6pt;

Revision as of 13:57, 22 January 2025

  1. toc {
 padding-left: 18px;

}

  1. toc > ul {
 columns: 3;

}

  1. toc > ul > li > a {
 font-weight: bold;
 margin-left: 20pt;

}

  1. toc li.toclevel-1 {
 break-inside: avoid;
 margin-right: 10pt;
 margin-top: 6pt;

}

  1. toc li.toclevel-2 {
 font-size: 95%;
 line-height: 120%;
 margin-top: 3pt;
 margin-bottom: 4pt;

}

.toc ul ul {

 margin-left: 0 !important;

}