8 h1, h2, h3, h4, h5, h6 {
9 font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
22 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
26 h2 code, h3 code, h4 code, h5 code, h6 code {
30 /* Objectives, Callout Box, Challenges and prerequisites are now rendered as
31 Bootstrap panels. There's a pandoc error with rendering headers nested under
32 blockquote: these headers don't preserve attributes. It means we have to
33 manually set styles for these headers to look like Bootstrap's "panel-title"
50 /* Make space between the glyphicon and the rest of the header */
51 .panel-heading h1 span,
52 .panel-heading h2 span,
53 .panel-heading h3 span,
54 .panel-heading h4 span,
55 .panel-heading h5 span,
56 .panel-heading h6 span {
60 /* Comments in code. */
73 text-decoration: underline;
75 background-color: lightgray;
78 /* Highlighted changes in code. */
80 background-color: mistyrose;
94 /* Putting shadows around things. */
96 -moz-box-shadow: 0 0 30px 5px #999;
97 -webkit-box-shadow: 0 0 30px 5px #999;
98 box-shadow: 0 0 30px 5px #999;
101 /* Things to understand (lead-in to sections in book). */
103 background-color: lightyellow;
106 /* Block quotations. */
109 padding: 1em 1em .5em 1em;
114 /* Citation for testimonial quote. */
115 blockquote.testimonial cite {
122 * Rules from http://getbootstrap.com/css/#images-responsive.
124 * This is compatible with Pandoc behavior for HTML and HTML5. */
138 article p.caption::before,
139 article figcaption::before {
143 /* Main body of pages. */
145 font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
146 color: rgb(03, 03, 03);
149 body.workshop, body.lesson {
150 background-color: #BEC3C6;
154 /* Styling for editorial stylesheet */
177 background-color: white;
183 @media (max-width: 700px) {
191 /*----------------------------------------*/
192 /* Override Bootstrap CSS */
193 /*----------------------------------------*/
203 margin: 15px 10px 0px 0px;
207 border-top: 5px solid #2b3990;
210 border-bottom: 1px solid #CCC;
224 background-color: #ffffff;
226 border-color:#2b3990;
230 .navbar-default .navbar-nav > li > a {
239 .navbar-nav .navbar {
240 diplay: inline-block;
244 .navbar .navbar-collapse {
248 .navbar-nav .nav-collapse .nav > li > a,
249 .navbar-nav .nav-collapse .dropdown-menu a {
254 .navbar-nav .nav .active > a,
255 .navbar-nav .nav .active > a:hover, .navbar-nav .nav .active > a:focus {
257 background-color: #20267D;
260 .navbar-nav .nav li.dropdown.open > .dropdown-toggle,
261 .navbar-nav .nav li.dropdown.active > .dropdown-toggle,
262 .navbar-nav .nav li.dropdown.open.active > .dropdown-toggle {
264 background-color: #20267D;
266 .navbar-nav .nav li.dropdown.active > .dropdown-toggle .caret {
267 border-top-color: #999999;
268 border-bottom-color: #999999;
270 .navbar-nav .nav li.dropdown.open > .dropdown-toggle .caret {
271 border-top-color: #ffffff;
272 border-bottom-color: #ffffff;
280 font-weight: inherit;
281 line-height: inherit;
288 /* readability: darken the alert colour for contrast with background */
300 /* Top banner of every page. */
302 background-color: #FFFFFF;
307 border-bottom: 1px solid #A6A6A6;
310 /* Padding around image in top banner. */
315 /* Explanatory call-out boxes. */
318 background-color: mistyrose;
328 outline-style: solid;
331 /* Level 2 headings inside pages. */
333 border-bottom: 1px solid #CCCCCC;
335 font-family: Verdana,"BitStream vera Sans";
340 /* PDF and slide files referenced from lectures. */
346 /*background-color: #20267D;*/
347 /* svg colour is slightly different? */
351 /* Main menu at the top of every page. */
354 background-color: #F4F4F4;
356 padding: 3px 0px 3px 25px;
357 border-bottom: 1px solid #A6A6A6;
361 /* Narration for audio-only lectures. */
367 /* Table of contents. */
369 /* No special styling yet. */
376 .transcript .media img {
377 border: 1px solid grey;
380 /* YouTube video embed. */
386 /* Glossary description lists. */
391 /* Displaying YouTube videos. */
392 iframe.youtube_player {
399 /* Sections in book chapters. */
404 /* Person's name in team.html. */
410 /* Short review of book in bibliography. */
415 /* Bibliography book covers. */
420 /* Blog calendar table in blog/index.html. */
421 table.blogcalendar th {
427 table.blogcalendar th.left {
432 table.blogcalendar tr td {
436 /* Blog index tables in blog/index.html. */
437 table.blogindex td.date {
442 /* Tables used for displaying choices in challenges. */
443 table.choices tr td {
444 vertical-align : top;
447 /* Database tables do _not_ have double borders */
449 border-collapse: collapse;
452 /* Link items (to workshop pages) in the workshops tables */
453 table.workshops td.link {
458 /* Spacer items (i.e. ellipsis) on the workshops tables */
459 table.workshops td.spacer {
464 /* Date columns on the workshops tables */
465 table.workshops td.date {
470 /* Badge modal dialog */
475 #assertion-modal iframe {
476 background-color: transparent;
477 border: 0px none transparent;
483 #assertion-model img.badge {
490 /* list with checkbox as bullet */
492 list-style-image: url('../img/checkbox.png');
511 background: url(../img/header.png) no-repeat center center;
512 background-attachment: fixed;
513 -webkit-background-size: cover;
514 -moz-background-size: cover;
515 -o-background-size: cover;
516 background-size: cover;
525 margin: 60px 0px 80px;
537 table > thead > .header {
538 background: transparent;
541 table > thead > tr > td, table > thead > tr > th,
542 table > tbody > tr > td, table > tbody > tr > th,
543 table > tfoot > tr > td, table > tfoot > tr > th {
544 border: 1px solid #DDD;
547 table > thead > tr > th,
548 table > thead > tr > td {
549 border-bottom-width: 2px;
552 table tbody > tr:nth-of-type(2n+1) {
553 background-color: #F9F9F9;
563 border-top:1px solid #DDDDDD;
564 border-bottom:1px solid #DDDDDD;
571 border-top:1px solid #DDDDDD;
572 border-bottom:1px solid #DDDDDD;
577 h5 a:link, h5 a:visited,
578 h4 a:link, h4 a:visited,
579 h3 a:link, h3 a:visited {
587 text-decoration: none;
592 -webkit-transition: all 0.2s ease;
593 -moz-transition: all 0.2s ease;
594 -o-transition: all 0.2s ease;
595 transition: all 0.2s ease;
609 footer a, footer a:hover{
614 footer .container .links {
615 background:url('../img/software-carpentry-banner-white.png') no-repeat;
616 background-size: 200px;
617 background-position: 0;
619 padding: 20px 0px 0px 200px;
624 /* Footer of every page. */
625 /* TODO -- might clash with site footer */
628 background: url("/img/main_shadow.png") repeat-x scroll center top #FFFFFF;
629 padding: 4px 10px 7px 10px;
630 border-top: 1px solid #A6A6A6;
635 /* doesn't seem to be used on site, workshop or lesson */
636 /* Chapter titles. */
643 /* For the Request a Workshop form */
644 #ss-form .ss-q-title {
647 padding-bottom: 0.5em;
649 #ss-form .ss-required-asterisk {
656 #ss-form .ss-secondary-text {
659 #ss-form .ss-form-entry {
660 margin-bottom: 1.5em;
670 #ss-form .ss-choice-item {
672 padding-bottom: .5em;
674 #ss-form .ss-q-long {
678 #ss-form .error-message, .required-message {
681 #ss-form .ss-form-entry input {
682 vertical-align: middle;
686 #ss-form .ss-choice-item-control {
695 text-decoration: none;
696 font-family: arial, sans-serif;
709 #github-ribbon a:hover {
713 #github-ribbon a::before, #github-ribbon a::after {
723 #github-ribbon a::after {
728 /* Collapse navbar */
729 @media (max-width: 993px) {
734 .navbar-left,.navbar-right {
735 float: none !important;
739 background-color: #2b3990;
744 border-top: 1px solid transparent;
745 box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
749 border-width: 0 0 1px;
751 .navbar-collapse.collapse {
752 display: none!important;
755 float: none!important;
762 padding-bottom: 10px;
765 display:block !important;
769 @media (max-width: 600px) {
778 footer .container .links {
779 background:url('../img/software-carpentry-banner-white.png') no-repeat;
780 background-size: 180px;
781 background-position: 0;
785 /* GitHub ribbon breaking point */
786 @media screen and (min-width: 600px) {
802 transform: rotate(45deg);
803 -webkit-transform: rotate(45deg);
804 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
807 @media (max-width: 599px) {