MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(remove paragraph lead indent) |
No edit summary |
||
Line 178: | Line 178: | ||
table.wikitable tr.even { | table.wikitable tr.even { | ||
background-color: white; | background-color: white; | ||
} | |||
/* IMPORTED FROM SOFTWARE CARPENTRY */ | |||
.panel { | |||
margin-bottom: 20px; | |||
background-color: #fff; | |||
border: 1px solid transparent; | |||
border-radius: 4px; | |||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); | |||
box-shadow: 0 1px 1px rgba(0, 0, 0, .05); | |||
} | |||
.panel-body { | |||
padding: 15px; | |||
} | |||
.panel-heading { | |||
padding: 10px 15px; | |||
border-bottom: 1px solid transparent; | |||
border-top-left-radius: 3px; | |||
border-top-right-radius: 3px; | |||
} | |||
.panel-heading > .dropdown .dropdown-toggle { | |||
color: inherit; | |||
} | |||
.panel-title { | |||
margin-top: 0; | |||
margin-bottom: 0; | |||
font-size: 16px; | |||
color: inherit; | |||
} | |||
.panel-title > a, | |||
.panel-title > small, | |||
.panel-title > .small, | |||
.panel-title > small > a, | |||
.panel-title > .small > a { | |||
color: inherit; | |||
} | |||
.panel-footer { | |||
padding: 10px 15px; | |||
background-color: #f5f5f5; | |||
border-top: 1px solid #ddd; | |||
border-bottom-right-radius: 3px; | |||
border-bottom-left-radius: 3px; | |||
} | |||
.panel > .list-group, | |||
.panel > .panel-collapse > .list-group { | |||
margin-bottom: 0; | |||
} | |||
.panel > .list-group .list-group-item, | |||
.panel > .panel-collapse > .list-group .list-group-item { | |||
border-width: 1px 0; | |||
border-radius: 0; | |||
} | |||
.panel > .list-group:first-child .list-group-item:first-child, | |||
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { | |||
border-top: 0; | |||
border-top-left-radius: 3px; | |||
border-top-right-radius: 3px; | |||
} | |||
.panel > .list-group:last-child .list-group-item:last-child, | |||
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { | |||
border-bottom: 0; | |||
border-bottom-right-radius: 3px; | |||
border-bottom-left-radius: 3px; | |||
} | |||
.panel-heading + .list-group .list-group-item:first-child { | |||
border-top-width: 0; | |||
} | |||
.list-group + .panel-footer { | |||
border-top-width: 0; | |||
} | |||
.panel > .table, | |||
.panel > .table-responsive > .table, | |||
.panel > .panel-collapse > .table { | |||
margin-bottom: 0; | |||
} | |||
.panel > .table caption, | |||
.panel > .table-responsive > .table caption, | |||
.panel > .panel-collapse > .table caption { | |||
padding-right: 15px; | |||
padding-left: 15px; | |||
} | |||
.panel > .table:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child { | |||
border-top-left-radius: 3px; | |||
border-top-right-radius: 3px; | |||
} | |||
.panel > .table:first-child > thead:first-child > tr:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, | |||
.panel > .table:first-child > tbody:first-child > tr:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { | |||
border-top-left-radius: 3px; | |||
border-top-right-radius: 3px; | |||
} | |||
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, | |||
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, | |||
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, | |||
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, | |||
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { | |||
border-top-left-radius: 3px; | |||
} | |||
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, | |||
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, | |||
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, | |||
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, | |||
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, | |||
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, | |||
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, | |||
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { | |||
border-top-right-radius: 3px; | |||
} | |||
.panel > .table:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child { | |||
border-bottom-right-radius: 3px; | |||
border-bottom-left-radius: 3px; | |||
} | |||
.panel > .table:last-child > tbody:last-child > tr:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, | |||
.panel > .table:last-child > tfoot:last-child > tr:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { | |||
border-bottom-right-radius: 3px; | |||
border-bottom-left-radius: 3px; | |||
} | |||
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, | |||
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, | |||
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, | |||
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { | |||
border-bottom-left-radius: 3px; | |||
} | |||
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, | |||
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, | |||
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, | |||
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, | |||
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { | |||
border-bottom-right-radius: 3px; | |||
} | |||
.panel > .panel-body + .table, | |||
.panel > .panel-body + .table-responsive, | |||
.panel > .table + .panel-body, | |||
.panel > .table-responsive + .panel-body { | |||
border-top: 1px solid #ddd; | |||
} | |||
.panel > .table > tbody:first-child > tr:first-child th, | |||
.panel > .table > tbody:first-child > tr:first-child td { | |||
border-top: 0; | |||
} | |||
.panel > .table-bordered, | |||
.panel > .table-responsive > .table-bordered { | |||
border: 0; | |||
} | |||
.panel > .table-bordered > thead > tr > th:first-child, | |||
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, | |||
.panel > .table-bordered > tbody > tr > th:first-child, | |||
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, | |||
.panel > .table-bordered > tfoot > tr > th:first-child, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, | |||
.panel > .table-bordered > thead > tr > td:first-child, | |||
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, | |||
.panel > .table-bordered > tbody > tr > td:first-child, | |||
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, | |||
.panel > .table-bordered > tfoot > tr > td:first-child, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { | |||
border-left: 0; | |||
} | |||
.panel > .table-bordered > thead > tr > th:last-child, | |||
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, | |||
.panel > .table-bordered > tbody > tr > th:last-child, | |||
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, | |||
.panel > .table-bordered > tfoot > tr > th:last-child, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, | |||
.panel > .table-bordered > thead > tr > td:last-child, | |||
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, | |||
.panel > .table-bordered > tbody > tr > td:last-child, | |||
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, | |||
.panel > .table-bordered > tfoot > tr > td:last-child, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { | |||
border-right: 0; | |||
} | |||
.panel > .table-bordered > thead > tr:first-child > td, | |||
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, | |||
.panel > .table-bordered > tbody > tr:first-child > td, | |||
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, | |||
.panel > .table-bordered > thead > tr:first-child > th, | |||
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, | |||
.panel > .table-bordered > tbody > tr:first-child > th, | |||
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { | |||
border-bottom: 0; | |||
} | |||
.panel > .table-bordered > tbody > tr:last-child > td, | |||
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, | |||
.panel > .table-bordered > tfoot > tr:last-child > td, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, | |||
.panel > .table-bordered > tbody > tr:last-child > th, | |||
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, | |||
.panel > .table-bordered > tfoot > tr:last-child > th, | |||
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { | |||
border-bottom: 0; | |||
} | |||
.panel > .table-responsive { | |||
margin-bottom: 0; | |||
border: 0; | |||
} | |||
.panel-group { | |||
margin-bottom: 20px; | |||
} | |||
.panel-group .panel { | |||
margin-bottom: 0; | |||
border-radius: 4px; | |||
} | |||
.panel-group .panel + .panel { | |||
margin-top: 5px; | |||
} | |||
.panel-group .panel-heading { | |||
border-bottom: 0; | |||
} | |||
.panel-group .panel-heading + .panel-collapse > .panel-body, | |||
.panel-group .panel-heading + .panel-collapse > .list-group { | |||
border-top: 1px solid #ddd; | |||
} | |||
.panel-group .panel-footer { | |||
border-top: 0; | |||
} | |||
.panel-group .panel-footer + .panel-collapse .panel-body { | |||
border-bottom: 1px solid #ddd; | |||
} | |||
.panel-default { | |||
border-color: #ddd; | |||
} | |||
.panel-default > .panel-heading { | |||
color: #333; | |||
background-color: #f5f5f5; | |||
border-color: #ddd; | |||
} | |||
.panel-default > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #ddd; | |||
} | |||
.panel-default > .panel-heading .badge { | |||
color: #f5f5f5; | |||
background-color: #333; | |||
} | |||
.panel-default > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #ddd; | |||
} | |||
.panel-primary { | |||
border-color: #337ab7; | |||
} | |||
.panel-primary > .panel-heading { | |||
color: #fff; | |||
background-color: #337ab7; | |||
border-color: #337ab7; | |||
} | |||
.panel-primary > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #337ab7; | |||
} | |||
.panel-primary > .panel-heading .badge { | |||
color: #337ab7; | |||
background-color: #fff; | |||
} | |||
.panel-primary > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #337ab7; | |||
} | |||
.panel-success { | |||
border-color: #d6e9c6; | |||
} | |||
.panel-success > .panel-heading { | |||
color: #3c763d; | |||
background-color: #dff0d8; | |||
border-color: #d6e9c6; | |||
} | |||
.panel-success > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #d6e9c6; | |||
} | |||
.panel-success > .panel-heading .badge { | |||
color: #dff0d8; | |||
background-color: #3c763d; | |||
} | |||
.panel-success > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #d6e9c6; | |||
} | |||
.panel-info { | |||
border-color: #bce8f1; | |||
} | |||
.panel-info > .panel-heading { | |||
color: #31708f; | |||
background-color: #d9edf7; | |||
border-color: #bce8f1; | |||
} | |||
.panel-info > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #bce8f1; | |||
} | |||
.panel-info > .panel-heading .badge { | |||
color: #d9edf7; | |||
background-color: #31708f; | |||
} | |||
.panel-info > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #bce8f1; | |||
} | |||
.panel-warning { | |||
border-color: #faebcc; | |||
} | |||
.panel-warning > .panel-heading { | |||
color: #8a6d3b; | |||
background-color: #fcf8e3; | |||
border-color: #faebcc; | |||
} | |||
.panel-warning > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #faebcc; | |||
} | |||
.panel-warning > .panel-heading .badge { | |||
color: #fcf8e3; | |||
background-color: #8a6d3b; | |||
} | |||
.panel-warning > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #faebcc; | |||
} | |||
.panel-danger { | |||
border-color: #ebccd1; | |||
} | |||
.panel-danger > .panel-heading { | |||
color: #a94442; | |||
background-color: #f2dede; | |||
border-color: #ebccd1; | |||
} | |||
.panel-danger > .panel-heading + .panel-collapse > .panel-body { | |||
border-top-color: #ebccd1; | |||
} | |||
.panel-danger > .panel-heading .badge { | |||
color: #f2dede; | |||
background-color: #a94442; | |||
} | |||
.panel-danger > .panel-footer + .panel-collapse > .panel-body { | |||
border-bottom-color: #ebccd1; | |||
} | |||
.panel { | |||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | |||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | |||
} | |||
.panel-default > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | |||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); | |||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
.panel-primary > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | |||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); | |||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
.panel-success > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); | |||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); | |||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
.panel-info > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); | |||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); | |||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
.panel-warning > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); | |||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); | |||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
.panel-danger > .panel-heading { | |||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); | |||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); | |||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); | |||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); | |||
background-repeat: repeat-x; | |||
} | |||
/* Objectives, Callout Box, Challenges and prerequisites are now rendered as | |||
Bootstrap panels. There's a pandoc error with rendering headers nested under | |||
blockquote: these headers don't preserve attributes. It means we have to | |||
manually set styles for these headers to look like Bootstrap's "panel-title" | |||
class. */ | |||
.panel-heading h1, | |||
.panel-heading h2, | |||
.panel-heading h3, | |||
.panel-heading h4, | |||
.panel-heading h5, | |||
.panel-heading h6 { | |||
margin-top: 0px; | |||
margin-bottom: 0px; | |||
color: inherit; | |||
font-size: 16px; | |||
font-family: inherit; | |||
font-weight: 500; | |||
line-height: 1.1; | |||
} | |||
/* Make space between the glyphicon and the rest of the header */ | |||
.panel-heading h1 span, | |||
.panel-heading h2 span, | |||
.panel-heading h3 span, | |||
.panel-heading h4 span, | |||
.panel-heading h5 span, | |||
.panel-heading h6 span { | |||
padding-right: 10px; | |||
} | |||
/* Make the CSS compatible with Pandoc <= 1.13.2 and Pandoc > 1.14. */ | |||
h1.panel, | |||
h2.panel, | |||
h3.panel, | |||
h4.panel, | |||
h5.panel, | |||
h6.panel { | |||
margin-top: 0px; | |||
margin-bottom: 0px; | |||
border: 0px; | |||
color: inherit; | |||
background-color: inherit; | |||
background-image: inherit; | |||
box-shadow: none; | |||
} | } |
Revision as of 17:20, 25 April 2016
/* CSS placed here will be applied to all skins */
.download_submit {
background-color: transparent;
background-image: url(/mediawiki/resources/assets/download2-32.png);
background-position: 0px 0px;
background-repeat: no-repeat;
width: 32px;
height: 32px;
border: 0px;
position:relative;
top:-32px;
}
div.download_form {
height:0px;
}
div.filename {
height: 32px;
position:relative;
left: 35px;
top: 8px;
padding: .2em .5em
font-size: 92%;
}
.download_submit:hover {
cursor:pointer;cursor:hand
}
div#content p a {
font-weight: bold;
}
pre.de1 {
overflow-x:auto;
max-height:500px;
height:auto !important;
height:500px;
overflow-y:auto;
}
.command:before li {
content: "asfb:";
}
/* Specific styles for table in Main Page */
table#mainpage
{
padding:2em;
border-spacing:8px;
}
table#mainpage td.topleft
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#f5faff;
border:1px solid #cedff2;
border-radius:7px;
}
table#mainpage td.topleft h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#cedff2;
border:1px solid #a3b0bf;
margin-top:2ex;
}
table#mainpage td.topright
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#fff5f5;
border:1px solid #f2cece;
border-radius:7px;
}
table#mainpage td.topright h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#f2cece;
border:1px solid #bfa3a3;
margin-top:2ex;
}
table#mainpage td.bottomleft
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#fff5f5;
border:1px solid #f2cece;
border-radius:7px;
}
table#mainpage td.bottomleft h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#f2cece;
border:1px solid #bfa3a3;
margin-top:2ex;
}
table#mainpage td.bottomright
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#f5faff;
border:1px solid #cedff2;
border-radius:7px;
}
table#mainpage td.bottomright h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#cedff2;
border:1px solid #a3b0bf;
margin-top:2ex;
}
table#mainpage td h3
{
font-size:110%;
}
/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.wikitable th {
background-color: white;
}
table.wikitable tr.odd {
background-color: skyblue;
}
table.wikitable tr.even {
background-color: white;
}
/* IMPORTED FROM SOFTWARE CARPENTRY */
.panel {
margin-bottom: 20px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel-body {
padding: 15px;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
}
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
color: inherit;
}
.panel-footer {
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .list-group,
.panel > .panel-collapse > .list-group {
margin-bottom: 0;
}
.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
border-width: 1px 0;
border-radius: 0;
}
.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
border-top: 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
border-bottom: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
}
.list-group + .panel-footer {
border-top-width: 0;
}
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
margin-bottom: 0;
}
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
padding-right: 15px;
padding-left: 15px;
}
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
border-top-left-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 3px;
}
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
border-bottom-right-radius: 3px;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
border-top: 1px solid #ddd;
}
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
border-top: 0;
}
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
border: 0;
}
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
border-bottom: 0;
}
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
border-bottom: 0;
}
.panel > .table-responsive {
margin-bottom: 0;
border: 0;
}
.panel-group {
margin-bottom: 20px;
}
.panel-group .panel {
margin-bottom: 0;
border-radius: 4px;
}
.panel-group .panel + .panel {
margin-top: 5px;
}
.panel-group .panel-heading {
border-bottom: 0;
}
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
border-top: 1px solid #ddd;
}
.panel-group .panel-footer {
border-top: 0;
}
.panel-group .panel-footer + .panel-collapse .panel-body {
border-bottom: 1px solid #ddd;
}
.panel-default {
border-color: #ddd;
}
.panel-default > .panel-heading {
color: #333;
background-color: #f5f5f5;
border-color: #ddd;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
.panel-default > .panel-heading .badge {
color: #f5f5f5;
background-color: #333;
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
.panel-primary {
border-color: #337ab7;
}
.panel-primary > .panel-heading {
color: #fff;
background-color: #337ab7;
border-color: #337ab7;
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #337ab7;
}
.panel-primary > .panel-heading .badge {
color: #337ab7;
background-color: #fff;
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #337ab7;
}
.panel-success {
border-color: #d6e9c6;
}
.panel-success > .panel-heading {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.panel-success > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #d6e9c6;
}
.panel-success > .panel-heading .badge {
color: #dff0d8;
background-color: #3c763d;
}
.panel-success > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #d6e9c6;
}
.panel-info {
border-color: #bce8f1;
}
.panel-info > .panel-heading {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
.panel-info > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #bce8f1;
}
.panel-info > .panel-heading .badge {
color: #d9edf7;
background-color: #31708f;
}
.panel-info > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #bce8f1;
}
.panel-warning {
border-color: #faebcc;
}
.panel-warning > .panel-heading {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #faebcc;
}
.panel-warning > .panel-heading .badge {
color: #fcf8e3;
background-color: #8a6d3b;
}
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #faebcc;
}
.panel-danger {
border-color: #ebccd1;
}
.panel-danger > .panel-heading {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ebccd1;
}
.panel-danger > .panel-heading .badge {
color: #f2dede;
background-color: #a94442;
}
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ebccd1;
}
.panel {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.panel-default > .panel-heading {
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.panel-primary > .panel-heading {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
.panel-success > .panel-heading {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
background-repeat: repeat-x;
}
.panel-info > .panel-heading {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
background-repeat: repeat-x;
}
.panel-warning > .panel-heading {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
background-repeat: repeat-x;
}
.panel-danger > .panel-heading {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
background-repeat: repeat-x;
}
/* Objectives, Callout Box, Challenges and prerequisites are now rendered as
Bootstrap panels. There's a pandoc error with rendering headers nested under
blockquote: these headers don't preserve attributes. It means we have to
manually set styles for these headers to look like Bootstrap's "panel-title"
class. */
.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading h5,
.panel-heading h6 {
margin-top: 0px;
margin-bottom: 0px;
color: inherit;
font-size: 16px;
font-family: inherit;
font-weight: 500;
line-height: 1.1;
}
/* Make space between the glyphicon and the rest of the header */
.panel-heading h1 span,
.panel-heading h2 span,
.panel-heading h3 span,
.panel-heading h4 span,
.panel-heading h5 span,
.panel-heading h6 span {
padding-right: 10px;
}
/* Make the CSS compatible with Pandoc <= 1.13.2 and Pandoc > 1.14. */
h1.panel,
h2.panel,
h3.panel,
h4.panel,
h5.panel,
h6.panel {
margin-top: 0px;
margin-bottom: 0px;
border: 0px;
color: inherit;
background-color: inherit;
background-image: inherit;
box-shadow: none;
}