4 * Copyright 2011 Twitter, Inc
5 * Licensed under the Apache License v2.0
6 * http://www.apache.org/licenses/LICENSE-2.0
8 * Designed and built with all the love in the world @twitter by @mdo and @fat.
12 * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
13 * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
76 border-collapse: collapse;
91 -webkit-text-size-adjust: 100%;
92 -ms-text-size-adjust: 100%;
112 audio, canvas, video {
113 display: inline-block;
117 audio:not([controls]) {
124 vertical-align: baseline;
134 -ms-interpolation-mode: bicubic;
142 vertical-align: baseline;
143 *vertical-align: middle;
149 button::-moz-focus-inner, input::-moz-focus-inner {
154 input[type="button"],
156 input[type="submit"] {
158 -webkit-appearance: button;
160 input[type="search"] {
161 -webkit-appearance: textfield;
162 -webkit-box-sizing: content-box;
163 -moz-box-sizing: content-box;
164 box-sizing: content-box;
166 input[type="search"]::-webkit-search-decoration {
167 -webkit-appearance: none;
174 * Variables to customize the look and feel of Bootstrap
175 * ----------------------------------------------------- */
177 * Snippets of reusable CSS to develop faster and keep code readable
178 * ----------------------------------------------------------------- */
183 .makeRow:before, .makeRow:after {
192 font-family: 'Antic', sans-serif;
197 font-family: 'Antic', sans-serif;
202 background-color: #3582ac;
209 background-color: #f89a1c;
212 text-decoration: none;
224 .buttons-list .button {
227 .buttons-list.fixpos {
231 text-align: center !important;
232 color: #fff !important;
233 border: none !important;
234 display: block !important;
237 color: #fff !important;
239 /*addon to style django forms rendered with as_p filter*/
242 * Tables for, you guessed it, tabular data
243 * ---------------------------------------- */
249 border-collapse: collapse;
252 padding: 10px 10px 9px;
259 vertical-align: middle;
263 border-top: 1px solid #ddd;
266 border-top: 1px solid #ddd;
269 .condensed-table th, .condensed-table td {
270 padding: 5px 5px 4px;
273 border: 1px solid #ddd;
274 border-collapse: separate;
275 *border-collapse: collapse;
276 /* IE7, collapse table to remove spacing */
278 -webkit-border-radius: 4px;
279 -moz-border-radius: 4px;
282 .bordered-table th + th, .bordered-table td + td, .bordered-table th + td {
283 border-left: 1px solid #ddd;
285 .bordered-table thead tr:first-child th:first-child, .bordered-table tbody tr:first-child td:first-child {
286 -webkit-border-radius: 4px 0 0 0;
287 -moz-border-radius: 4px 0 0 0;
288 border-radius: 4px 0 0 0;
290 .bordered-table thead tr:first-child th:last-child, .bordered-table tbody tr:first-child td:last-child {
291 -webkit-border-radius: 0 4px 0 0;
292 -moz-border-radius: 0 4px 0 0;
293 border-radius: 0 4px 0 0;
295 .bordered-table tbody tr:last-child td:first-child {
296 -webkit-border-radius: 0 0 0 4px;
297 -moz-border-radius: 0 0 0 4px;
298 border-radius: 0 0 0 4px;
300 .bordered-table tbody tr:last-child td:last-child {
301 -webkit-border-radius: 0 0 4px 0;
302 -moz-border-radius: 0 0 4px 0;
303 border-radius: 0 0 4px 0;
353 .zebra-striped tbody tr:nth-child(odd) td, .zebra-striped tbody tr:nth-child(odd) th {
354 background-color: #f9f9f9;
356 .zebra-striped tbody tr:hover td, .zebra-striped tbody tr:hover th {
357 background-color: #f5f5f5;
362 table .header:after {
366 border-width: 0 4px 4px;
368 border-color: #000 transparent;
371 table .headerSortUp, table .headerSortDown {
372 background-color: rgba(141, 192, 219, 0.25);
373 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
375 table .header:hover:after {
378 table .headerSortDown:after, table .headerSortDown:hover:after {
380 filter: alpha(opacity=60);
385 table .headerSortUp:after {
387 border-left: 4px solid transparent;
388 border-right: 4px solid transparent;
389 border-top: 4px solid #000;
391 -webkit-box-shadow: none;
392 -moz-box-shadow: none;
394 filter: alpha(opacity=60);
401 border-bottom-color: #3582ac;
403 table .headerSortUp.blue, table .headerSortDown.blue {
404 background-color: #c1ddec;
408 border-bottom-color: #46a546;
410 table .headerSortUp.green, table .headerSortDown.green {
411 background-color: #cdeacd;
415 border-bottom-color: #9d261d;
417 table .headerSortUp.red, table .headerSortDown.red {
418 background-color: #f4c8c5;
422 border-bottom-color: #ffc40d;
424 table .headerSortUp.yellow, table .headerSortDown.yellow {
425 background-color: #fff6d9;
429 border-bottom-color: #f89406;
431 table .headerSortUp.orange, table .headerSortDown.orange {
432 background-color: #fee9cc;
436 border-bottom-color: #7a43b6;
438 table .headerSortUp.purple, table .headerSortDown.purple {
439 background-color: #e2d5f0;
445 .makeRow:before, .makeRow:after {
454 font-family: 'Antic', sans-serif;
459 font-family: 'Antic', sans-serif;
464 background-color: #3582ac;
471 background-color: #f89a1c;
474 text-decoration: none;
486 .buttons-list .button {
489 .buttons-list.fixpos {
493 text-align: center !important;
494 color: #fff !important;
495 border: none !important;
496 display: block !important;
499 color: #fff !important;
503 The following CSS is consistent between example themes and should not be altered.
505 #colorbox, #cboxOverlay, #cboxWrapper {
517 #cboxMiddleLeft, #cboxBottomLeft {
529 #cboxLoadingOverlay, #cboxLoadingGraphic {
556 Change the following styles to modify the appearance of ColorBox. They are
557 ordered & tabbed in a way that represents the nesting of the generated HTML.
570 border: 1px solid #ccc;
573 border: 5px solid #000;
599 background: url(../images/colorbox/controls.png) no-repeat top left;
602 text-indent: -9999px;
604 #cboxPrevious:hover {
605 background-position: bottom left;
612 background: url(../images/colorbox/controls.png) no-repeat top right;
615 text-indent: -9999px;
618 background-position: bottom right;
620 #cboxLoadingOverlay {
623 #cboxLoadingGraphic {
624 background: url(../images/colorbox/loading.gif) no-repeat center center;
631 background: url(../images/colorbox/controls.png) no-repeat top center;
634 text-indent: -9999px;
637 background-position: bottom center;
639 .resources .categories .clear {
644 .resources .categories ul {
647 .resources .categories ul:before, .resources .categories ul:after {
652 .resources .categories ul:after {
655 .resources .categories ul li {
658 .resources .categories .title {
659 margin-bottom: 7.333333333333333px;
661 .resources .categories ul li a {
662 text-decoration: none;
666 .resources .categories ul li a:hover, .resources .categories ul li a.selected {
667 color: #000 !important;
669 .resources .categories ul li.inactive {
672 .resources .categories ul li.active {
679 margin-top: 58.666666666666664px;
682 .resources .list .resource-wrapper.first .resource {
685 .resources .list .resource-wrapper {
693 height: 249.33333333333331px;
695 .resources .list .resource-wrapper.first {
698 .resources .list .resource-wrapper.hidden {
701 .resources .list .resource {
702 border: 1px solid #000;
703 -moz-box-sizing: border-box;
704 -webkit-box-sizing: border-box;
705 box-sizing: border-box;
706 *behavior: url(boxsizing.htc);
707 padding: 29.333333333333332px;
708 height: 249.33333333333331px;
711 .resources .list .resource .date {
715 .resources .list .resource .description {
719 -webkit-transition: top 0.35s ease-in-out;
720 -moz-transition: top 0.35s ease-in-out;
721 transition: top 0.35s ease-in-out;
722 -webkit-transition: top 0.35s ease-in-out;
723 -moz-transition: top 0.35s ease-in-out;
724 transition: top 0.35s ease-in-out;
727 margin-left: -29.333333333333332px;
728 padding: 29.333333333333332px;
729 -moz-box-sizing: border-box;
730 -webkit-box-sizing: border-box;
731 box-sizing: border-box;
732 *behavior: url(boxsizing.htc);
735 .resources .list .resource .title {
738 .resources .list .resource .category {
739 margin-top: 29.333333333333332px;
742 .resources .list .resource .category a {
745 .resources .list .resource .download {
753 -moz-box-sizing: border-box;
754 -webkit-box-sizing: border-box;
755 box-sizing: border-box;
756 *behavior: url(boxsizing.htc);
759 .resources .list .resource .download a {
762 text-decoration: none;
764 padding-left: 14.666666666666666px;
766 .resources .list .resource .download a:hover, .resources .list .resource .download a .hovered {
769 .resources .list .resource .download a:hover .download-image, .resources .list .resource .download a .hovered .download-image {
770 background-image: url("../images/resource_down_arrow-active.png");
772 .resources .list .resource .download a .download-image {
779 background-image: url("../images/resource_down_arrow.png");
780 background-position: 50% 50%;
781 background-repeat: no-repeat;
783 .resources .list .resource .download img {
785 vertical-align: middle;
787 .resources .list .resource:hover .description, .resources .list .resource .hover .description {
792 -moz-box-sizing: border-box;
793 -webkit-box-sizing: border-box;
794 box-sizing: border-box;
795 *behavior: url(boxsizing.htc);
800 .clearme:before, .clearme:after {
809 font-family: 'Antic', sans-serif;
814 font-family: 'Antic', sans-serif;
822 background-color: #cfcdc7;
826 padding: 2.333333333333333px;
832 .topbar .links:before, .topbar .links:after {
837 .topbar .links:after {
842 text-decoration: none;
846 padding: 8.333333333333332px;
848 .topbar .links a:hover {
849 background-color: #1a1a1a;
859 text-decoration: none;
860 border-bottom: 1px solid #f89a1c;
866 .styledlinks a:hover,
874 .styledlinks a.noborder,
897 border-right: 1px solid #808080;
898 border-left: 1px solid #808080;
901 display: none !important;
903 .container, .topbar, .footer {
908 border-right: 1px solid #808080;
909 border-left: 1px solid #808080;
922 .container:after, .topbar:after, .footer:after {
926 padding-bottom: 82px;
927 background-color: #ffffff;
931 margin-top: 36.666666666666664px;
932 margin-bottom: 14.666666666666666px;
938 border-bottom: 1px solid #cfcdc7;
951 border-bottom: 1px solid #808080;
952 border-top: 1px solid #a6a6a6;
953 padding-top: 14.666666666666666px;
954 padding-bottom: 14.666666666666666px;
959 ul.inline:before, ul.inline:after {
975 top: -38.13333333333333px;
978 .mainnav.quicknav li {
992 margin-bottom: -14.666666666666666px;
995 margin-top: 5.866666666666667px;
999 margin-top: 29.333333333333332px;
1001 .mainnav li.active a {
1002 /*border-bottom: 1px solid @linkColor;*/
1004 border-bottom: none;
1009 text-decoration: none;
1012 border-bottom: 1px solid #f89a1c;
1014 .mainnav a.active, .mainnav a:active {
1015 border-bottom: 1px solid #f89a1c;
1021 .bottom-section:before, .bottom-section:after {
1026 .bottom-section:after {
1029 .bottom-section .section img {
1035 .top-section:before, .top-section:after {
1040 .top-section:after {
1048 margin-top: 73.33333333333333px;
1051 div.page:before, div.page:after {
1059 div.page:before, div.page:after {
1067 div.page .page-inner {
1094 .maincol.full:before, .maincol.full:after {
1099 .maincol.full:after {
1102 .maincol.full:before, .maincol.full:after {
1107 .maincol.full:after {
1110 .maincol .nextlink {
1117 .maincol .content-bottom {
1121 .maincol .content-bottom:before, .maincol .content-bottom:after {
1126 .maincol .content-bottom:after {
1134 background-color: #3582ac;
1144 .rightcol input[type=text], .rightcol input[type=password] {
1147 /* generic form styles */
1148 input, textarea, .form-widget {
1149 background-color: #ffffff;
1151 border-color: #000000;
1153 #forms .input, #forms input {
1154 font-family: 'Antic', sans-serif;
1156 font-weight: normal;
1158 letter-spacing: 1px;
1159 font-family: 'Antic', sans-serif;
1161 font-weight: normal;
1163 letter-spacing: 1px;
1164 border: 1px solid #808080;
1166 display: inline-block;
1167 margin-bottom: -1px;
1169 padding-left: 1.5em;
1172 #forms .input:focus, #forms input:focus {
1174 border: 1px solid #000;
1177 #forms .input:focus label, #forms input:focus label {
1181 background-color: #c3c3b9 !important;
1184 background-color: #f89a1c !important;
1187 margin-bottom: 44px;
1192 .section.positioned {
1195 .section.positioned .content {
1201 .section.positioned.withimg .img {
1207 .section.positioned.withimg img {
1210 .section.positioned h3 {
1212 margin-bottom: 14.666666666666666px;
1214 .section.positioned .text {
1217 .section .left, .section .right {
1221 .section.imagelist {
1225 .section.imagelist:before, .section.imagelist:after {
1230 .section.imagelist:after {
1233 .section.imagelist img {
1236 vertical-align: middle;
1238 input[readonly=true] {
1239 background-color: #ddd;
1242 form.withlabels label {
1248 form.withlabels input[type=text], form.withlabels input[type=password], form.withlabels textarea {
1251 form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long {
1254 .login-section a.button {
1255 margin-bottom: 12px;
1257 .login-section a.button:last-child {
1258 margin-bottom: none;
1260 .login-section a.button.withicon {
1261 background-repeat: no-repeat;
1262 background-position: 15px 50%;
1265 .login-section.loggedin {
1266 padding-bottom: 0 !important;
1267 background-image: none !important;
1270 margin-bottom: 22px;
1274 margin-bottom: 14.666666666666666px;
1278 padding-bottom: 3px;
1281 min-height: 29.333333333333332px;
1284 form .form-row.submit {
1287 form .form-row .extra-link {
1289 text-decoration: none;
1295 form .form-row label {
1298 form.innerlabels label {
1304 form.innerlabels p {
1309 form input[type="text"],
1310 form input[type="password"] {
1311 font-family: 'Antic', sans-serif;
1313 font-weight: normal;
1315 letter-spacing: 1px;
1316 font-family: 'Antic', sans-serif;
1318 font-weight: normal;
1320 letter-spacing: 1px;
1321 border: 1px solid #808080;
1323 display: inline-block;
1324 margin-bottom: -1px;
1326 padding-left: 1.5em;
1329 form textarea:focus,
1330 form input.text:focus,
1331 form input[type="text"]:focus,
1332 form input[type="password"]:focus {
1334 border: 1px solid #000;
1337 form textarea:focus label,
1338 form input.text:focus label,
1339 form input[type="text"]:focus label,
1340 form input[type="password"]:focus label {
1343 form input.submit, form input[type="submit"] {
1344 font-family: 'Antic', sans-serif;
1346 font-weight: normal;
1348 letter-spacing: 1px;
1349 font-family: 'Antic', sans-serif;
1351 font-weight: normal;
1353 letter-spacing: 1px;
1354 background-color: #3582ac;
1357 padding: 0.8em 22px;
1359 font-family: 'Antic', sans-serif;
1361 font-weight: normal;
1363 letter-spacing: 1px;
1364 font-family: 'Antic', sans-serif;
1366 font-weight: normal;
1368 letter-spacing: 1px;
1369 background-color: #3582ac;
1372 padding: 0.8em 22px;
1375 form input.submit:hover, form input[type="submit"]:hover {
1376 background-color: #f89a1c;
1378 form input.submit.back, form input[type="submit"].back {
1379 text-decoration: none;
1384 form input.submit.back.right, form input[type="submit"].back.right {
1387 form input.submit:hover, form input[type="submit"]:hover {
1388 background-color: #f89a1c;
1390 form input.submit.back, form input[type="submit"].back {
1391 text-decoration: none;
1396 form input.submit.back.right, form input[type="submit"].back.right {
1401 width: 350px !important;
1403 form .with-errors input, form .with-errors textarea, form .with-errors select {
1406 form .with-errors label {
1410 background-color: #9d261d;
1415 .form-errors.all .form-error {
1418 margin-bottom: 1.3em;
1424 .rightcol .section {
1425 background-image: url("../images/dashed_border.png");
1426 background-repeat: repeat-x;
1427 background-position: left bottom;
1428 padding-bottom: 29.333333333333332px;
1429 margin-bottom: 29.333333333333332px;
1434 margin-bottom: 22px;
1444 margin-bottom: 22px;
1449 .section .section-img {
1450 margin-bottom: 14.666666666666666px;
1458 background-color: #ddd;
1465 .messages li.success {
1466 background-color: #46a546;
1469 .messages li.error {
1470 background-color: #9d261d;
1473 .messages li.warning {
1474 background-color: #AF6906;
1477 .messages .warning {
1478 color: #ffffff !important;
1480 .messages .warning a {
1490 table tr.consumed td.consumed {
1499 .row:before, .row:after {
1507 .row:before, .row:after {
1518 -webkit-transition: color 0.15s ease-in-out;
1519 -moz-transition: color 0.15s ease-in-out;
1520 transition: color 0.15s ease-in-out;
1521 -webkit-transition: color 0.15s ease-in-out;
1522 -moz-transition: color 0.15s ease-in-out;
1523 transition: color 0.15s ease-in-out;
1525 .footer:before, .footer:after {
1534 -webkit-transition: color 0.15s ease-in-out;
1535 -moz-transition: color 0.15s ease-in-out;
1536 transition: color 0.15s ease-in-out;
1537 -webkit-transition: color 0.15s ease-in-out;
1538 -moz-transition: color 0.15s ease-in-out;
1539 transition: color 0.15s ease-in-out;
1542 color: #808080 !important;
1545 color: #808080 !important;
1549 text-decoration: none;
1552 color: #000 !important;
1555 margin-bottom: 7.333333333333333px;
1558 margin-bottom: 14.666666666666666px;
1566 .footer .col:last-child, .footer .col.last {
1570 .footer .top.row, .footer .last.row {
1577 .footer .top.row:before,
1578 .footer .last.row:before,
1579 .footer .top.row:after,
1580 .footer .last.row:after {
1585 .footer .top.row:after, .footer .last.row:after {
1588 .footer .top.row:before,
1589 .footer .last.row:before,
1590 .footer .top.row:after,
1591 .footer .last.row:after {
1596 .footer .top.row:after, .footer .last.row:after {
1599 .footer .top.row .col, .footer .last.row .col {
1605 .footer .top.row .col.first, .footer .last.row .col.first {
1606 margin-left: 0 !important;
1608 .footer .top.row .col.last, .footer .last.row .col.last {
1622 .footer .bottom.row .col {
1628 .footer .bottom.row .col:last-child, .footer .bottom.row .col.last {
1633 .pagination a.page {
1634 display: inline !important;
1638 margin-bottom: 44px;
1640 margin-bottom: 29.333333333333332px;
1645 .blog-entry.positioned {
1648 .blog-entry.positioned .content {
1654 .blog-entry.positioned.withimg .img {
1660 .blog-entry.positioned.withimg img {
1663 .blog-entry.positioned h3 {
1665 margin-bottom: 14.666666666666666px;
1667 .blog-entry.positioned .text {
1670 .blog-entry .left, .blog-entry .right {
1674 .blog-entry.imagelist {
1678 .blog-entry.imagelist:before, .blog-entry.imagelist:after {
1683 .blog-entry.imagelist:after {
1686 .blog-entry.imagelist img {
1689 vertical-align: middle;
1694 margin-bottom: 22px;
1704 margin-bottom: 22px;
1709 .blog-entry .section-img {
1710 margin-bottom: 14.666666666666666px;
1712 .blog-entry:before, .blog-entry:after {
1720 .blog-entry .title {
1725 .blog-entry .media img {
1726 border: 1px solid #808080;
1728 .blog-entry .intro-content, .blog-entry .content {
1729 margin-top: 14.666666666666666px;
1731 .blog-entry .intro-content object, .blog-entry .content object {
1732 margin: 14.666666666666666px 0;
1734 .blog-entry .entry-info {
1736 margin-top: 14.666666666666666px;
1738 .blog-entry.single .entry-info {
1740 margin-bottom: 14.666666666666666px;
1742 .section.twitter-feed {
1745 .section.twitter-feed .tweet {
1748 margin-bottom: 14.666666666666666px;
1751 .section.twitter-feed .tweet:last-child {
1754 border-bottom: none;
1756 .section.twitter-feed .tweet .date {
1760 .section.twitter-feed .tweet .date a {
1761 text-decoration: none !important;
1767 .entry-list .since {
1770 .entry-list .title {
1773 .entry-list .content, .entry-list .text {
1781 #recaptcha_widget_div {
1785 #recaptcha_widget_div #recaptcha_instructions_image {
1787 margin-bottom: 10px;
1788 display: block !important;
1790 #recaptcha_widget_div th, #recaptcha_widget_div td {
1793 .checkbox-widget.checked {
1794 background-color: #f00;
1795 background-image: url("../images/checkbox.png");
1796 background-position: 50% 50%;
1799 border: 1px solid #808080;
1805 margin-top: 5.333333333333333px;