docs.css 6.47 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
  margin-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

div.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
84
85
  border-top: 1px solid #fff;
  border-bottom: 1px solid #eee;
}
div.quickstart div.row {
  margin: 0 -20px;
86
  -webkit-box-shadow: 1px 0 0 #f9f9f9;
87
88
     -moz-box-shadow: 1px 0 0 #f9f9f9;
          box-shadow: 1px 0 0 #f9f9f9;
89
90
}
div.quickstart div.columns {
91
  width: 285px;
92
  height: 117px;
93
94
95
  margin-left: 0;
  padding: 17px 20px 26px;
  border-left: 1px solid #eee;
96
  -webkit-box-shadow: inset 1px 0 0 #f9f9f9;
97
98
     -moz-box-shadow: inset 1px 0 0 #f9f9f9;
          box-shadow: inset 1px 0 0 #f9f9f9;
99
100
}
div.quickstart div.columns:last-child {
101
102
  border-right: 1px solid #eee;
  width: 286px;
103
104
105
106
107
108
}
div.quickstart h6,
div.quickstart p {
  line-height: 18px;
  text-align: center;
  margin-bottom: 9px;
109
  color: #333;
110
111
}
div.quickstart h6 {
112
  color: #999;
113
114
}
div.quickstart form textarea {
115
116
  display: block;
  width: 275px;
117
  height: auto;
118
  margin: 0 0 9px;
119
  line-height: 21px;
120
121
  white-space: nowrap;
  overflow: hidden;
Mark Otto's avatar
Mark Otto committed
122
}
Jacob Thornton's avatar
Jacob Thornton committed
123
124
125
126
127
#footer {
  margin-top: 80px;
}
#footer p {
  margin-bottom: 0;
128
129
  color: rgba(255,255,255,.8)
}
130
131
132
#footer p.right {
  float: right;
}
Jacob Thornton's avatar
Jacob Thornton committed
133

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

216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
/* Topbar special styles for js
-------------------------------------------------- */
#bootstrap-js div.topbar-wrapper {
  position: relative;
  height: 40px;
  margin: 5px 0 15px;
}

#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
241
242
243
244
245
/* Popover docs
-------------------------------------------------- */
div.popover-well {
  min-height: 160px;
}
Jacob Thornton's avatar
Jacob Thornton committed
246

Mark Otto's avatar
Mark Otto committed
247
248
249
div.popover-well div.popover {
  display: block;
}
Jacob Thornton's avatar
Jacob Thornton committed
250

Mark Otto's avatar
Mark Otto committed
251
252
253
254
div.popover-well div.popover-wrapper {
  width: 50%;
  height: 160px;
  float: left;
Jacob Thornton's avatar
Jacob Thornton committed
255
  margin-left: 55px;
256
  position: relative;
Mark Otto's avatar
Mark Otto committed
257
}
Jacob Thornton's avatar
Jacob Thornton committed
258

Mark Otto's avatar
Mark Otto committed
259
260
div.popover-well div.popover-menu-wrapper {
  height: 80px;
Jacob Thornton's avatar
Jacob Thornton committed
261
262
263
264
}

img.large-bird {
  margin: 5px 0 0 310px;
265
  opacity: .1;
Jacob Thornton's avatar
Jacob Thornton committed
266
267
268
269
270
271
}

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