docs.css 6.67 KB
Newer Older
Jacob Thornton's avatar
Jacob Thornton committed
1
2
3
/* Add additional stylesheets below
-------------------------------------------------- */
/*
4
5
  Bootstrap's documentation styles
  Special styles for presenting Bootstrap's documentation and examples
Jacob Thornton's avatar
Jacob Thornton committed
6
7
8
9
*/
/* Body and structure
-------------------------------------------------- */
body {
10
  background-color: #fff;
Jacob Thornton's avatar
Jacob Thornton committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  position: relative;
}
section {
  padding-top: 80px;
  margin-bottom: -40px;
}
#masthead, #footer {
  background-color: #049cd9;
  background-repeat: no-repeat;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0056b0), to(#049cd9));
  background-image: -webkit-linear-gradient(#0056b0, #049cd9);
  background-image: -moz-linear-gradient(#0056b0, #049cd9);
  background-image: -o-linear-gradient(top, #0056b0, #049cd9);
  background-image: -khtml-gradient(linear, left top, left bottom, from(#0056b0), to(#049cd9));
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#0056b0', EndColorStr='#049cd9', GradientType=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#0056b0', EndColorStr='#049cd9', GradientType=0))";
}
#masthead div.inner, #footer div.inner {
29
  background: transparent url(../img/grid-18px.png) top center;
30
  padding: 45px 0 54px;
Jacob Thornton's avatar
Jacob Thornton committed
31
32
33
34
35
36
  -webkit-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25);
}
#masthead h1,
#footer h1,
Mark Otto's avatar
Mark Otto committed
37
38
#masthead h4,
#footer h4,
Jacob Thornton's avatar
Jacob Thornton committed
39
40
41
42
43
#masthead p,
#footer p,
#masthead small,
#footer small {
  color: #fff;
Mark Otto's avatar
Mark Otto committed
44
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
Jacob Thornton's avatar
Jacob Thornton committed
45
46
47
48
49
}
#masthead {
  margin-top: 40px;
}
#masthead h1 {
50
51
52
53
  font-size: 54px;
  line-height: 1;
  text-align: center;
  margin-bottom: 9px;
54
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
Jacob Thornton's avatar
Jacob Thornton committed
55
56
}
#masthead p.lead {
57
  font-size: 20px;
Jacob Thornton's avatar
Jacob Thornton committed
58
  font-weight: 300;
59
  line-height: 27px;
60
  text-align: center;
61
  margin: 0;
Jacob Thornton's avatar
Jacob Thornton committed
62
}
63
64

div.quickstart {
65
66
67
68
69
70
71
72
73
74
75
  background-color: #f5f5f5;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f5f5f5));
  background-image: -moz-linear-gradient(#f9f9f9, #f5f5f5);
  background-image: -ms-linear-gradient(#f9f9f9, #f5f5f5);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9f9f9), color-stop(100%, #f5f5f5));
  background-image: -webkit-linear-gradient(#f9f9f9, #f5f5f5);
  background-image: -o-linear-gradient(#f9f9f9, #f5f5f5);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0)";
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0);
  background-image: linear-gradient(#f9f9f9, #f5f5f5);
76
77
78
79
80
81
  margin-bottom: -36px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #eee;
}
div.quickstart div.row {
  margin: 0 -20px;
82
83
}
div.quickstart div.columns {
84
  width: 285px;
85
  height: 100px;
86
87
88
  margin-left: 0;
  padding: 17px 20px 26px;
  border-left: 1px solid #eee;
89
90
}
div.quickstart div.columns:last-child {
91
92
  border-right: 1px solid #eee;
  width: 286px;
93
94
95
96
97
98
}
div.quickstart h6,
div.quickstart p {
  line-height: 18px;
  text-align: center;
  margin-bottom: 9px;
99
  color: #333;
100
101
}
div.quickstart h6 {
102
  color: #999;
103
104
}
div.quickstart form textarea {
105
106
107
108
  display: block;
  width: 275px;
  height: 21px;
  margin: 0 0 9px;
109
  line-height: 21px;
110
111
112
113
114
115
  white-space: nowrap;
  overflow: hidden;
  border-color: #ddd;
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
  -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
Mark Otto's avatar
Mark Otto committed
116
}
Jacob Thornton's avatar
Jacob Thornton committed
117
118
119
120
121
#footer {
  margin-top: 80px;
}
#footer p {
  margin-bottom: 0;
122
123
124
125
126
  color: rgba(255,255,255,.8)
}
#footer p a {
  color: #fff;
  font-weight: bold;
Jacob Thornton's avatar
Jacob Thornton committed
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
}
/* Special grid styles
-------------------------------------------------- */
.show-grid {
  margin-top: 20px;
  margin-bottom: 20px;
}
.show-grid .column, .show-grid .columns {
  background: rgba(0, 0, 0, 0.1);
  text-align: center;
  -moz-border-radius: 3px;
  border-radius: 3px;
  height: 30px;
  line-height: 30px;
}
.show-grid:hover .column, .show-grid:hover .columns {
  background: rgba(0, 0, 0, 0.25);
}
/* Hashgrid.js grid (press G & H to view)
-------------------------------------------------- */
#grid {
  width: 980px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -490px;
}
#grid div.vert {
  background-color: rgba(0, 206, 209, 0.075);
  width: 39px;
  border: solid darkturquoise;
  border-width: 0 1px;
  margin-right: 19px;
}
#grid div.vert.first-line {
  margin-left: 19px;
}
#grid div.horiz {
  height: 19px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}
#grid div.horiz:nth-child(5n) {
  border-color: rgba(255, 0, 0, 0.25);
}
/* Render mini layout previews
-------------------------------------------------- */
div.mini-layout {
  height: 340px;
  margin-bottom: 20px;
  padding: 9px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
}
div.mini-layout div {
  -moz-border-radius: 3px;
  border-radius: 3px;
}
div.mini-layout div.mini-layout-body {
  background-color: rgba(141, 192, 219, 0.25);
  margin: 0 auto;
  width: 450px;
  height: 340px;
}
div.mini-layout.fluid div.mini-layout-sidebar, div.mini-layout.fluid div.mini-layout-header, div.mini-layout.fluid div.mini-layout-body {
  float: left;
}
div.mini-layout.fluid div.mini-layout-sidebar {
  background-color: rgba(141, 192, 219, 0.5);
  width: 90px;
  height: 340px;
}
div.mini-layout.fluid div.mini-layout-body {
  width: 400px;
  margin-left: 10px;
}
/* Topbar special styles
-------------------------------------------------- */
div.topbar-wrapper {
  position: relative;
  height: 40px;
  margin: 5px 0 15px;
}
div.topbar-wrapper div.topbar {
  position: absolute;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  -moz-border-radius: 4px;
  border-radius: 4px;
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
}
/* Code blocks
-------------------------------------------------- */
pre.css, pre.html {
  background-color: #fff;
}
pre ol {
  background-color: #feeed6;
  list-style: decimal;
  margin: -17px;
  padding-left: 59px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
pre ol li {
  background-color: #fff;
  padding: 0 10px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-left-color: #fddfb3;
  font-size: 11px;
  line-height: 18px;
  color: #bbb;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  word-wrap: break-word;
}
pre ol li:first-child {
  padding-top: 9px;
}
pre ol li:last-child {
  padding-bottom: 9px;
}
span.html__tag_start, span.html__tag_end {
  color: #277ac1;
  font-weight: normal;
}
span.html__attr_name {
  color: #d78b41;
}
span.html__attr_value {
  color: #de4a3f;
}