0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 11:12:39 +00:00

Added a table of contents snippet

This commit is contained in:
Scott Tolksdorf
2016-12-03 15:47:20 -05:00
parent d96ac0f3ca
commit be783e5f6b
7 changed files with 137 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ body {
counter-reset : phb-page-numbers;
}
*{
-webkit-print-color-adjust: exact;
-webkit-print-color-adjust : exact;
}
.useSansSerif(){
font-family : ScalySans;
@@ -332,7 +332,7 @@ body {
-moz-column-break-after : always;
}
//Avoid breaking up
p,ul,blockquote,table{
p,blockquote,table{
z-index : 15;
-webkit-column-break-inside : avoid;
column-break-inside : avoid;
@@ -449,4 +449,25 @@ body {
}
.phb pre+.descriptive{
margin-top : 8px;
}
//*****************************
// * TABLE OF CONTENTS
// *****************************/
.phb .toc{
-webkit-column-break-inside : avoid;
column-break-inside : avoid;
a{
color : black;
text-decoration : none;
&:hover{
text-decoration : underline;
}
}
ul{
padding-left : 0;
list-style-type : none;
}
&>ul>li{
margin-bottom : 10px;
}
}