swatchmaker: updated docs.css to bootswatch.css
[bootswatch] / swatchmaker / test / bootswatch.css
1 body {
2         padding-top: 80px;
3         padding-bottom: 20px;
4 }
5
6 .navbar a > i {
7         opacity: 0.5;
8 }
9
10 .navbar a:hover > i {
11         opacity: 1;
12 }
13
14 section {
15         margin-top: 100px;
16 }
17
18 .subhead {
19         padding-bottom: 0;
20         margin-bottom: 9px;
21 }
22
23 .subhead h1 {
24         font-size: 54px;
25 }
26
27 .subnav {
28         margin-bottom: 60px;
29         width: 100%;
30         height: 36px;
31         background-color: #eeeeee; /* Old browsers */
32         background-repeat: repeat-x; /* Repeat the gradient */
33         background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
34         background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
35         background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
36         background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
37         background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
38         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
39         background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
40         border: 1px solid #e5e5e5;
41         -webkit-border-radius: 4px;
42         -moz-border-radius: 4px;
43         border-radius: 4px;
44 }
45
46 .subnav .nav {
47         margin-bottom: 0;
48 }
49
50 .subnav .nav > li > a {
51         margin: 0;
52         padding-top:    11px;
53         padding-bottom: 11px;
54         border-left: 1px solid #f5f5f5;
55         border-right: 1px solid #e5e5e5;
56         -webkit-border-radius: 0;
57         -moz-border-radius: 0;
58         border-radius: 0;
59 }
60
61 .subnav .nav > .active > a,
62 .subnav .nav > .active > a:hover {
63         padding-left: 13px;
64         color: #777;
65         background-color: #e9e9e9;
66         border-right-color: #ddd;
67         border-left: 0;
68         -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
69         -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
70         box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
71 }
72
73 .subnav .nav > .active > a .caret,
74 .subnav .nav > .active > a:hover .caret {
75         border-top-color: #777;
76 }
77
78 .subnav .nav > li:first-child > a,
79 .subnav .nav > li:first-child > a:hover {
80         border-left: 0;
81         padding-left: 12px;
82         -webkit-border-radius: 4px 0 0 4px;
83         -moz-border-radius: 4px 0 0 4px;
84         border-radius: 4px 0 0 4px;
85 }
86
87 .subnav .nav > li:last-child > a {
88         border-right: 0;
89 }
90
91 .subnav .dropdown-menu {
92         -webkit-border-radius: 0 0 4px 4px;
93         -moz-border-radius: 0 0 4px 4px;
94         border-radius: 0 0 4px 4px;
95 }
96
97 .tooltip-inner {
98         max-width: 500px;
99 }
100
101 .hero-unit {
102         margin-bottom: 10px;
103         text-align: center;
104 }
105
106 .hero-unit h1,
107 .hero-unit p {
108         margin-bottom: 15px;
109 }
110
111 #social {
112         display: inline-block;
113         margin-top: 45px;
114         text-align: center;
115 }
116
117 #gh-star {
118         margin-right: 10px;
119 }
120
121 .twitter-follow-button {
122         width: 60px !important;
123 }
124
125 .twitter-share-button  {
126         margin-right: 15px;
127 }
128
129 .rss-button {
130         width: 40px;
131         height: 14px;
132         font-size: 11px;
133         line-height: 14px;
134         font-weight: bold;
135         margin: 0 0 10px;
136         padding: 2px 5px 2px 4px;
137 }
138
139 .icon-rss {
140         background: url(../img/rss-icons.png) no-repeat 0 0;
141         opacity: .65;
142         width: 16px;
143 }
144
145 #ticker {
146         margin-bottom: 40px;
147 }
148
149 .about {
150         margin-top: 20px;
151 }
152
153 .about > div {
154         margin-bottom: 20px;
155 }
156
157 .about h3 {
158         margin: 0 0 5px 35px;
159 }
160
161 .about img {
162         float: left;
163         margin-top: 5px;
164         opacity: 0.7;
165 }
166
167 #gallery {
168         margin: 45px 0 30px 0;
169         padding-right: 20px;
170         text-align: center;
171 }
172
173 .thumbnail {
174         margin-bottom: 20px;
175         background-color: rgba(0, 0, 0, 0.05);
176 }
177
178 .thumbnail img {
179         width: 100%;
180         -webkit-border-radius: 7px;
181         -moz-border-radius: 7px;
182         border-radius: 7px;
183 }
184
185 .thumbnail .caption {
186         color: inherit !important;
187 }
188
189 .thumbnail h3 {
190         margin-bottom: 0;
191 }
192
193 .thumbnail .btn-toolbar {
194         margin-top: 15px;
195         text-align: right;
196 }
197
198 .links {
199         margin-bottom: 20px;
200 }
201
202 .links > a {
203         margin-right: 10px;
204
205
206 div.one .bsa_it_ad {
207         padding: 25px 25px 15px 25px;
208 }
209
210 div.one .bsa_it_p {
211         display: none;
212 }
213
214 .bsa {
215         float: right;
216         max-width: 400px;
217         padding: 0;
218 }
219
220 body .one .bsa_it_ad {
221         margin-bottom: -10px;
222         background: none;
223         border: none;
224         font-family: inherit;
225         color: inherit;
226 }
227
228 body .one .bsa_it_ad .bsa_it_t,
229 body .one .bsa_it_ad .bsa_it_d {
230         color: inherit;
231         font-size: inherit;
232 }
233
234 body .one .bsa_it_p {
235         display: none;
236 }
237
238 .links {
239         margin-bottom: 20px;
240 }
241
242 .links > a {
243         margin-right: 10px;
244 }
245
246 @media (max-width: 480px) {
247
248         .hero-unit {
249                 padding: 20px 20px 0;
250                 margin: 0 0 20px;
251         }
252
253         .hero-unit h1 {
254                 font-size: 36px;
255         }
256
257         .hero-unit iframe {
258                 margin-right: 0 !important;
259         }
260
261         #social {
262                 margin-top: 0px;
263                 margin-bottom: 20px;
264         }
265
266         #social > span {
267                 display: block;
268         }
269
270         .about {
271                 margin-top: 0;
272         }
273
274         .about h3 {
275                 margin-top: 20px;
276         }
277
278         .about p {
279                 margin-bottom: 0;
280         }
281
282         .modal {
283                 position: fixed !important;
284                 top: 25% !important;
285         }
286 }
287
288 /* Landscape phone to portrait tablet */
289 @media (min-width: 481px) and (max-width: 767px) {
290
291         .hero-unit {
292                 margin-top: 0;
293                 padding: 30px;
294         }
295
296         .about {
297                 margin-top: 0;
298         }
299 }
300
301 @media (max-width: 767px) {
302
303         body {
304                 padding-top: 0;
305         }
306
307         .subnav {
308                 position: static;
309                 top: auto;
310                 z-index: auto;
311                 width: auto;
312                 height: auto;
313                 background: #fff; /* whole background property since we use a background-image for gradient */
314                 -webkit-box-shadow: none;
315                 -moz-box-shadow: none;
316                 box-shadow: none;
317         }
318
319         .subnav .nav > li {
320                 float: none;
321         }
322
323         .subnav .nav > li > a {
324                 border: 0;
325         }
326
327         .subnav .nav > li + li > a {
328                 border-top: 1px solid #e5e5e5;
329         }
330
331         .subnav .nav > li:first-child > a,
332         .subnav .nav > li:first-child > a:hover {
333                 -webkit-border-radius: 4px 4px 0 0;
334                 -moz-border-radius: 4px 4px 0 0;
335                 border-radius: 4px 4px 0 0;
336         }
337
338         .bsa {
339                 float: none;
340         }
341 }
342
343 /* Portrait tablet to landscape and desktop */
344 @media (min-width: 768px) and (max-width: 979px) {
345
346         .hero-unit {
347                 margin-top: 0;
348         }
349
350         .thumbnail p {
351                 font-size: 12px;
352         }
353
354         .thumbnail .btn {
355                 padding: 8px 12px;
356                 font-size: 12px;
357         }
358 }
359
360 /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
361 @media (min-width: 980px) {
362         .subnav-fixed {
363                 position: fixed;
364                 top: 40px;
365                 left: 0;
366                 right: 0;
367                 z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
368                 border-color: #d5d5d5;
369                 border-width: 0 0 1px; /* drop the border on the fixed edges */
370                 -webkit-border-radius: 0;
371                 -moz-border-radius: 0;
372                 border-radius: 0;
373                 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
374                 -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
375                 box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
376                 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
377         }
378         .subnav-fixed .nav {
379                 width: 938px;
380                 margin: 0 auto;
381                 padding: 0 1px;
382         }
383         .subnav .nav > li:first-child > a,
384         .subnav .nav > li:first-child > a:hover {
385                 -webkit-border-radius: 0;
386                 -moz-border-radius: 0;
387                 border-radius: 0;
388         }
389 }
390
391 @media (min-width: 768px) and (max-width: 979px) {
392
393         /* Remove any padding from the body */
394         body {
395                 padding-top: 0;
396         }
397 }
398
399 @media (min-width: 1210px) {
400
401         .subnav-fixed .nav {
402                 width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
403         }
404 }