docs.css 6.69 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
  position: relative;
}
section {
14
  padding-top: 60px;
Jacob Thornton's avatar
Jacob Thornton committed
15
}
16
17
18
section > .row {
  margin-bottom: 10px;
}
Jacob Thornton's avatar
Jacob Thornton committed
19
20
21
#masthead, #footer {
  background-color: #049cd9;
  background-repeat: no-repeat;
22
23
24
25
26
  background-image: -webkit-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
  background-image: -webkit-linear-gradient(#004D9F, #049cd9);
  background-image: -moz-linear-gradient(#004D9F, #049cd9);
  background-image: -o-linear-gradient(top, #004D9F, #049cd9);
  background-image: -khtml-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
27
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004D9F', endColorstr='#049cd9', GradientType=0); /* IE8 and down */
Jacob Thornton's avatar
Jacob Thornton committed
28
29
}
#masthead div.inner, #footer div.inner {
30
  background: transparent url(../img/grid-18px.png) top center;
31
  padding: 45px 0;
32
  -webkit-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
33
34
     -moz-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
          box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
Jacob Thornton's avatar
Jacob Thornton committed
35
36
37
38
}
#masthead h1,
#footer h1,
#masthead p,
39
#footer p {
Jacob Thornton's avatar
Jacob Thornton committed
40
  color: #fff;
Mark Otto's avatar
Mark Otto committed
41
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
Jacob Thornton's avatar
Jacob Thornton committed
42
}
43
44
45
46
47
#masthead p a,
#footer p a {
  color: #fff;
  font-weight: bold;
}
Jacob Thornton's avatar
Jacob Thornton committed
48
#masthead {
49
  padding-top: 40px;
Jacob Thornton's avatar
Jacob Thornton committed
50
}
51
52
53
54
55
#masthead h1,
#masthead p {
  text-align: center;
  margin-bottom: 9px;
}
Jacob Thornton's avatar
Jacob Thornton committed
56
#masthead h1 {
57
58
  font-size: 54px;
  line-height: 1;
59
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
Jacob Thornton's avatar
Jacob Thornton committed
60
}
61
62
63
#masthead p {
  font-weight: 300;
}
Jacob Thornton's avatar
Jacob Thornton committed
64
#masthead p.lead {
65
  font-size: 20px;
66
  line-height: 27px;
Jacob Thornton's avatar
Jacob Thornton committed
67
}
68

69
.quickstart {
70
71
72
73
74
75
76
77
78
79
80
  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);
81
82
83
  border-top: 1px solid #fff;
  border-bottom: 1px solid #eee;
}
84
85
86
87
.quickstart .container {
  margin-bottom: 0;
}
.quickstart .row {
88
  margin: 0 -20px;
89
  -webkit-box-shadow: 1px 0 0 #f9f9f9;
90
91
     -moz-box-shadow: 1px 0 0 #f9f9f9;
          box-shadow: 1px 0 0 #f9f9f9;
92
}
93
.quickstart [class*="span"] {
94
  width: 285px;
95
  height: 117px;
96
97
98
  margin-left: 0;
  padding: 17px 20px 26px;
  border-left: 1px solid #eee;
99
  -webkit-box-shadow: inset 1px 0 0 #f9f9f9;
100
101
     -moz-box-shadow: inset 1px 0 0 #f9f9f9;
          box-shadow: inset 1px 0 0 #f9f9f9;
102
}
103
.quickstart [class*="span"]:last-child {
104
105
  border-right: 1px solid #eee;
  width: 286px;
106
}
107
108
.quickstart h6,
.quickstart p {
109
110
111
  line-height: 18px;
  text-align: center;
  margin-bottom: 9px;
112
  color: #333;
113
}
Mark Otto's avatar
Mark Otto committed
114
115
116
117
.quickstart .current-version,
.quickstart .current-version a {
  color: #999;
}
118
.quickstart h6 {
119
  color: #999;
120
}
121
.quickstart textarea {
122
123
  display: block;
  width: 275px;
124
  height: auto;
125
  margin: 0 0 9px;
126
  line-height: 21px;
127
128
  white-space: nowrap;
  overflow: hidden;
Mark Otto's avatar
Mark Otto committed
129
}
Jacob Thornton's avatar
Jacob Thornton committed
130
131
132
133
134
#footer {
  margin-top: 80px;
}
#footer p {
  margin-bottom: 0;
135
136
  color: rgba(255,255,255,.8)
}
137
138
139
#footer p.right {
  float: right;
}
Jacob Thornton's avatar
Jacob Thornton committed
140

Jacob Thornton's avatar
Jacob Thornton committed
141
142
143
/* Special grid styles
-------------------------------------------------- */
.show-grid {
144
145
  margin-top: 10px;
  margin-bottom: 10px;
Jacob Thornton's avatar
Jacob Thornton committed
146
}
147
.show-grid [class*="span"] {
148
  background-color: #eee;
149
  background-color: rgba(0,0,0,.1);
Jacob Thornton's avatar
Jacob Thornton committed
150
  text-align: center;
151
152
153
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
154
  min-height: 30px;
Jacob Thornton's avatar
Jacob Thornton committed
155
156
  line-height: 30px;
}
157
.show-grid:hover [class*="span"] {
158
159
160
161
162
163
  background-color: #ddd;
  background-color: rgba(0,0,0,.2);
}
.show-grid .show-grid {
  margin-top: 0;
  margin-bottom: 0;
Jacob Thornton's avatar
Jacob Thornton committed
164
165
166
}
/* Render mini layout previews
-------------------------------------------------- */
167
168
.diagram,
.mini-layout {
169
  border: 1px solid #ddd;
170
171
172
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
173
174
175
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
     -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
          box-shadow: 0 1px 2px rgba(0,0,0,.075);
Jacob Thornton's avatar
Jacob Thornton committed
176
}
177
.diagram {
178
  height: 140px;
179
180
181
182
183
184
185
186
  padding: 4px;
}
.mini-layout {
  height: 340px;
  margin-bottom: 20px;
  padding: 9px;
}
.mini-layout div {
187
188
189
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
190
}
191
.mini-layout .mini-layout-body {
192
  background-color: #dceaf4;
Jacob Thornton's avatar
Jacob Thornton committed
193
  margin: 0 auto;
194
  width: 340px;
Jacob Thornton's avatar
Jacob Thornton committed
195
196
  height: 340px;
}
197
198
199
.mini-layout.fluid .mini-layout-sidebar,
.mini-layout.fluid .mini-layout-header,
.mini-layout.fluid .mini-layout-body {
Jacob Thornton's avatar
Jacob Thornton committed
200
201
  float: left;
}
202
.mini-layout.fluid .mini-layout-sidebar {
203
  background-color: #bbd8e9;
Jacob Thornton's avatar
Jacob Thornton committed
204
205
206
  width: 90px;
  height: 340px;
}
207
.mini-layout.fluid .mini-layout-body {
208
  width: 300px;
Jacob Thornton's avatar
Jacob Thornton committed
209
210
211
212
213
214
215
216
217
218
219
220
  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;
221
}
222
div.topbar-wrapper div.topbar .topbar-inner {
Jacob Thornton's avatar
Jacob Thornton committed
223
224
  padding-left: 20px;
  padding-right: 20px;
225
226
227
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
228
229
}

230
231
232
233
234
235
/* Topbar special styles for js
-------------------------------------------------- */
#bootstrap-js div.topbar-wrapper {
  position: relative;
  height: 40px;
  margin: 5px 0 15px;
236
  z-index: 1;
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
}

#bootstrap-js div.topbar-wrapper div.topbar {
  position: absolute;
  margin: 0 -20px;
}

#bootstrap-js div.topbar-wrapper div.topbar .fill {
  padding-left: 20px;
  padding-right: 20px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

#bootstrap-js div.topbar-wrapper .container {
  width: auto;
}

Mark Otto's avatar
Mark Otto committed
256
257
258
259
260
/* Popover docs
-------------------------------------------------- */
div.popover-well {
  min-height: 160px;
}
Jacob Thornton's avatar
Jacob Thornton committed
261

Mark Otto's avatar
Mark Otto committed
262
263
264
div.popover-well div.popover {
  display: block;
}
Jacob Thornton's avatar
Jacob Thornton committed
265

Mark Otto's avatar
Mark Otto committed
266
267
268
269
div.popover-well div.popover-wrapper {
  width: 50%;
  height: 160px;
  float: left;
Jacob Thornton's avatar
Jacob Thornton committed
270
  margin-left: 55px;
271
  position: relative;
Mark Otto's avatar
Mark Otto committed
272
}
Jacob Thornton's avatar
Jacob Thornton committed
273

Mark Otto's avatar
Mark Otto committed
274
275
div.popover-well div.popover-menu-wrapper {
  height: 80px;
Jacob Thornton's avatar
Jacob Thornton committed
276
277
278
279
}

img.large-bird {
  margin: 5px 0 0 310px;
280
  opacity: .1;
Jacob Thornton's avatar
Jacob Thornton committed
281
282
283
284
285
286
}

/* Pretty Print
-------------------------------------------------- */
PRE.prettyprint {
  overflow: hidden;
287
}