1 /* Card is used only at lessons */
3 background-color: white;
7 h1, h2, h3, h4, h5, h6 {
8 font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
21 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
25 h2 code, h3 code, h4 code, h5 code, h6 code {
29 /* Objectives, Callout Box, Challenges and prerequisites are now rendered as
30 Bootstrap panels. There's a pandoc error with rendering headers nested under
31 blockquote: these headers don't preserve attributes. It means we have to
32 manually set styles for these headers to look like Bootstrap's "panel-title"
49 /* Make space between the glyphicon and the rest of the header */
50 .panel-heading h1 span,
51 .panel-heading h2 span,
52 .panel-heading h3 span,
53 .panel-heading h4 span,
54 .panel-heading h5 span,
55 .panel-heading h6 span {
59 /* Make the CSS compatible with Pandoc <= 1.13.2 and Pandoc > 1.14. */
70 background-color: inherit;
71 background-image: inherit;
75 /* Comments in code. */
88 text-decoration: underline;
90 background-color: lightgray;
93 /* Highlighted changes in code. */
95 background-color: mistyrose;
103 /* Program output. */
109 /* Putting shadows around things. */
111 -moz-box-shadow: 0 0 30px 5px #999;
112 -webkit-box-shadow: 0 0 30px 5px #999;
113 box-shadow: 0 0 30px 5px #999;
116 /* Things to understand (lead-in to sections in book). */
118 background-color: lightyellow;
121 /* Block quotations. */
124 padding: 1em 1em .5em 1em;
129 /* Citation for testimonial quote. */
130 blockquote.testimonial cite {
137 * Rules from http://getbootstrap.com/css/#images-responsive.
139 * This is compatible with Pandoc behavior for HTML and HTML5. */
153 article p.caption::before,
154 article figcaption::before {
158 /* Main body of pages. */
160 font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
161 color: rgb(03, 03, 03);
164 body.workshop, body.lesson {
165 background-color: #BEC3C6;
169 /* Styling for editorial stylesheet */
188 @media (max-width: 700px) {
194 /*----------------------------------------*/
195 /* Override Bootstrap CSS */
196 /*----------------------------------------*/
205 margin: 15px 10px 0px 0px;
209 border-top: 5px solid #2b3990;
212 border-bottom: 1px solid #CCC;
226 background-color: #ffffff;
228 border-color:#2b3990;
232 .navbar-default .navbar-nav > li > a {
241 .navbar-nav .navbar {
242 diplay: inline-block;
246 .navbar .navbar-collapse {
250 .navbar-nav .nav-collapse .nav > li > a,
251 .navbar-nav .nav-collapse .dropdown-menu a {
256 .navbar-nav .nav .active > a,
257 .navbar-nav .nav .active > a:hover, .navbar-nav .nav .active > a:focus {
259 background-color: #20267D;
262 .navbar-nav .nav li.dropdown.open > .dropdown-toggle,
263 .navbar-nav .nav li.dropdown.active > .dropdown-toggle,
264 .navbar-nav .nav li.dropdown.open.active > .dropdown-toggle {
266 background-color: #20267D;
268 .navbar-nav .nav li.dropdown.active > .dropdown-toggle .caret {
269 border-top-color: #999999;
270 border-bottom-color: #999999;
272 .navbar-nav .nav li.dropdown.open > .dropdown-toggle .caret {
273 border-top-color: #ffffff;
274 border-bottom-color: #ffffff;
279 font-weight: inherit;
280 line-height: inherit;
287 /* readability: darken the alert colour for contrast with background */
297 /* Top banner of every page. */
299 background-color: #FFFFFF;
304 border-bottom: 1px solid #A6A6A6;
307 /* Padding around image in top banner. */
312 /* Explanatory call-out boxes. */
315 background-color: mistyrose;
325 outline-style: solid;
328 /* Level 2 headings inside pages. */
330 border-bottom: 1px solid #CCCCCC;
332 font-family: Verdana,"BitStream vera Sans";
337 /* PDF and slide files referenced from lectures. */
343 /*background-color: #20267D;*/
344 /* svg colour is slightly different? */
348 /* Main menu at the top of every page. */
351 background-color: #F4F4F4;
353 padding: 3px 0px 3px 25px;
354 border-bottom: 1px solid #A6A6A6;
358 /* Narration for audio-only lectures. */
364 /* Table of contents. */
366 /* No special styling yet. */
373 .transcript .media img {
374 border: 1px solid grey;
377 /* YouTube video embed. */
383 /* Glossary description lists. */
388 /* Displaying YouTube videos. */
389 iframe.youtube_player {
396 /* Sections in book chapters. */
401 /* Person's name in team.html. */
407 /* Short review of book in bibliography. */
412 /* Bibliography book covers. */
417 /* Blog calendar table in blog/index.html. */
418 table.blogcalendar th {
424 table.blogcalendar th.left {
429 table.blogcalendar tr td {
433 /* Blog index tables in blog/index.html. */
434 table.blogindex td.date {
439 /* Tables used for displaying choices in challenges. */
440 table.choices tr td {
441 vertical-align : top;
444 /* Database tables do _not_ have double borders */
446 border-collapse: collapse;
449 /* Link items (to workshop pages) in the workshops tables */
450 table.workshops td.link {
455 /* Spacer items (i.e. ellipsis) on the workshops tables */
456 table.workshops td.spacer {
461 /* Date columns on the workshops tables */
462 table.workshops td.date {
467 /* Badge modal dialog */
472 #assertion-modal iframe {
473 background-color: transparent;
474 border: 0px none transparent;
480 #assertion-model img.badge {
493 #assertion-modal.in {
497 /* list with checkbox as bullet */
499 list-style-image: url('../img/checkbox.png');
518 background: url(../img/header.png) no-repeat center center;
519 background-attachment: fixed;
520 -webkit-background-size: cover;
521 -moz-background-size: cover;
522 -o-background-size: cover;
523 background-size: cover;
532 margin: 60px 0px 80px;
544 table > thead > .header {
545 background: transparent;
548 table > thead > tr > td, table > thead > tr > th,
549 table > tbody > tr > td, table > tbody > tr > th,
550 table > tfoot > tr > td, table > tfoot > tr > th {
551 border: 1px solid #DDD;
554 table > thead > tr > th,
555 table > thead > tr > td {
556 border-bottom-width: 2px;
559 table tbody > tr:nth-of-type(2n+1) {
560 background-color: #F9F9F9;
570 border-top:1px solid #DDDDDD;
571 border-bottom:1px solid #DDDDDD;
578 border-top:1px solid #DDDDDD;
579 border-bottom:1px solid #DDDDDD;
584 h5 a:link, h5 a:visited,
585 h4 a:link, h4 a:visited,
586 h3 a:link, h3 a:visited {
594 text-decoration: none;
599 -webkit-transition: all 0.2s ease;
600 -moz-transition: all 0.2s ease;
601 -o-transition: all 0.2s ease;
602 transition: all 0.2s ease;
616 footer a, footer a:hover{
621 footer .container .links {
622 background:url('../img/software-carpentry-banner-white.png') no-repeat;
623 background-size: 200px;
624 background-position: 0;
626 padding: 20px 0px 0px 200px;
631 /* Footer of every page. */
632 /* TODO -- might clash with site footer */
635 background: url("/img/main_shadow.png") repeat-x scroll center top #FFFFFF;
636 padding: 4px 10px 7px 10px;
637 border-top: 1px solid #A6A6A6;
642 /* doesn't seem to be used on site, workshop or lesson */
643 /* Chapter titles. */
650 /* For the Request a Workshop form */
651 #ss-form .ss-q-title {
654 padding-bottom: 0.5em;
656 #ss-form .ss-required-asterisk {
663 #ss-form .ss-secondary-text {
666 #ss-form .ss-form-entry {
667 margin-bottom: 1.5em;
677 #ss-form .ss-choice-item {
679 padding-bottom: .5em;
681 #ss-form .ss-q-long {
685 #ss-form .error-message, .required-message {
688 #ss-form .ss-form-entry input {
689 vertical-align: middle;
693 #ss-form .ss-choice-item-control {
702 text-decoration: none;
703 font-family: arial, sans-serif;
716 #github-ribbon a:hover {
720 #github-ribbon a::before, #github-ribbon a::after {
730 #github-ribbon a::after {
735 /* Collapse navbar */
736 @media (max-width: 993px) {
741 .navbar-left,.navbar-right {
742 float: none !important;
746 background-color: #2b3990;
751 border-top: 1px solid transparent;
752 box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
756 border-width: 0 0 1px;
758 .navbar-collapse.collapse {
759 display: none!important;
762 float: none!important;
769 padding-bottom: 10px;
772 display:block !important;
776 @media (max-width: 600px) {
785 footer .container .links {
786 background:url('../img/software-carpentry-banner-white.png') no-repeat;
787 background-size: 180px;
788 background-position: 0;
792 /* GitHub ribbon breaking point */
793 @media screen and (min-width: 600px) {
809 transform: rotate(45deg);
810 -webkit-transform: rotate(45deg);
811 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
814 @media (max-width: 599px) {