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