summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIain McGinniss <iainmcgin@gmail.com>2012-10-19 21:22:41 +0100
committerIain McGinniss <iainmcgin@gmail.com>2012-10-19 21:22:41 +0100
commit7d50d8f26692fdf588d8dbca18095878f03a6abd (patch)
tree4cebf3ad985b97f4291af6f69525272aeb9e5fc4 /resources
parentf938a7c834f4abe835048063306af6010a60c73c (diff)
downloadscala-7d50d8f26692fdf588d8dbca18095878f03a6abd.tar.gz
scala-7d50d8f26692fdf588d8dbca18095878f03a6abd.tar.bz2
scala-7d50d8f26692fdf588d8dbca18095878f03a6abd.zip
- Grouping of text for examples in Lexical Syntax chapter fixed
- Style of examples elements changed to delineate grouped examples.
Diffstat (limited to 'resources')
-rw-r--r--resources/style.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/style.css b/resources/style.css
index 9ef99126af..cfe9053bb7 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -39,9 +39,15 @@ code {
/* examples */
ol[type="1"] {
+ list-style-type: none;
+ margin-left: 0;
+}
+
+ol[type="1"] li {
+ margin-top: 1em;
+ padding: 1em;
background-color: #E5ECF9;
border: 1px dashed black;
- list-style-type: none;
}
ol[type="1"] li:before {