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