-
Notifications
You must be signed in to change notification settings - Fork 1
/
bootstrap-toc.css
107 lines (100 loc) · 4.58 KB
/
bootstrap-toc.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*!
* Bootstrap Table of Contents v<%= version %> (http://afeld.github.io/bootstrap-toc/)
* Copyright 2015 Aidan Feldman
* Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */
/* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */
/* All levels of nav */
nav[data-toggle='toc'] .nav > li > a {
display: block;
padding: 4px 20px;
font-size: 13px;
font-weight: 500;
color: #767676;
}
nav[data-toggle='toc'] .nav > li > a:hover,
nav[data-toggle='toc'] .nav > li > a:focus {
padding-left: 19px;
color: #E05430;
text-decoration: none;
background-color: transparent;
border-left: 1px solid #E05430;
}
nav[data-toggle='toc'] .nav > .active > a,
nav[data-toggle='toc'] .nav > .active:hover > a,
nav[data-toggle='toc'] .nav > .active:focus > a {
padding-left: 18px;
font-weight: bold;
color: #E05430;
background-color: transparent;
border-left: 2px solid #E05430;
}
/* Nav: second level (shown on .active) */
nav[data-toggle='toc'] .nav .nav {
display: none; /* Hide by default, but at >768px, show it */
padding-bottom: 10px;
}
nav[data-toggle='toc'] .nav .nav > li > a {
padding-top: 1px;
padding-bottom: 1px;
padding-left: 30px;
font-size: 12px;
font-weight: normal;
}
nav[data-toggle='toc'] .nav .nav > li > a:hover,
nav[data-toggle='toc'] .nav .nav > li > a:focus {
padding-left: 29px;
}
nav[data-toggle='toc'] .nav .nav > .active > a,
nav[data-toggle='toc'] .nav .nav > .active:hover > a,
nav[data-toggle='toc'] .nav .nav > .active:focus > a {
padding-left: 28px;
font-weight: 500;
}
/* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */
nav[data-toggle='toc'] .nav > .active > ul {
display: block;
}
/* fonts */
@font-face{font-family:"futura_mdcn_btmedium";
src:url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.eot");
src:url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.eot?#iefix") format("embedded-opentype"),
url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.woff2") format("woff2"),
url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.woff") format("woff"),
url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.ttf") format("truetype"),
url("assets/fonts/futura-mdcn-bt-medium/bitstream_-_futura_mdcn_bt_medium-webfont.svg#futura_mdcn_btmedium") format("svg");
font-weight:normal;
font-style:normal;
}
@font-face{font-family:"futura_md_btbold";
src:url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.eot");
src:url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.eot?#iefix") format("embedded-opentype"),
url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.woff2") format("woff2"),
url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.woff") format("woff"),
url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.ttf") format("truetype"),
url("assets/fonts/futura-md-bt-bold/bitstream_-_futura_md_bt_bold-webfont.svg#futura_md_btbold") format("svg");
font-weight:normal;
font-style:normal;
}
@font-face{font-family:"futura_md_btmedium";
src:url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.eot");
src:url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.eot?#iefix") format("embedded-opentype"),
url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.woff2") format("woff2"),
url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.woff") format("woff"),
url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.ttf") format("truetype"),
url("assets/fonts/futura-md-bt-medium/bitstream_-_futura_md_bt_medium-webfont.svg#futura_md_btmedium") format("svg");
font-weight:normal;
font-style:normal;
}
@font-face{font-family:"open_sanslight";
src:url("assets/fonts/open-sans/opensans-light-webfont.eot");
src:url("assets/fonts/open-sans/opensans-light-webfont.eot?#iefix") format("embedded-opentype"),
url("assets/fonts/open-sans/opensans-light-webfont.woff2") format("woff2"),
url("assets/fonts/open-sans/opensans-light-webfont.woff") format("woff"),
url("assets/fonts/open-sans/opensans-light-webfont.ttf") format("truetype"),
url("assets/fonts/open-sans/opensans-light-webfont.svg#open_sanslight") format("svg");
font-weight:normal;
font-style:normal;
}
h1, h2, h3 {
font-family: "futura_md_btmedium", sans-serif;
}