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-align: center !important;
213 color: #fff !important;
214 border: none !important;
215 display: block !important;
218 color: #fff !important;
220 /*addon to style django forms rendered with as_p filter*/
223 * Tables for, you guessed it, tabular data
224 * ---------------------------------------- */
230 border-collapse: collapse;
233 padding: 10px 10px 9px;
240 vertical-align: middle;
244 border-top: 1px solid #ddd;
247 border-top: 1px solid #ddd;
250 .condensed-table th, .condensed-table td {
251 padding: 5px 5px 4px;
254 border: 1px solid #ddd;
255 border-collapse: separate;
256 *border-collapse: collapse;
257 /* IE7, collapse table to remove spacing */
259 -webkit-border-radius: 4px;
260 -moz-border-radius: 4px;
263 .bordered-table th + th, .bordered-table td + td, .bordered-table th + td {
264 border-left: 1px solid #ddd;
266 .bordered-table thead tr:first-child th:first-child, .bordered-table tbody tr:first-child td:first-child {
267 -webkit-border-radius: 4px 0 0 0;
268 -moz-border-radius: 4px 0 0 0;
269 border-radius: 4px 0 0 0;
271 .bordered-table thead tr:first-child th:last-child, .bordered-table tbody tr:first-child td:last-child {
272 -webkit-border-radius: 0 4px 0 0;
273 -moz-border-radius: 0 4px 0 0;
274 border-radius: 0 4px 0 0;
276 .bordered-table tbody tr:last-child td:first-child {
277 -webkit-border-radius: 0 0 0 4px;
278 -moz-border-radius: 0 0 0 4px;
279 border-radius: 0 0 0 4px;
281 .bordered-table tbody tr:last-child td:last-child {
282 -webkit-border-radius: 0 0 4px 0;
283 -moz-border-radius: 0 0 4px 0;
284 border-radius: 0 0 4px 0;
334 .zebra-striped tbody tr:nth-child(odd) td, .zebra-striped tbody tr:nth-child(odd) th {
335 background-color: #f9f9f9;
337 .zebra-striped tbody tr:hover td, .zebra-striped tbody tr:hover th {
338 background-color: #f5f5f5;
343 table .header:after {
347 border-width: 0 4px 4px;
349 border-color: #000 transparent;
352 table .headerSortUp, table .headerSortDown {
353 background-color: rgba(141, 192, 219, 0.25);
354 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
356 table .header:hover:after {
359 table .headerSortDown:after, table .headerSortDown:hover:after {
361 filter: alpha(opacity=60);
366 table .headerSortUp:after {
368 border-left: 4px solid transparent;
369 border-right: 4px solid transparent;
370 border-top: 4px solid #000;
372 -webkit-box-shadow: none;
373 -moz-box-shadow: none;
375 filter: alpha(opacity=60);
382 border-bottom-color: #3582ac;
384 table .headerSortUp.blue, table .headerSortDown.blue {
385 background-color: #c1ddec;
389 border-bottom-color: #46a546;
391 table .headerSortUp.green, table .headerSortDown.green {
392 background-color: #cdeacd;
396 border-bottom-color: #9d261d;
398 table .headerSortUp.red, table .headerSortDown.red {
399 background-color: #f4c8c5;
403 border-bottom-color: #ffc40d;
405 table .headerSortUp.yellow, table .headerSortDown.yellow {
406 background-color: #fff6d9;
410 border-bottom-color: #f89406;
412 table .headerSortUp.orange, table .headerSortDown.orange {
413 background-color: #fee9cc;
417 border-bottom-color: #7a43b6;
419 table .headerSortUp.purple, table .headerSortDown.purple {
420 background-color: #e2d5f0;
426 .makeRow:before, .makeRow:after {
435 font-family: 'Antic', sans-serif;
440 font-family: 'Antic', sans-serif;
445 background-color: #3582ac;
452 background-color: #f89a1c;
455 text-align: center !important;
456 color: #fff !important;
457 border: none !important;
458 display: block !important;
461 color: #fff !important;
464 -moz-box-sizing: border-box;
465 -webkit-box-sizing: border-box;
466 box-sizing: border-box;
467 *behavior: url(boxsizing.htc);
470 font-family: 'Antic', sans-serif;
475 font-family: 'Antic', sans-serif;
482 background-color: #cfcdc7;
492 .topbar .links:before, .topbar .links:after {
497 .topbar .links:after {
502 text-decoration: none;
508 .topbar .links a:hover {
509 background-color: #1a1a1a;
518 text-decoration: none;
519 border-bottom: 1px solid #f89a1c;
525 .styledlinks a:hover {
532 .styledlinks a.noborder {
553 border-right: 1px solid #808080;
554 border-left: 1px solid #808080;
557 display: none !important;
559 .container, .topbar, .footer {
564 border-right: 1px solid #808080;
565 border-left: 1px solid #808080;
578 .container:after, .topbar:after, .footer:after {
582 padding-bottom: 82px;
583 background-color: #ffffff;
594 border-bottom: 1px solid #cfcdc7;
607 border-bottom: 1px solid #808080;
608 border-top: 1px solid #a6a6a6;
610 padding-bottom: 22px;
615 ul.inline:before, ul.inline:after {
634 .mainnav.quicknav li {
645 margin-bottom: -22px;
653 .mainnav li.active a {
654 /*border-bottom: 1px solid @linkColor;*/
661 text-decoration: none;
664 border-bottom: 1px solid #f89a1c;
666 .mainnav a.active, .mainnav a:active {
667 border-bottom: 1px solid #f89a1c;
673 .bottom-section:before, .bottom-section:after {
678 .bottom-section:after {
681 .bottom-section .section img {
687 .top-section:before, .top-section:after {
703 div.page:before, div.page:after {
711 div.page:before, div.page:after {
719 div.page .page-inner {
745 .maincol.full:before, .maincol.full:after {
750 .maincol.full:after {
753 .maincol.full:before, .maincol.full:after {
758 .maincol.full:after {
763 background-color: #3582ac;
773 .rightcol input[type=text], .rightcol input[type=password] {
776 /* generic form styles */
777 input, textarea, .form-widget {
778 background-color: #ffffff;
780 border-color: #000000;
782 #forms .input, #forms input {
783 font-family: 'Antic', sans-serif;
788 font-family: 'Antic', sans-serif;
793 border: 1px solid #808080;
795 display: inline-block;
801 #forms .input:focus, #forms input:focus {
803 border: 1px solid #000;
806 #forms .input:focus label, #forms input:focus label {
810 background-color: #c3c3b9 !important;
813 background-color: #f89a1c !important;
821 .section.positioned {
824 .section.positioned .content {
830 .section.positioned.withimg .img {
836 .section.positioned.withimg img {
839 .section.positioned h3 {
843 .section.positioned .text {
846 .section .left, .section .right {
854 .section.imagelist:before, .section.imagelist:after {
859 .section.imagelist:after {
862 .section.imagelist img {
865 vertical-align: middle;
867 input[readonly=true] {
868 background-color: #ddd;
871 form.withlabels label {
877 form.withlabels input[type=text], form.withlabels input[type=password], form.withlabels textarea {
880 form.withlabels input[type=text].long, form.withlabels input[type=password].long, form.withlabels textarea.long {
883 .login-section a.button {
886 .login-section a.button:last-child {
889 .login-section a.button.withicon {
890 background-repeat: no-repeat;
891 background-position: 15px 50%;
894 .login-section.loggedin {
895 padding-bottom: 0 !important;
896 background-image: none !important;
913 form .form-row.submit {
916 form .form-row .extra-link {
918 text-decoration: none;
924 form.innerlabels label {
935 form input[type="text"],
936 form input[type="password"] {
937 font-family: 'Antic', sans-serif;
942 font-family: 'Antic', sans-serif;
947 border: 1px solid #808080;
949 display: inline-block;
956 form input.text:focus,
957 form input[type="text"]:focus,
958 form input[type="password"]:focus {
960 border: 1px solid #000;
963 form textarea:focus label,
964 form input.text:focus label,
965 form input[type="text"]:focus label,
966 form input[type="password"]:focus label {
969 form input.submit, form input[type="submit"] {
970 font-family: 'Antic', sans-serif;
975 font-family: 'Antic', sans-serif;
980 background-color: #3582ac;
985 font-family: 'Antic', sans-serif;
990 font-family: 'Antic', sans-serif;
995 background-color: #3582ac;
1001 form input.submit:hover, form input[type="submit"]:hover {
1002 background-color: #f89a1c;
1004 form input.submit:hover, form input[type="submit"]:hover {
1005 background-color: #f89a1c;
1009 width: 350px !important;
1011 form .with-errors input, form .with-errors textarea, form .with-errors select {
1014 form .with-errors label {
1018 background-color: #9d261d;
1023 .form-errors.all .form-error {
1026 margin-bottom: 1.3em;
1032 .rightcol .section {
1033 background-image: url("../images/dashed_border.png");
1034 background-repeat: repeat-x;
1035 background-position: left bottom;
1036 padding-bottom: 44px;
1037 margin-bottom: 44px;
1042 margin-bottom: 33px;
1052 margin-bottom: 33px;
1057 .section .section-img {
1058 margin-bottom: 22px;
1066 background-color: #ddd;
1072 .messages li.success {
1073 background-color: #46a546;
1076 .messages li.error {
1077 background-color: #9d261d;
1080 .messages li.warning {
1081 background-color: #ffc40d;
1090 table tr.consumed td.consumed {
1099 .row:before, .row:after {
1107 .row:before, .row:after {
1116 color: #808080 !important;
1117 -webkit-transition: color 0.15s linear;
1118 transition: color 0.15s linear;
1119 -webkit-transition: color 0.15s linear;
1120 transition: color 0.15s linear;
1124 -webkit-transition: color 0.15s linear;
1125 transition: color 0.15s linear;
1126 -webkit-transition: color 0.15s linear;
1127 transition: color 0.15s linear;
1128 text-decoration: none;
1134 margin-bottom: 11px;
1137 margin-bottom: 22px;
1145 .footer .col:last-child, .footer .col.last {
1149 .footer .bottom.row .col {
1155 .footer .bottom.row .col:last-child, .footer .bottom.row .col.last {
1160 .pagination a.page {
1161 display: inline !important;
1165 margin-bottom: 66px;
1167 margin-bottom: 44px;
1172 .blog-entry.positioned {
1175 .blog-entry.positioned .content {
1181 .blog-entry.positioned.withimg .img {
1187 .blog-entry.positioned.withimg img {
1190 .blog-entry.positioned h3 {
1192 margin-bottom: 22px;
1194 .blog-entry.positioned .text {
1197 .blog-entry .left, .blog-entry .right {
1201 .blog-entry.imagelist {
1205 .blog-entry.imagelist:before, .blog-entry.imagelist:after {
1210 .blog-entry.imagelist:after {
1213 .blog-entry.imagelist img {
1216 vertical-align: middle;
1221 margin-bottom: 33px;
1231 margin-bottom: 33px;
1236 .blog-entry .section-img {
1237 margin-bottom: 22px;
1239 .blog-entry:before, .blog-entry:after {
1247 .blog-entry .title {
1252 .blog-entry .media img {
1253 border: 1px solid #808080;
1255 .blog-entry .intro-content, .blog-entry .content {
1258 .blog-entry .intro-content object, .blog-entry .content object {
1261 .blog-entry .entry-info {
1265 .blog-entry.single .entry-info {
1267 margin-bottom: 22px;
1269 .section.twitter-feed .tweet {
1272 margin-bottom: 22px;
1275 .section.twitter-feed .tweet:last-child {
1278 border-bottom: none;
1280 .section.twitter-feed .tweet .date {
1284 .section.twitter-feed .tweet .date a {
1285 text-decoration: none !important;
1291 .entry-list .since {
1294 .entry-list .title {
1297 .entry-list .content, .entry-list .text {
1304 /*resources styles*/
1305 .resources .categories ul {
1308 .resources .categories ul:before, .resources .categories ul:after {
1313 .resources .categories ul:after {
1316 .resources .categories ul li {
1319 .resources .categories .title {
1320 margin-bottom: 11px;
1322 .resources .categories ul li a {
1323 text-decoration: none;
1330 .resources .list .resource {
1331 -moz-box-sizing: border-box;
1332 -webkit-box-sizing: border-box;
1333 box-sizing: border-box;
1334 *behavior: url(boxsizing.htc);
1338 border: 1px solid #faaf40;
1341 .resources .list .resource .description {
1345 #recaptcha_widget_div {
1349 #recaptcha_widget_div #recaptcha_instructions_image {
1351 margin-bottom: 10px;
1352 display: block !important;
1354 .checkbox-widget.checked {
1355 background-color: #f00;
1356 background-image: url("../images/checkbox.png");
1357 background-position: 50% 50%;
1360 border: 1px solid #808080;