docs.css 6.04 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
27
28
  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));
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#004D9F', EndColorStr='#049cd9', GradientType=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#004D9F', EndColorStr='#049cd9', GradientType=0))";
Jacob Thornton's avatar
Jacob Thornton committed
29
30
}
#masthead div.inner, #footer div.inner {
31
  background: transparent url(../img/grid-18px.png) top center;
32
  padding: 45px 0;
33
  -webkit-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
34
35
     -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
36
37
38
39
}
#masthead h1,
#footer h1,
#masthead p,
40
#footer p {
Jacob Thornton's avatar
Jacob Thornton committed
41
  color: #fff;
Mark Otto's avatar
Mark Otto committed
42
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
Jacob Thornton's avatar
Jacob Thornton committed
43
}
44
45
46
47
48
#masthead p a,
#footer p a {
  color: #fff;
  font-weight: bold;
}
Jacob Thornton's avatar
Jacob Thornton committed
49
#masthead {
50
  margin-top: 40px;
Jacob Thornton's avatar
Jacob Thornton committed
51
}
52
53
54
55
56
#masthead h1,
#masthead p {
  text-align: center;
  margin-bottom: 9px;
}
Jacob Thornton's avatar
Jacob Thornton committed
57
#masthead h1 {
58
59
  font-size: 54px;
  line-height: 1;
60
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
Jacob Thornton's avatar
Jacob Thornton committed
61
}
62
63
64
#masthead p {
  font-weight: 300;
}
Jacob Thornton's avatar
Jacob Thornton committed
65
#masthead p.lead {
66
  font-size: 20px;
67
  line-height: 27px;
Jacob Thornton's avatar
Jacob Thornton committed
68
}
69
70

div.quickstart {
71
72
73
74
75
76
77
78
79
80
81
  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);
82
83
84
85
86
  border-top: 1px solid #fff;
  border-bottom: 1px solid #eee;
}
div.quickstart div.row {
  margin: 0 -20px;
87
  -webkit-box-shadow: 1px 0 0 #f9f9f9;
88
89
     -moz-box-shadow: 1px 0 0 #f9f9f9;
          box-shadow: 1px 0 0 #f9f9f9;
90
91
}
div.quickstart div.columns {
92
  width: 285px;
93
  height: 117px;
94
95
96
  margin-left: 0;
  padding: 17px 20px 26px;
  border-left: 1px solid #eee;
97
  -webkit-box-shadow: inset 1px 0 0 #f9f9f9;
98
99
     -moz-box-shadow: inset 1px 0 0 #f9f9f9;
          box-shadow: inset 1px 0 0 #f9f9f9;
100
101
}
div.quickstart div.columns:last-child {
102
103
  border-right: 1px solid #eee;
  width: 286px;
104
105
106
107
108
109
}
div.quickstart h6,
div.quickstart p {
  line-height: 18px;
  text-align: center;
  margin-bottom: 9px;
110
  color: #333;
111
112
}
div.quickstart h6 {
113
  color: #999;
114
115
}
div.quickstart form textarea {
116
117
  display: block;
  width: 275px;
118
  height: auto;
119
  margin: 0 0 9px;
120
  line-height: 21px;
121
122
  white-space: nowrap;
  overflow: hidden;
Mark Otto's avatar
Mark Otto committed
123
}
Jacob Thornton's avatar
Jacob Thornton committed
124
125
126
127
128
#footer {
  margin-top: 80px;
}
#footer p {
  margin-bottom: 0;
129
130
  color: rgba(255,255,255,.8)
}
131
132
133
#footer p.right {
  float: right;
}
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
154
155
156
157
  height: 30px;
  line-height: 30px;
}
.show-grid:hover .column, .show-grid:hover .columns {
  background: rgba(0, 0, 0, 0.25);
}
/* Render mini layout previews
-------------------------------------------------- */
div.mini-layout {
  height: 340px;
  margin-bottom: 20px;
  padding: 9px;
158
159
160
161
  border: 1px solid #ccc;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
Jacob Thornton's avatar
Jacob Thornton committed
162
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
163
164
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
Jacob Thornton's avatar
Jacob Thornton committed
165
166
}
div.mini-layout div {
167
168
169
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
170
171
}
div.mini-layout div.mini-layout-body {
172
  background-color: #dceaf4;
Jacob Thornton's avatar
Jacob Thornton committed
173
  margin: 0 auto;
174
  width: 340px;
Jacob Thornton's avatar
Jacob Thornton committed
175
176
  height: 340px;
}
177
178
179
div.mini-layout.fluid div.mini-layout-sidebar,
div.mini-layout.fluid div.mini-layout-header,
div.mini-layout.fluid div.mini-layout-body {
Jacob Thornton's avatar
Jacob Thornton committed
180
181
182
  float: left;
}
div.mini-layout.fluid div.mini-layout-sidebar {
183
  background-color: #bbd8e9;
Jacob Thornton's avatar
Jacob Thornton committed
184
185
186
187
  width: 90px;
  height: 340px;
}
div.mini-layout.fluid div.mini-layout-body {
188
  width: 300px;
Jacob Thornton's avatar
Jacob Thornton committed
189
190
191
192
193
194
195
196
197
198
199
200
  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;
201
202
203
}

div.topbar-wrapper div.topbar .fill {
Jacob Thornton's avatar
Jacob Thornton committed
204
205
  padding-left: 20px;
  padding-right: 20px;
206
207
208
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
209
210
211
212
213
214
215
}

/* Popover docs
-------------------------------------------------- */
div.popover-well {
  min-height: 160px;
}
Jacob Thornton's avatar
Jacob Thornton committed
216

Mark Otto's avatar
Mark Otto committed
217
218
219
div.popover-well div.popover {
  display: block;
}
Jacob Thornton's avatar
Jacob Thornton committed
220

Mark Otto's avatar
Mark Otto committed
221
222
223
224
div.popover-well div.popover-wrapper {
  width: 50%;
  height: 160px;
  float: left;
Jacob Thornton's avatar
Jacob Thornton committed
225
  margin-left: 55px;
226
  position: relative;
Mark Otto's avatar
Mark Otto committed
227
}
Jacob Thornton's avatar
Jacob Thornton committed
228

Mark Otto's avatar
Mark Otto committed
229
230
div.popover-well div.popover-menu-wrapper {
  height: 80px;
Jacob Thornton's avatar
Jacob Thornton committed
231
232
233
234
}

img.large-bird {
  margin: 5px 0 0 310px;
235
  opacity: .1;
Jacob Thornton's avatar
Jacob Thornton committed
236
237
238
239
240
241
}

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