1+ pre {
2+ font-size : 12px ; /*todo - move to webknife*/
3+ }
4+
5+ section blockquote p , section li p {
6+ margin : 0 ;
7+ }
8+
9+ .w-table {
10+ width : 100% ;
11+ }
12+
13+ /******************************** TABLE OF CONTENTS ****************************/
14+
15+ /*Table of contents button to initiate show/hide*/
16+ # dg-navigator
17+ {
18+ float : right;
19+ background-color : # 4d4d4d ;
20+ color : white;
21+ text-align : right;
22+ padding : 10px 20px 10px 20px ;
23+ margin-right : 200px ;
24+ border-radius : 0 0 10px 10px ;
25+ cursor : pointer;
26+ font-weight : bold;
27+ }
28+
29+ /*Table of contents container*/
30+ # dg-toc {
31+ color : white;
32+ background-color : # 4d4d4d ;
33+ }
34+
35+ # dg-toc table {
36+ table-layout : auto;
37+ width : 100% ;
38+ }
39+
40+ # dg-toc div {
41+ padding : 15px 0 15px 0 ;
42+ }
43+
44+ /*Columns in table of contents*/
45+
46+ # dg-toc td {
47+ border-right : 1px solid # 666 ;
48+ vertical-align : top;
49+ text-align : left;
50+ padding : 0 20px 0 20px ;
51+ }
52+
53+ # dg-toc ul {
54+ padding : 0 ;
55+ list-style-type : none;
56+ }
57+
58+ # dg-toc li {
59+ font-weight : bold;
60+ }
61+
62+ # dg-toc table td a {
63+ color : white;
64+ font-weight : normal;
65+ text-decoration : none;
66+ margin-left : 10px ;
67+ }
68+
69+ # dg-toc table td a : hover {
70+ text-decoration : underline;
71+ }
72+
73+ # dg-tocFixedColumn {
74+ border-right : none;
75+ }
76+
77+ # dg-toc table # dg-tocFixedColumn a {
78+ vertical-align : middle;
79+ margin-left : 4px ;
80+ }
81+
82+ .dg-tocGroup {
83+ width : 22% ;
84+ }
85+
86+ .dg-tocHeading {
87+ font-size : 16px ;
88+ }
89+
90+ .dg-tocIcon {width : 18px ; height : 18px ; float : left;}
91+ .dg-tocIcon svg {fill : white;}
92+
93+ /*
94+ Page table of contents
95+ */
96+
97+ .dg-pageToc {
98+ list-style : none;
99+ padding : 10px ;
100+ border : 1px solid # 999 ;
101+ background-color : # eee ;
102+ }
103+
104+ /*
105+ Class to make a heading look invisible in web page, but still appear in the PDF table of contents
106+ - display:none, visibily: hidden, zero dimensions, and offscreen positioning don't work
107+ - so instead take it out of the flow and make it small and translucent
108+ */
109+
110+ .dg-hiddenTitle {
111+ display : block;
112+ border : none;
113+ margin : 0 ;
114+ padding : 0 ;
115+ width : 1px ;
116+ height : 1px ;
117+ overflow : hidden;
118+ position : absolute;
119+ background-color : transparent;
120+ }
121+
122+ .dg-fakeHeading { /*todo - move to webknife*/
123+ text-decoration : none;
124+ font-weight : bold;
125+ color : # 385691 ;
126+ padding-bottom : 5px ;
127+ border-bottom : 1px solid # 999 ;
128+ margin : 20px 0 20px 0 ;
129+ font-size : 16px ;
130+ padding-bottom : 4px ;
131+ }
0 commit comments