summaryrefslogtreecommitdiff
path: root/resources/style.css
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-02-22 04:33:46 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2013-02-22 04:33:46 +0100
commita80a8940d673bde0129fb528e45dc9103891d6ba (patch)
treedb22b453b0630f9e530066a6baded30b72e463e8 /resources/style.css
parent34eb920174c529ed6c237d095311f8c3536ffcc1 (diff)
downloadscala-a80a8940d673bde0129fb528e45dc9103891d6ba.tar.gz
scala-a80a8940d673bde0129fb528e45dc9103891d6ba.tar.bz2
scala-a80a8940d673bde0129fb528e45dc9103891d6ba.zip
Typographical adjustments
- Don't show underline of links by default, but on :hover, :focus - Add “Syntax” to syntax snippets - Remove superfluous bullet points from the TOC - Increase margin-top of h1
Diffstat (limited to 'resources/style.css')
-rw-r--r--resources/style.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/resources/style.css b/resources/style.css
index ab4ca9d45b..17d13741a7 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -6,6 +6,10 @@ header .date {
text-align: center;
}
+nav ul {
+ list-style-type: none;
+}
+
.container > h1 a,
.container > h2 a,
.container > h3 a,
@@ -37,6 +41,13 @@ pre.math {
border: 0;
}
+pre[class="grammar"]:before {
+ content: "Syntax\A";
+ font-family: Heuristica;
+ font-size:110%;
+ font-weight:bold;
+}
+
code > span {
font-weight: normal !important;
}
@@ -61,7 +72,7 @@ ol[type="1"] > li {
}
ol[type="1"] > li:before {
- content: "Example ";
+ content: "Example";
font-weight:bold;
}