index: move sponsor to own row
[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 #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 h3 {
146         text-align: center;
147         font-size: 20px;
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 0 35px;
164         text-align: left;
165 }
166
167 .about img {
168         float: left;
169         margin-top: 5px;
170         opacity: 0.7;
171 }
172
173 #gallery {
174         padding-right: 20px;
175 }
176
177 .thumbnail {
178         margin-bottom: 20px;
179         background-color: rgba(0, 0, 0, 0.05);
180 }
181
182 .thumbnail img {
183         width: 100%;
184         -webkit-border-radius: 7px;
185         -moz-border-radius: 7px;
186         border-radius: 7px;
187 }
188
189 .thumbnail .caption {
190         color: inherit !important;
191 }
192
193 .thumbnail h3 {
194         text-align: left;
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 .links {
244         margin-bottom: 20px;
245 }
246
247 .links > a {
248         margin-right: 10px;
249 }
250
251 @media (max-width: 480px) {
252
253         .hero-unit {
254                 padding: 20px 20px 0;
255                 margin: 0 0 20px;
256         }
257
258         .hero-unit h1 {
259                 font-size: 36px;
260         }
261
262         .hero-unit iframe {
263                 margin-right: 0 !important;
264         }
265
266         #social {
267                 margin-top: 0px;
268                 margin-bottom: 20px;
269         }
270
271         #social > span {
272                 display: block;
273         }
274
275         .about {
276                 margin-top: 0;
277         }
278
279         .about h3 {
280                 margin-top: 20px;
281         }
282
283         .about p {
284                 margin-bottom: 0;
285         }
286
287         .modal {
288                 position: fixed !important;
289                 top: 25% !important;
290         }
291 }
292
293 /* Landscape phone to portrait tablet */
294 @media (min-width: 481px) and (max-width: 767px) {
295
296         .hero-unit {
297                 margin-top: 0;
298                 padding: 30px;
299         }
300
301         .about {
302                 margin-top: 0;
303         }
304 }
305
306 @media (max-width: 767px) {
307
308         body {
309                 padding-top: 0;
310         }
311
312         .subnav {
313                 position: static;
314                 top: auto;
315                 z-index: auto;
316                 width: auto;
317                 height: auto;
318                 background: #fff; /* whole background property since we use a background-image for gradient */
319                 -webkit-box-shadow: none;
320                 -moz-box-shadow: none;
321                 box-shadow: none;
322         }
323
324         .subnav .nav > li {
325                 float: none;
326         }
327
328         .subnav .nav > li > a {
329                 border: 0;
330         }
331
332         .subnav .nav > li + li > a {
333                 border-top: 1px solid #e5e5e5;
334         }
335
336         .subnav .nav > li:first-child > a,
337         .subnav .nav > li:first-child > a:hover {
338                 -webkit-border-radius: 4px 4px 0 0;
339                 -moz-border-radius: 4px 4px 0 0;
340                 border-radius: 4px 4px 0 0;
341         }
342
343         .bsa {
344                 float: none;
345         }
346 }
347
348 /* Portrait tablet to landscape and desktop */
349 @media (min-width: 768px) and (max-width: 979px) {
350
351         .hero-unit {
352                 margin-top: 0;
353         }
354
355         .thumbnail p {
356                 font-size: 12px;
357         }
358
359         .thumbnail .btn {
360                 padding: 8px 12px;
361                 font-size: 12px;
362         }
363 }
364
365 /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
366 @media (min-width: 980px) {
367         .subnav-fixed {
368                 position: fixed;
369                 top: 40px;
370                 left: 0;
371                 right: 0;
372                 z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
373                 border-color: #d5d5d5;
374                 border-width: 0 0 1px; /* drop the border on the fixed edges */
375                 -webkit-border-radius: 0;
376                 -moz-border-radius: 0;
377                 border-radius: 0;
378                 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
379                 -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
380                 box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
381                 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
382         }
383         .subnav-fixed .nav {
384                 width: 938px;
385                 margin: 0 auto;
386                 padding: 0 1px;
387         }
388         .subnav .nav > li:first-child > a,
389         .subnav .nav > li:first-child > a:hover {
390                 -webkit-border-radius: 0;
391                 -moz-border-radius: 0;
392                 border-radius: 0;
393         }
394 }
395
396 @media (min-width: 768px) and (max-width: 979px) {
397
398         /* Remove any padding from the body */
399         body {
400                 padding-top: 0;
401         }
402 }
403
404 @media (min-width: 1210px) {
405
406         .subnav-fixed .nav {
407                 width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
408         }
409 }