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