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