first import book
This commit is contained in:
parent
6be2701fd8
commit
dfd9c869d5
233 changed files with 47797 additions and 0 deletions
36
book/common/css/activecode.css
Normal file
36
book/common/css/activecode.css
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
.modal-profile {
|
||||
display:none;
|
||||
min-height: 300px;
|
||||
overflow: hidden;
|
||||
width: 700px;
|
||||
padding:25px;
|
||||
border:1px solid #fff;
|
||||
box-shadow: 0px 2px 7px #292929;
|
||||
-moz-box-shadow: 0px 2px 7px #292929;
|
||||
-webkit-box-shadow: 0px 2px 7px #292929;
|
||||
border-radius:10px;
|
||||
-moz-border-radius:10px;
|
||||
-webkit-border-radius:10px;
|
||||
background: #f2f2f2;
|
||||
z-index:50;
|
||||
}
|
||||
|
||||
.modal-lightsout {
|
||||
display:none;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
z-index:25;
|
||||
background:#000 ;
|
||||
}
|
||||
|
||||
.modal-close-profile {
|
||||
display:none;
|
||||
position:absolute;
|
||||
height: 43px;
|
||||
width: 43px;
|
||||
background-image: url('close.png');
|
||||
top:1px;
|
||||
right:0.5px;
|
||||
}
|
||||
202
book/common/css/codemirror.css
Normal file
202
book/common/css/codemirror.css
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
.CodeMirror {
|
||||
line-height: 20px;
|
||||
font-family: monospace;
|
||||
border-right: 2px solid #aaa;
|
||||
border-top: 2px solid #aaa;
|
||||
border-bottom: 2px solid #aaa;
|
||||
border-left: 2px solid #aaa;
|
||||
/* Necessary so the scrollbar can be absolutely positioned within the wrapper on Lion. */
|
||||
position: relative;
|
||||
/* This prevents unwanted scrollbars from showing up on the body and wrapper in IE. */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.CodeMirror-scroll {
|
||||
overflow: auto;
|
||||
height: auto;
|
||||
max-height: 300px;
|
||||
/* This is needed to prevent an IE[67] bug where the scrolled content
|
||||
is visible outside of the scrolling box. */
|
||||
position: relative;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Vertical scrollbar */
|
||||
.CodeMirror-scrollbar {
|
||||
position: absolute;
|
||||
right: 0; top: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
z-index: 5;
|
||||
}
|
||||
.CodeMirror-scrollbar-inner {
|
||||
/* This needs to have a nonzero width in order for the scrollbar to appear
|
||||
in Firefox and IE9. */
|
||||
width: 1px;
|
||||
}
|
||||
.CodeMirror-scrollbar.cm-sb-overlap {
|
||||
/* Ensure that the scrollbar appears in Lion, and that it overlaps the content
|
||||
rather than sitting to the right of it. */
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
float: none;
|
||||
right: 0;
|
||||
min-width: 12px;
|
||||
}
|
||||
.CodeMirror-scrollbar.cm-sb-nonoverlap {
|
||||
min-width: 12px;
|
||||
}
|
||||
.CodeMirror-scrollbar.cm-sb-ie7 {
|
||||
min-width: 18px;
|
||||
}
|
||||
|
||||
.CodeMirror-gutter {
|
||||
position: absolute; left: 0; top: 0;
|
||||
z-index: 10;
|
||||
background-color: #f7f7f7;
|
||||
border-right: 1px solid #eee;
|
||||
min-width: 2em;
|
||||
height: 100%;
|
||||
}
|
||||
.CodeMirror-gutter-text {
|
||||
color: #aaa;
|
||||
text-align: right;
|
||||
padding: .4em .2em .4em .4em;
|
||||
white-space: pre !important;
|
||||
cursor: default;
|
||||
}
|
||||
.CodeMirror-lines {
|
||||
padding: .4em;
|
||||
white-space: pre;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.CodeMirror pre {
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-o-border-radius: 0;
|
||||
border-radius: 0;
|
||||
border-width: 0; margin: 0; padding: 0; background: transparent;
|
||||
font-family: Monaco, Courier New, monospace;
|
||||
font-size: inherit;
|
||||
padding: 0; margin: 0;
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.admonition .CodeMirror pre {
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-o-border-radius: 0;
|
||||
border-radius: 0;
|
||||
border-width: 0; margin: 0; padding: 0; background: transparent;
|
||||
font-family: Monaco, Courier New, monospace;
|
||||
font-size: inherit;
|
||||
padding: 0; margin: 0;
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
.CodeMirror-wrap pre {
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
word-break: normal;
|
||||
}
|
||||
.CodeMirror-wrap .CodeMirror-scroll {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.CodeMirror textarea {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.CodeMirror pre.CodeMirror-cursor {
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-left: 1px solid black;
|
||||
border-right: none;
|
||||
width: 0;
|
||||
}
|
||||
.cm-keymap-fat-cursor pre.CodeMirror-cursor {
|
||||
width: auto;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
background: rgba(0, 200, 0, .4);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
|
||||
}
|
||||
/* Kludge to turn off filter in ie9+, which also accepts rgba */
|
||||
.cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) {
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
.CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {}
|
||||
.CodeMirror-focused pre.CodeMirror-cursor {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
div.CodeMirror-selected { background: #d9d9d9; }
|
||||
.CodeMirror-focused div.CodeMirror-selected { background: #d7d4f0; }
|
||||
|
||||
.CodeMirror-searching {
|
||||
background: #ffa;
|
||||
background: rgba(255, 255, 0, .4);
|
||||
}
|
||||
|
||||
/* Default theme */
|
||||
|
||||
.cm-s-default span.cm-keyword {color: #708;}
|
||||
.cm-s-default span.cm-atom {color: #219;}
|
||||
.cm-s-default span.cm-number {color: #164;}
|
||||
.cm-s-default span.cm-def {color: #00f;}
|
||||
.cm-s-default span.cm-variable {color: black;}
|
||||
.cm-s-default span.cm-variable-2 {color: #05a;}
|
||||
.cm-s-default span.cm-variable-3 {color: #085;}
|
||||
.cm-s-default span.cm-property {color: black;}
|
||||
.cm-s-default span.cm-operator {color: black;}
|
||||
.cm-s-default span.cm-comment {color: #a50;}
|
||||
.cm-s-default span.cm-string {color: #a11;}
|
||||
.cm-s-default span.cm-string-2 {color: #f50;}
|
||||
.cm-s-default span.cm-meta {color: #555;}
|
||||
.cm-s-default span.cm-error {color: #f00;}
|
||||
.cm-s-default span.cm-qualifier {color: #555;}
|
||||
.cm-s-default span.cm-builtin {color: #30a;}
|
||||
.cm-s-default span.cm-bracket {color: #997;}
|
||||
.cm-s-default span.cm-tag {color: #170;}
|
||||
.cm-s-default span.cm-attribute {color: #00c;}
|
||||
.cm-s-default span.cm-header {color: blue;}
|
||||
.cm-s-default span.cm-quote {color: #090;}
|
||||
.cm-s-default span.cm-hr {color: #999;}
|
||||
.cm-s-default span.cm-link {color: #00c;}
|
||||
span.cm-negative {color: #d44;}
|
||||
span.cm-positive {color: #292;}
|
||||
|
||||
span.cm-header, span.cm-strong {font-weight: bold;}
|
||||
span.cm-em {font-style: italic;}
|
||||
span.cm-emstrong {font-style: italic; font-weight: bold;}
|
||||
span.cm-link {text-decoration: underline;}
|
||||
|
||||
span.cm-invalidchar {color: #f00;}
|
||||
|
||||
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
||||
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
|
||||
/* bnm - add from codemirror website. The mysterious re-occuring tabs */
|
||||
.cm-tab {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
|
||||
background-position: right;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media print {
|
||||
|
||||
/* Hide the cursor when printing */
|
||||
.CodeMirror pre.CodeMirror-cursor {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
414
book/common/css/edu-python.css
Normal file
414
book/common/css/edu-python.css
Normal file
|
|
@ -0,0 +1,414 @@
|
|||
/*
|
||||
|
||||
Online Python Tutor
|
||||
Copyright (C) 2010 Philip J. Guo (philip@pgbovine.net)
|
||||
https://github.com/pgbovine/OnlinePythonTutor/
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
Color scheme ideas:
|
||||
|
||||
Current scheme: pastel blue and yellow with a hint of red:
|
||||
http://colorschemedesigner.com/#3N32mmmuew0w0
|
||||
|
||||
Primary Color:
|
||||
3D58A2 41507A 142B69 6F89D1 899CD1
|
||||
Secondary Color A:
|
||||
EBF048 B1B456 989C17 F4F776 F5F798
|
||||
Secondary Color B:
|
||||
F15149 B55B56 9D1E18 F87D76 F89D99
|
||||
|
||||
|
||||
Alternates:
|
||||
|
||||
pastel green, yellow, and purple:
|
||||
http://colorschemedesigner.com/#2P32PbX--w0w0
|
||||
|
||||
Primary Color:
|
||||
A0FFA0 8ABF8A 34A634 B8FFB8 CBFFCB
|
||||
Secondary Color A:
|
||||
FFEFA0 BFB68A A69234 FFF3B8 FFF6CB
|
||||
Secondary Color B:
|
||||
BFABFF 9B90BF 5237A6 CFC0FF DCD1FF
|
||||
|
||||
|
||||
pastel blue and yellow:
|
||||
http://colorschemedesigner.com/#0W21TjruJw0w0
|
||||
|
||||
Primary Color:
|
||||
F5C260 B89B64 9F741F FAD388 FADEA6
|
||||
Complementary Color:
|
||||
4A67A4 49597B 18326A 7C97D1 93A7D1
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#pyInput {
|
||||
font-size: 10pt;
|
||||
font-family: Andale mono, monospace;
|
||||
/*font-weight: bold;*/
|
||||
padding: 8px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#pyInputPane {
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
|
||||
table.pyOutputPane {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
#dataViz {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
table.frameDataViz {
|
||||
border-spacing: 0px;
|
||||
font-size: 10pt;
|
||||
margin-top: 5px;
|
||||
margin-left: 15px;
|
||||
background-color: #dddddd;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table.frameDataViz td.varname {
|
||||
text-align: right;
|
||||
padding: 5px;
|
||||
padding-right: 8px;
|
||||
border-right: 1px dashed #888888;
|
||||
}
|
||||
|
||||
table.frameDataViz td.val {
|
||||
padding-left: 8px;
|
||||
padding-right: 5px;
|
||||
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
div.pyCodeOutputDiv {
|
||||
max-width: 550px;
|
||||
max-height: 620px;
|
||||
overflow: auto;
|
||||
margin-left: 30px;
|
||||
/*margin-bottom: 4px;*/
|
||||
}
|
||||
|
||||
table.pyCodeOutput {
|
||||
font-family: Andale mono, monospace;
|
||||
font-size:10pt;
|
||||
line-height:1.1em;
|
||||
border-spacing: 0px;
|
||||
border-top: 1px solid #999999;
|
||||
padding-top: 3px;
|
||||
border-bottom: 1px solid #999999;p
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* don't wrap lines within code output ... FORCE scrollbars to appear */
|
||||
table.pyCodeOutput td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.pyCodeOutput .lineNo {
|
||||
background-color:#FFFFFF;
|
||||
color:#AAAAAA;
|
||||
margin:0;
|
||||
/* padding:0.2em; */
|
||||
padding-right:0.5em;
|
||||
text-align:right;
|
||||
width:3.1em;
|
||||
}
|
||||
|
||||
tabl.#pyCodeOutput .cod {
|
||||
/*font-weight: bold;*/
|
||||
margin-left: 3px;
|
||||
padding-left: 7px;
|
||||
text-align: left; /* necessary or else doesn't work properly in IE */
|
||||
}
|
||||
|
||||
div#editCodeLinkDiv {
|
||||
text-align: center;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
#editCodeLinkOnError {
|
||||
color: #142B69;
|
||||
}
|
||||
|
||||
|
||||
.errorOutput {
|
||||
background-color: #F87D76;
|
||||
font-size: 12pt;
|
||||
padding: 2px;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.warningOutput {
|
||||
font-size: 9pt;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
button.bigBtn {
|
||||
font-size: 14pt;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* VCR control buttons for stepping through execution */
|
||||
|
||||
.vcrControls {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.vcrControls button {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#pyStdout {
|
||||
border: 1px solid #999999;
|
||||
font-size: 10pt;
|
||||
padding: 4px;
|
||||
font-family: Andale mono, monospace;
|
||||
}
|
||||
|
||||
|
||||
.vizFrame {
|
||||
margin-bottom: 20px;
|
||||
/* padding-left: 8px;
|
||||
/* border-left: 2px solid #cccccc; */
|
||||
}
|
||||
|
||||
|
||||
/* Python data value rendering */
|
||||
|
||||
.nullObj {
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
.numberObj {
|
||||
}
|
||||
|
||||
.boolObj {
|
||||
}
|
||||
|
||||
.stringObj {
|
||||
}
|
||||
|
||||
.customObj {
|
||||
font-style: italic;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table.listTbl {
|
||||
border: 0px solid black;
|
||||
background-color: #F5F798;
|
||||
border-spacing: 0px;
|
||||
}
|
||||
|
||||
table.listTbl td.listHeader {
|
||||
padding-left: 5px;
|
||||
padding-top: 3px;
|
||||
font-size: 8pt;
|
||||
color: #666666;
|
||||
text-align: left;
|
||||
border-left: 1px solid #555555;
|
||||
}
|
||||
|
||||
table.listTbl td.listElt {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-bottom: 1px solid #555555; /* must match td.listHeader border */
|
||||
border-left: 1px solid #555555; /* must match td.listHeader border */
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
table.tupleTbl {
|
||||
border: 1px solid #555555;
|
||||
background-color: #dddddd; /* must match .frameDataViz background-color */
|
||||
border-spacing: 0px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
table.tupleTbl td.tupleHeader {
|
||||
padding-left: 5px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 0px;
|
||||
font-size: 8pt;
|
||||
color: #666666;
|
||||
text-align: left;
|
||||
border-left: 1px dotted #555555;
|
||||
}
|
||||
|
||||
table.tupleTbl td.tupleElt {
|
||||
border-left: 1px dotted #555555; /* must match td.tupleHeader border */
|
||||
vertical-align: bottom;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table.setTbl {
|
||||
border: 1px solid black;
|
||||
background-color: #F4F776;
|
||||
border-spacing: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.setTbl td.setElt {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
table.dictTbl {
|
||||
background-color: #899CD1;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 2px;
|
||||
/*margin: 12px;*/
|
||||
}
|
||||
|
||||
table.dictTbl tr.dictEntry {
|
||||
border: 1px #111111 solid;
|
||||
}
|
||||
|
||||
table.dictTbl td.dictKey {
|
||||
background-color: #41507A;
|
||||
color: #ffffff;
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
|
||||
text-align: right;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
table.dictTbl td.dictVal {
|
||||
background-color: #899CD1; /* must match color of table.dictTbl */
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 6px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
table.classTbl {
|
||||
background-color: #FFFFFF;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 2px;
|
||||
}
|
||||
|
||||
table.classTbl tr.classEntry {
|
||||
border: 1px #777777 solid;
|
||||
}
|
||||
|
||||
table.classTbl td.classKey {
|
||||
background-color: #222222;
|
||||
color: #dddddd;
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
|
||||
text-align: right;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
table.classTbl td.classVal {
|
||||
background-color: #FFFFFF; /* must match color of table.classTbl */
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 6px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
table.instTbl {
|
||||
background-color: #FFFFDD;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 2px;
|
||||
}
|
||||
|
||||
table.instTbl tr.instEntry {
|
||||
border: 1px #111111 solid;
|
||||
}
|
||||
|
||||
table.instTbl td.instKey {
|
||||
background-color: #41507A;
|
||||
color: #ffffff;
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
|
||||
text-align: right;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
table.instTbl td.instVal {
|
||||
background-color: #FFFFDD; /* must match color of table.instTbl */
|
||||
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 6px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.typeLabel {
|
||||
font-size: 8pt;
|
||||
color: #222222;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
td.dictKey .typeLabel {
|
||||
color: #eeeeee;
|
||||
}
|
||||
|
||||
.circRefLabel {
|
||||
font-size: 10pt;
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
#footer {
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
font-size: 9pt;
|
||||
max-width: 700px;
|
||||
border-top: 1px solid #bbbbbb;
|
||||
padding-top: 5px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
138
book/common/css/guiders-1.3.0.css
Normal file
138
book/common/css/guiders-1.3.0.css
Normal file
File diff suppressed because one or more lines are too long
5
book/common/css/jquery-ui-1.10.3.custom.min.css
vendored
Normal file
5
book/common/css/jquery-ui-1.10.3.custom.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
25
book/common/css/poll.css
Normal file
25
book/common/css/poll.css
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* Styles for Runestone poll directive */
|
||||
.poll .poll-question {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.poll-options > label {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.poll .progress {
|
||||
width: 350px;
|
||||
height: 25px;
|
||||
margin-top: -20px;
|
||||
}
|
||||
|
||||
.poll .progress .progress-bar {
|
||||
height: 30px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.poll-text {
|
||||
line-height: 22px;
|
||||
display: inline-block;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
380
book/common/css/runestone-custom-sphinx-bootstrap.css
Normal file
380
book/common/css/runestone-custom-sphinx-bootstrap.css
Normal file
|
|
@ -0,0 +1,380 @@
|
|||
/* Runestone custom modifications */
|
||||
|
||||
body {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: bold;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
/* navbar and menu related styles */
|
||||
@media (max-width: 768px) {
|
||||
/* Remove top padding when top navbar goes collapsed in narrow viewports */
|
||||
body {
|
||||
padding-top: 0;
|
||||
margin: auto auto auto 5px;
|
||||
}
|
||||
|
||||
.navbar-fixed-top {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
/* when navbar is collapsed we don't want any vertical dividers taking up space */
|
||||
.navbar .divider-vertical {
|
||||
height: 50px;
|
||||
margin: 0 3px;
|
||||
border-left: 1px solid #f2f2f2;
|
||||
}
|
||||
}
|
||||
|
||||
div.container {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
div.section {
|
||||
max-width: 500pt;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.navbar>.container .navbar-brand {
|
||||
margin-left: 0;
|
||||
|
||||
}
|
||||
|
||||
.navbar>.container {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
.footer>.container {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
float: left;
|
||||
display: block;
|
||||
background-size: 40px 40px !important;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.social-menu {
|
||||
width: 220px;
|
||||
padding: 10px 10px 15px 20px;
|
||||
}
|
||||
|
||||
.fb-like {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.fb_iframe_widget span, .fb_iframe_widget iframe {
|
||||
height: 20px !important;
|
||||
width: 82px !important;
|
||||
}
|
||||
|
||||
.twitter-follow-button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.gittip {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.gittip-button {
|
||||
margin-bottom: -6px;
|
||||
}
|
||||
|
||||
.dropdown-menu > li > span {
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
clear: both;
|
||||
font-weight: bold;
|
||||
line-height: 20px;
|
||||
color: #333;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.loggedinuser {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* end navbar and menu related styles */
|
||||
|
||||
.CodeMirror {
|
||||
margin: 0 0 1em 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
button.btn, btn.btn-sm,
|
||||
input[type="submit"].btn.btn-sm,
|
||||
input[type="button"].btn.btn-sm {
|
||||
font-size: 1em;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.btn.disabled {
|
||||
/* needed in Bootstrap 3 to allow tooltips on disabled buttons */
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.btn-default,
|
||||
.btn-default.disabled,
|
||||
.btn-default[disabled],
|
||||
.btn-default.disabled:hover,
|
||||
.btn-default[disabled]:hover {
|
||||
color: #fff;
|
||||
background-color: #474949;
|
||||
border-color: #474949;
|
||||
}
|
||||
|
||||
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
|
||||
background-color: #3a3c3c;
|
||||
border-color: #2e2f2f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
z-index: 2000 !important;
|
||||
}
|
||||
|
||||
.tooltip.in {
|
||||
opacity: 0.8;
|
||||
filter: alpha(opacity=80);
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.alert form {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
/* default bookstrap alert color is hard to read (low contrast). */
|
||||
.alert {
|
||||
color: #333;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* override the color styles applied by Skulpt to the unittest results divs */
|
||||
.unittest-results.alert-danger {
|
||||
background-color: #f2dede !important;
|
||||
}
|
||||
|
||||
.unittest-results.alert-success {
|
||||
background-color: #dff0d8 !important;
|
||||
}
|
||||
|
||||
.alert label {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* These admonition styles styles are copied from the Bootstrap .alert classes.
|
||||
Most of the !important declarations are to override the Sphinx basic.css styles */
|
||||
.admonition {
|
||||
padding: 8px 35px 8px 14px !important;
|
||||
margin-bottom: 20px !important;
|
||||
margin-top: 20px !important;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
||||
background-color: #fcf8e3;
|
||||
border: 1px solid #fbeed5;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* .alert-danger */
|
||||
.admonition.caution {
|
||||
color: #b94a48;
|
||||
background-color: #f2dede;
|
||||
border-color: #eed3d7;
|
||||
}
|
||||
|
||||
/* .alert-info */
|
||||
.admonition.tip, .admonition.note {
|
||||
color: #333;
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
/* from web2py.css */
|
||||
div.flash {
|
||||
font-weight: bold;
|
||||
position: fixed;
|
||||
padding: 10px;
|
||||
top: 55px;
|
||||
right: 45px;
|
||||
opacity: 0.95;
|
||||
margin: 0 0 10px 10px;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 8px;
|
||||
-moz-border-radius: 8px;
|
||||
-webkit-border-radius: 8px;
|
||||
background-image: -webkit-linear-gradient(top, #222, #000);
|
||||
background-image: -o-linear-gradient(top, #222, #000);
|
||||
background-image: -moz-linear-gradient(90deg, #222, #000);
|
||||
background-image: linear-gradient(top, #222, #000);
|
||||
background-repeat: repeat-x;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
/* Styles for the login, registration, and Janrain forms */
|
||||
#web2py_user_form {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#web2py_user_form form {
|
||||
float: left;
|
||||
margin-right: 150px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
#web2py_user_form td {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
#web2py_user_form td.w2p_fw {
|
||||
width: 299px;
|
||||
}
|
||||
|
||||
#auth-actions {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#sign_in_text td {
|
||||
font-size: 17px;
|
||||
color: #333;
|
||||
font-family: 'lucida grande', Verdana, sans-serif;
|
||||
padding-bottom: 13px;
|
||||
}
|
||||
|
||||
#auth_user_remember {
|
||||
margin-top: -20px;
|
||||
}
|
||||
/* End login, registration, Janrain styles */
|
||||
|
||||
/* end-of-chapter exercises styles */
|
||||
#exercises > ol > li,
|
||||
#programming-exercises > ol > li {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#exercises > ol > li:nth-child(even),
|
||||
#programming-exercises > ol > li:nth-child(even) {
|
||||
padding: 1.2em 1.4em;
|
||||
background: #faf7df;
|
||||
border: 1px solid #fbeed5;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
/* End chapter exercises styles */
|
||||
|
||||
/* Modal dialog styles (scratch activecode, compare me, etc) */
|
||||
.scratch-ac-modal {
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.compare-modal .progress {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.compare-me-progress {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.compare-me-progress .progress-bar,
|
||||
.unittest-results-progress .progress-bar {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.unittest-results-progress {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.compare-modal {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.compare-modal table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 10px 5px;
|
||||
}
|
||||
|
||||
.codelens-modal {
|
||||
/* we set some custom position styles so that the modal doesn't obscure the codelens visualizer */
|
||||
top: 20%;
|
||||
right: 20%;
|
||||
left: auto;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* remove any custom position styles when the screen is small (mobile devices)
|
||||
to prevent the modal from being partially off the screen */
|
||||
.codelens-modal {
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: 0 !important;
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.codelens-modal > .modal-dialog {
|
||||
width: 400px;
|
||||
}
|
||||
/* End modal dialog styles */
|
||||
|
||||
.footnote.table {
|
||||
width: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.footnote.table td.label {
|
||||
padding: 2px 5px 2px 5px;
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
||||
.ac-canvas {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.video-play-overlay {
|
||||
position: absolute;
|
||||
top: -35px;
|
||||
left: 30%;
|
||||
height: 85px;
|
||||
width: 130px;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-sortable-helper {
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.activehtml {
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
}
|
||||
350
book/common/css/style.css
Normal file
350
book/common/css/style.css
Normal file
|
|
@ -0,0 +1,350 @@
|
|||
/**
|
||||
* Sphinx stylesheet -- sphinxdoc theme
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
|
||||
*/
|
||||
|
||||
@import url("basic.css");
|
||||
|
||||
/* -- page layout ----------------------------------------------------------- */
|
||||
|
||||
body {
|
||||
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
|
||||
'Verdana', sans-serif;
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.01em;
|
||||
line-height: 150%;
|
||||
text-align: center;
|
||||
background-image: url(bg01.jpg);
|
||||
color: black;
|
||||
padding: 0;
|
||||
border: 1px solid #aaa;
|
||||
|
||||
margin: 0px 80px 0px 80px;
|
||||
min-width: 740px;
|
||||
}
|
||||
|
||||
div.documentwrapper {
|
||||
float: none;
|
||||
border: 1px solid #0aa;
|
||||
}
|
||||
|
||||
div.document {
|
||||
background-color: white;
|
||||
text-align: left;
|
||||
background-image: url(contents.png);
|
||||
background-repeat: repeat-x;
|
||||
min-height: 550px;
|
||||
}
|
||||
|
||||
div.bodywrapper {
|
||||
margin: 0 240px 0 0;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
div.body {
|
||||
margin: 0;
|
||||
padding: 0.5em 20px 20px 20px;
|
||||
}
|
||||
|
||||
div.related {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div.related ul {
|
||||
background-color: rgb(49,94,97);
|
||||
height: 2em;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
div.related ul li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 2em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
div.related ul li.right {
|
||||
float: right;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
div.related ul li a {
|
||||
margin: 0;
|
||||
padding: 0 5px 0 5px;
|
||||
line-height: 1.75em;
|
||||
/*color: rgb(75,136,141); */
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
div.related ul li a:hover {
|
||||
color: #3CA8E7;
|
||||
}
|
||||
|
||||
div.sphinxsidebarwrapper {
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
width: 220px;
|
||||
height: 90%;
|
||||
overflow-y: auto;
|
||||
overflow-x: visible;
|
||||
top: 25px;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
div.sphinxsidebar {
|
||||
margin: 0;
|
||||
padding: 0.5em 15px 15px 0;
|
||||
width: 220px;
|
||||
float: right;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.sphinxsidebar a:hover {
|
||||
background-color: #d0d0d0;
|
||||
}
|
||||
|
||||
|
||||
div.sphinxsidebar h3, div.sphinxsidebar h4 {
|
||||
margin: 1em 0 0.5em 0;
|
||||
font-size: 1em;
|
||||
padding: 0.1em 0 0.1em 0.5em;
|
||||
color: white;
|
||||
border: 1px solid #86989B;
|
||||
background-color: #AFC1C4;
|
||||
}
|
||||
|
||||
div.sphinxsidebar h3 a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
div.sphinxsidebar ul {
|
||||
padding-left: 1.5em;
|
||||
margin-top: 7px;
|
||||
padding: 0;
|
||||
line-height: 130%;
|
||||
}
|
||||
|
||||
div.sphinxsidebar ul ul {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
background-color: rgb(49,94,97);
|
||||
color: #ffffff;
|
||||
padding: 3px 8px 3px 0;
|
||||
clear: both;
|
||||
font-size: 0.8em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.footer a {
|
||||
color: #86989B;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* -- body styles ----------------------------------------------------------- */
|
||||
|
||||
p {
|
||||
margin: 0.8em 0 0.5em 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgb(75,136,141);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #2491CF;
|
||||
}
|
||||
|
||||
div.body a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
padding: 0.7em 0 0.3em 0;
|
||||
font-size: 1.5em;
|
||||
color: #11557C;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 1.3em 0 0.2em 0;
|
||||
font-size: 1.35em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 1em 0 -0.3em 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
|
||||
color: black!important;
|
||||
}
|
||||
|
||||
h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
|
||||
display: none;
|
||||
margin: 0 0 0 0.3em;
|
||||
padding: 0 0.2em 0 0.2em;
|
||||
color: #aaa!important;
|
||||
}
|
||||
|
||||
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
|
||||
h5:hover a.anchor, h6:hover a.anchor {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
|
||||
h5 a.anchor:hover, h6 a.anchor:hover {
|
||||
color: #777;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
a.headerlink {
|
||||
color: #c60f0f!important;
|
||||
font-size: 1em;
|
||||
margin-left: 6px;
|
||||
padding: 0 4px 0 4px;
|
||||
text-decoration: none!important;
|
||||
}
|
||||
|
||||
a.headerlink:hover {
|
||||
background-color: #ccc;
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
cite, code, tt {
|
||||
font-family: 'Consolas', 'Deja Vu Sans Mono',
|
||||
'Bitstream Vera Sans Mono', monospace;
|
||||
font-size: 0.95em;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
tt {
|
||||
background-color: #f2f2f2;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
tt.descname, tt.descclassname, tt.xref {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid #abc;
|
||||
margin: 2em;
|
||||
}
|
||||
|
||||
a tt {
|
||||
border: 0;
|
||||
color: rgb(75,136,141);
|
||||
}
|
||||
|
||||
a tt:hover {
|
||||
color: #2491CF;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: 'Consolas', 'Deja Vu Sans Mono',
|
||||
'Bitstream Vera Sans Mono', monospace;
|
||||
font-size: 0.95em;
|
||||
letter-spacing: 0.015em;
|
||||
line-height: 120%;
|
||||
padding: 0.5em;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
pre a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
td.linenos pre {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
div.quotebar {
|
||||
background-color: #f8f8f8;
|
||||
max-width: 250px;
|
||||
float: right;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
div.topic {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
margin: 0 -0.5em 0 -0.5em;
|
||||
}
|
||||
|
||||
table td, table th {
|
||||
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||
}
|
||||
|
||||
div.admonition, div.warning {
|
||||
font-size: 0.9em;
|
||||
margin: 1em 0 1em 0;
|
||||
border: 1px solid #86989B;
|
||||
background-color: #f7f7f7;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.admonition p, div.warning p {
|
||||
margin: 0.5em 1em 0.5em 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.admonition pre, div.warning pre {
|
||||
margin: 0.4em 1em 0.4em 1em;
|
||||
}
|
||||
|
||||
div.admonition p.admonition-title,
|
||||
div.warning p.admonition-title {
|
||||
margin: 0;
|
||||
padding: 0.1em 0 0.1em 0.5em;
|
||||
color: white;
|
||||
border-bottom: 1px solid #86989B;
|
||||
font-weight: bold;
|
||||
background-color: #AFC1C4;
|
||||
}
|
||||
|
||||
div.warning {
|
||||
border: 1px solid #940000;
|
||||
}
|
||||
|
||||
div.warning p.admonition-title {
|
||||
background-color: #CF0000;
|
||||
border-bottom-color: #940000;
|
||||
}
|
||||
|
||||
div.admonition ul, div.admonition ol,
|
||||
div.warning ul, div.warning ol {
|
||||
margin: 0.1em 0.5em 0.5em 3em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.versioninfo {
|
||||
margin: 1em 0 0 0;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #DDEAF0;
|
||||
padding: 8px;
|
||||
line-height: 1.3em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
div.error {
|
||||
background-color: #F4F4AD;
|
||||
}
|
||||
|
||||
.correct {
|
||||
color: #84b8d9;
|
||||
}
|
||||
32
book/common/css/tabbedstuff.css
Normal file
32
book/common/css/tabbedstuff.css
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* Styles for the Runestone tabbed exhibit directive */
|
||||
|
||||
.tab-pane {
|
||||
padding: 20px 15px 10px 15px;
|
||||
}
|
||||
|
||||
.nav.nav-tabs {
|
||||
padding-top: 6px;
|
||||
background-color: #CFCCB8;
|
||||
border-color: #fbeed5;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.nav.nav-tabs li {
|
||||
margin-right: 1px;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.nav.nav-tabs li > a {
|
||||
background-color: #E6E2CC;
|
||||
border-bottom-color: #fcf8e3;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.nav-tabs > li > a:hover {
|
||||
border-color: #b4b19d;
|
||||
border-bottom-width:0;
|
||||
}
|
||||
|
||||
.nav.nav-tabs li.active > a {
|
||||
background-color: #faf7df;
|
||||
}
|
||||
65
book/common/css/user-highlights.css
Normal file
65
book/common/css/user-highlights.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
.my-highlighted-text{
|
||||
background-color:#FFFF99;
|
||||
}
|
||||
.social-highlighted-text{
|
||||
background-color:#FFCCCC;
|
||||
}
|
||||
.highlight-option-box{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
}
|
||||
.highlight-option-box li{
|
||||
height:24px;
|
||||
}
|
||||
.dropdown-menu{
|
||||
background-clip: padding-box;
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
float: left;
|
||||
left: 0;
|
||||
list-style: none outside none;
|
||||
margin: 1px 0 0;
|
||||
min-width: 160px;
|
||||
padding: 4px 0;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
.dropdown-menu ul {
|
||||
list-style: disc outside none;
|
||||
margin: 0 0 9px 25px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar-highlights{
|
||||
background-color:#FFFF99;
|
||||
}
|
||||
div.documentwrapper {
|
||||
border : 0 none;
|
||||
}
|
||||
div.bodywrapper {
|
||||
border-right: 0 none;
|
||||
}
|
||||
div.sphinxsidebar {
|
||||
border-left: 1px solid #CCCCCC;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.body>.section .section{
|
||||
padding-top: 1px;
|
||||
}
|
||||
#jump-to-chapter{
|
||||
border: 1px solid #CCCCCC;
|
||||
letter-spacing: 0.015em;
|
||||
line-height: 120%;
|
||||
padding: 0.5em;
|
||||
}
|
||||
#navigation-links{
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid #CCCCCC;
|
||||
padding:10px;
|
||||
margin:10px;
|
||||
}
|
||||
51
book/common/css/video.css
Normal file
51
book/common/css/video.css
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
.exercises {
|
||||
background-color:#f0ffff;
|
||||
}
|
||||
|
||||
|
||||
.active_out {
|
||||
background-color:#dcdcdc;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
margin: .75em 0;
|
||||
text-align: center;
|
||||
font: italic 13px/18px Cambria, Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
img.bookfig {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.video_popup {
|
||||
display: none;
|
||||
}
|
||||
.ac_caption {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ac_caption_text {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.cl_caption {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ac_caption:before {
|
||||
content: "ActiveCode: " counter(activecode) " ";
|
||||
counter-increment: activecode;
|
||||
}
|
||||
.cl_caption:before {
|
||||
content: "CodeLens: " counter(codelens) " ";
|
||||
counter-increment: codelens;
|
||||
}
|
||||
|
||||
body {
|
||||
counter-reset: activecode codelens;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue