-
Notifications
You must be signed in to change notification settings - Fork 479
/
_bootstrap-layout.jade
183 lines (152 loc) · 7.48 KB
/
_bootstrap-layout.jade
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
doctype
include _bootstrap-mixins.jade
html
head
meta(charset="utf-8")
title= api.name || 'API Documentation'
block bootstrap-theme
link(rel="stylesheet", href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css")
link(rel="stylesheet", href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css")
block styles
link(rel="stylesheet", href="//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200")
style.
/* Highlight.js Theme Tomorrow */
.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-title,.coffeescript .hljs-title{color:#4271ae}.hljs-keyword,.javascript .hljs-function{color:#8959a8}.hljs{display:block;background:white;color:#4d4d4c;padding:.5em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:.5}
style
:stylus
body, h4, h5
font-family 'Roboto' sans-serif !important
h1, h2, h3, .aglio
font-family 'Raleway' sans-serif !important
h1, h2, h3, h4, h5
& a
display none
&:hover a
display inline
code
color #444
background-color #ddd
font-family 'Inconsolata' monospace !important
a[data-target]
cursor pointer
h4
font-size 100%
font-weight bold
text-transform uppercase
.back-to-top
position fixed
z-index 1
bottom 0px
right 24px
padding 4px 8px
background-color #eee
text-decoration none !important
border-top 1px solid rgba(0, 0, 0, 0.1)
border-left 1px solid rgba(0, 0, 0, 0.1)
border-right 1px solid rgba(0, 0, 0, 0.1)
border-top-left-radius 3px
border-top-right-radius 3px
.panel
overflow hidden
.panel-heading
code
margin-left 3px
color #c7254e
background-color rgba(255,255,255,0.7)
white-space pre-wrap
white-space -moz-pre-wrap
white-space -pre-wrap
white-space -o-pre-wrap
word-wrap break-word
h3
margin-top 10px
margin-bottom 10px
.list-group
margin-bottom 2px
a.list-group-item:hover
background-color #F8F8F8
border-left 2px solid #555
padding-left 15px
.indent
display block
text-indent: 16px;
.list-group-item
padding-left 16px
.toggle
.open
display block
.closed
display none
.list-group-item.collapsed
.toggle
.open
display none
.closed
display block
a.list-group-item
font-size 13px
white-space nowrap
text-overflow ellipsis
overflow hidden
&.heading
font-size 15px
background-color #f5f5f5
&:hover
background-color #F8F8F8
.list-group-item.collapse
display none
.list-group-item.collapse.in
display block
.list-group-item
a
span.closed
display none
span.open
display block
.list-group-item
a.collapsed
span.closed
display block
span.open
display none
#nav
width: inherit
margin-top 38px
min-width 255px
top 0
bottom 0
padding-right 12px
padding-bottom 12px
overflow-y auto
@media(max-width: 1199px)
#nav
min-width 212px
body
a.text-muted.back-to-top(href='#top')
i.fa.fa-toggle-up
| Back to top
.container-fluid
.row
block nav
+Nav(false)
.col-md-8
block content
+Content('primary', false)
p.text-muted(style="text-align: center;")
| Generated by
a.aglio(href="https://github.com/danielgtaylor/aglio") aglio
| on #{date().format('DD MMM YYYY')}
#localFile(style="display: none; position: absolute; top: 0; left: 0; width: 100%; color: white; background: red; font-size: 150%; text-align: center; padding: 1em;").
This page may not display correctly when opened as a local file. Instead, view it from a web server.
script(src="//code.jquery.com/jquery-1.11.0.min.js")
script(src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js")
script
:coffee
# Show a warning when viewed as a local file, which will break the
# links above that start with `//`.
if location.protocol is 'file:'
document.getElementById('localFile').style.display = 'block';
block scripts
script
:coffee
$('table').addClass 'table'