diff --git a/lesson.css b/lesson.css index 12ba83a2a928d477f0351443c076254aff454abc..b97b17a253e0811e6fb3ac3a20430d5599b2c657 100644 --- a/lesson.css +++ b/lesson.css @@ -11,12 +11,41 @@ /* Manual input. */ .in { color: darkgreen; + 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; - font-style: italic; + 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. */ diff --git a/swc.css b/swc.css index 12ddde7a87f6b0ff30a016bc8a191a77fc481d46..3bb49a3683a72be1fd37f14ab32047c460fd78af 100644 --- a/swc.css +++ b/swc.css @@ -23,17 +23,6 @@ div.chapter h2 { background-color: azure; } -/* Comments in code. */ -.comment { - color: purple; -} - -/* Error messages. */ -.err { - color: darkred; - font-style: italic; -} - /* Things to fix. */ .fixme { text-decoration: underline; @@ -41,22 +30,6 @@ div.chapter h2 { background-color: lightgray; } -/* Highlighted changes in code. */ -.highlight { - background-color: mistyrose; -} - -/* Manual input. */ -.in { - color: darkgreen; -} - -/* Program output. */ -.out { - color: darkblue; - font-style: italic; -} - /* Putting shadows around things. */ .shadow { -moz-box-shadow: 0 0 30px 5px #999;