52ebedea270160cd2b3dafa61c47a44a88325939
[bootswatch] / css / 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
118 #gh-star {
119         margin-right: -15px;
120 }
121
122 #gh-fork {
123         margin-right: 25px;
124 }
125
126 .twitter-follow-button {
127         width: 60px !important;
128 }
129
130 .twitter-share-button  {
131         margin-right: 15px;
132 }
133
134 .rss-button {
135         width: 40px;
136         height: 14px;
137         font-size: 11px;
138         line-height: 14px;
139         font-weight: bold;
140         margin: 0 0 10px;
141         padding: 2px 5px 2px 4px;
142 }
143
144 .icon-rss {
145         background: url(../img/rss-icons.png) no-repeat 0 0;
146         opacity: .65;
147         width: 16px;
148 }
149
150 #ticker {
151         margin-bottom: 40px;
152 }
153
154 .about {
155         margin-top: 20px;
156 }
157
158 .about > div {
159         margin-bottom: 20px;
160 }
161
162 .about h3 {
163         margin: 0 0 5px 35px;
164 }
165
166 .about img {
167         float: left;
168         margin-top: 5px;
169         opacity: 0.7;
170 }
171
172 #gallery {
173         margin: 45px 0 30px 0;
174         padding-right: 20px;
175         text-align: center;
176 }
177
178 .thumbnail {
179         margin-bottom: 20px;
180         background-color: rgba(0, 0, 0, 0.05);
181 }
182
183 .thumbnail img {
184         width: 100%;
185         -webkit-border-radius: 7px;
186         -moz-border-radius: 7px;
187         border-radius: 7px;
188 }
189
190 .thumbnail .caption {
191         color: inherit !important;
192 }
193
194 .thumbnail h3 {
195         margin-bottom: 0;
196 }
197
198 .thumbnail .btn-toolbar {
199         margin-top: 15px;
200         text-align: right;
201 }
202
203 .links {
204         margin-bottom: 20px;
205 }
206
207 .links > a {
208         margin-right: 10px;
209
210
211 div.one .bsa_it_ad {
212         padding: 25px 25px 15px 25px;
213 }
214
215 div.one .bsa_it_p {
216         display: none;
217 }
218
219 .bsa {
220         float: right;
221         max-width: 400px;
222         padding: 0;
223 }
224
225 body .one .bsa_it_ad {
226         margin-bottom: -10px;
227         background: none;
228         border: none;
229         font-family: inherit;
230         color: inherit;
231 }
232
233 body .one .bsa_it_ad .bsa_it_t,
234 body .one .bsa_it_ad .bsa_it_d {
235         color: inherit;
236         font-size: inherit;
237 }
238
239 body .one .bsa_it_p {
240         display: none;
241 }
242
243 #bsap_aplink {
244         float: right;
245         position: relative;
246         right: 10px;
247         height: 0;
248         font-size: 11px;
249 }
250
251 .links {
252         margin-bottom: 20px;
253 }
254
255 .links > a {
256         margin-right: 10px;
257 }
258
259 @media (max-width: 480px) {
260
261         .hero-unit {
262                 padding: 20px 20px 0;
263                 margin: 0 0 20px;
264         }
265
266         .hero-unit h1 {
267                 font-size: 36px;
268         }
269
270         .hero-unit iframe {
271                 margin-right: 0 !important;
272         }
273
274         #social {
275                 margin-top: 0px;
276                 margin-bottom: 20px;
277         }
278
279         #social > span {
280                 display: block;
281         }
282
283         .about {
284                 margin-top: 0;
285         }
286
287         .about h3 {
288                 margin-top: 20px;
289         }
290
291         .about p {
292                 margin-bottom: 0;
293         }
294
295         .modal {
296                 position: fixed !important;
297                 top: 25% !important;
298         }
299 }
300
301 /* Landscape phone to portrait tablet */
302 @media (min-width: 481px) and (max-width: 767px) {
303
304         .hero-unit {
305                 margin-top: 0;
306                 padding: 30px;
307         }
308
309         .about {
310                 margin-top: 0;
311         }
312 }
313
314 @media (max-width: 767px) {
315
316         body {
317                 padding-top: 0;
318         }
319
320         .subnav {
321                 position: static;
322                 top: auto;
323                 z-index: auto;
324                 width: auto;
325                 height: auto;
326                 background: #fff; /* whole background property since we use a background-image for gradient */
327                 -webkit-box-shadow: none;
328                 -moz-box-shadow: none;
329                 box-shadow: none;
330         }
331
332         .subnav .nav > li {
333                 float: none;
334         }
335
336         .subnav .nav > li > a {
337                 border: 0;
338         }
339
340         .subnav .nav > li + li > a {
341                 border-top: 1px solid #e5e5e5;
342         }
343
344         .subnav .nav > li:first-child > a,
345         .subnav .nav > li:first-child > a:hover {
346                 -webkit-border-radius: 4px 4px 0 0;
347                 -moz-border-radius: 4px 4px 0 0;
348                 border-radius: 4px 4px 0 0;
349         }
350
351         .bsa {
352                 float: none;
353         }
354 }
355
356 /* Portrait tablet to landscape and desktop */
357 @media (min-width: 768px) and (max-width: 979px) {
358
359         .hero-unit {
360                 margin-top: 0;
361         }
362
363         .thumbnail p {
364                 font-size: 12px;
365         }
366
367         .thumbnail .btn {
368                 padding: 8px 12px;
369                 font-size: 12px;
370         }
371 }
372
373 /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
374 @media (min-width: 980px) {
375         .subnav-fixed {
376                 position: fixed;
377                 top: 40px;
378                 left: 0;
379                 right: 0;
380                 z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
381                 border-color: #d5d5d5;
382                 border-width: 0 0 1px; /* drop the border on the fixed edges */
383                 -webkit-border-radius: 0;
384                 -moz-border-radius: 0;
385                 border-radius: 0;
386                 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
387                 -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
388                 box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
389                 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
390         }
391         .subnav-fixed .nav {
392                 width: 938px;
393                 margin: 0 auto;
394                 padding: 0 1px;
395         }
396         .subnav .nav > li:first-child > a,
397         .subnav .nav > li:first-child > a:hover {
398                 -webkit-border-radius: 0;
399                 -moz-border-radius: 0;
400                 border-radius: 0;
401         }
402 }
403
404 @media (min-width: 768px) and (max-width: 979px) {
405
406         /* Remove any padding from the body */
407         body {
408                 padding-top: 0;
409         }
410 }
411
412 @media (min-width: 1210px) {
413
414         .subnav-fixed .nav {
415                 width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
416         }
417 }