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 {...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
#toc {
 
#toc {
 
   padding-left: 18px;
 
   padding-left: 18px;
 +
}
 +
 +
#toc .toctitle {
 +
  margin-bottom: 8px;
 
}
 
}
  
 
#toc > ul {
 
#toc > ul {
   display: flex;
+
   columns: 3;
  flex-flow: row wrap;
 
 
}
 
}
  
Line 14: Line 17:
  
 
#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;

Latest revision as of 13:59, 22 January 2025

  1. toc {
 padding-left: 18px;

}

  1. toc .toctitle {
 margin-bottom: 8px;

}

  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;

}