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