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