-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
113 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,126 +1,47 @@ | ||
code { | ||
color: #333333; | ||
/* Comments in code. */ | ||
.comment { | ||
color: purple; | ||
} | ||
|
||
/* Code sample */ | ||
pre.sourceCode, | ||
pre.input { | ||
color: ForestGreen; | ||
} | ||
pre.output { | ||
color: MediumBlue; | ||
} | ||
pre.error { | ||
color: Red; | ||
/* Highlighted changes in code. */ | ||
.highlight { | ||
background-color: mistyrose; | ||
} | ||
|
||
.objectives, .keypoints, .callout, .challenge { | ||
margin: 1em 0; | ||
padding: 0em 1em; | ||
/* Manual input. */ | ||
.in { | ||
color: darkgreen; | ||
} | ||
|
||
.objectives h2:first-child, | ||
.keypoints h2:first-child, | ||
.callout h2:first-child, | ||
.challenge h2:first-child { | ||
margin-top: 10px; | ||
/* Program output. */ | ||
.out { | ||
color: darkblue; | ||
font-style: italic; | ||
} | ||
|
||
.objectives, .keypoints { | ||
background-color: azure; | ||
border: 5px solid azure; | ||
/* Error output. */ | ||
.err { | ||
color: darkred; | ||
font-style: italic; | ||
font-weight: bold; | ||
} | ||
|
||
.callout { | ||
background-color: #EEE; | ||
border: 5px solid #EEE; | ||
/* Explanatory call-out boxes. */ | ||
div.box { | ||
background-color: lightgray; | ||
} | ||
|
||
.challenge { | ||
background-color: #CCFFCC; | ||
border: 5px solid #CCFFCC; | ||
} | ||
/* Challenge questions. */ | ||
div.challenges {} | ||
|
||
/* Tables used for displaying choices in challenges. */ | ||
table.choices tr td { | ||
vertical-align : top; | ||
} | ||
/* Key points in summary. */ | ||
div.keypoints {} | ||
|
||
/* Database tables do _not_ have double borders */ | ||
table.outlined { | ||
border-collapse: collapse; | ||
} | ||
|
||
/* Printing */ | ||
@media print { | ||
h1 { | ||
font-size: 16pt; | ||
line-height: 18pt; | ||
} | ||
|
||
h2,h3,h4,h5,h6 { | ||
font-size: 12pt; | ||
line-height: 13pt; | ||
} | ||
|
||
/* Objectives, Callout Box and Challenges */ | ||
.objectives, .keypoints { | ||
background-color: unset; | ||
border: 5px solid; | ||
} | ||
|
||
.callout { | ||
background-color: unset; | ||
border: 5px solid; | ||
} | ||
|
||
.challenge { | ||
background-color: unset; | ||
border: 5px solid; | ||
} | ||
|
||
p,ul,ol,li,pre,code { | ||
font-size: 8pt; | ||
line-height: 9pt; | ||
} | ||
|
||
code { | ||
padding: 0px; | ||
border: 0px; | ||
background: unset; | ||
} | ||
|
||
pre.sourceCode::before, | ||
pre.input::before. { | ||
content: "Input:"; | ||
} | ||
|
||
pre.output::before { | ||
content: "Output:"; | ||
} | ||
|
||
pre.error::before { | ||
content: "Error:"; | ||
} | ||
|
||
pre.sourceCode code, | ||
pre.input code, | ||
pre.output code, | ||
pre.error code { | ||
display: block; | ||
margin-top: 1em; | ||
margin-left: 2em; | ||
} | ||
|
||
#github-ribbon { | ||
display: none; | ||
} | ||
|
||
.banner { | ||
display: none; | ||
} | ||
|
||
.footer { | ||
display: none; | ||
} | ||
} | ||
/* Main lesson. */ | ||
div.lesson {} | ||
|
||
/* Learning objectives. */ | ||
div.objectives {} | ||
|
||
/* Continuation paragraph. */ | ||
p.continue {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ div.footer { | |
padding: 4px 10px 7px 10px; | ||
border-top: 1px solid #A6A6A6; | ||
text-align: right; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters