Skip to content
Snippets Groups Projects
Commit 99a7cd43 authored by Greg Wilson's avatar Greg Wilson
Browse files

Getting the pre-formatted code's color right

parent 576190a8
Branches
Tags
No related merge requests found
/* pre blocks inherit color from parent */
pre {
color: inherit;
}
/* Comments in code. */
.comment {
color: purple;
......@@ -14,40 +19,12 @@
margin-left: 20px;
}
div.in:before {
content: "";
display: block;
width: 0;
height: 0;
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
border-left: 12px solid #727272;
position: relative;
left:-16px;
top:10px;
float:left;
}
/* Program output. */
.out {
color: darkblue;
margin-left: 20px;
}
div.out:before {
content: "";
display: block;
width: 0;
height: 0;
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
border-right: 12px solid #727272;
position: relative;
left:-16px;
top:10px;
float:left;
}
/* Error output. */
.err {
color: darkred;
......@@ -67,11 +44,5 @@ div.challenges {}
/* Key points in summary. */
div.keypoints {}
/* Main lesson. */
div.lesson {}
/* Learning objectives. */
div.objectives {}
/* Continuation paragraph. */
p.continue {}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment