From 34eb920174c529ed6c237d095311f8c3536ffcc1 Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Fri, 22 Feb 2013 04:17:40 +0100 Subject: Fix fonts to enable both old-style and lining numerals CSS is adapted so thet old-style numerals are only used in the text body, not headings or lists. --- resources/Heuristica-Bold.woff | Bin 109784 -> 106188 bytes resources/Heuristica-BoldItalic.woff | Bin 108416 -> 104316 bytes resources/Heuristica-Regular.woff | Bin 146792 -> 141416 bytes resources/Heuristica-RegularItalic.woff | Bin 108852 -> 104700 bytes resources/style.css | 7 +++++++ 5 files changed, 7 insertions(+) diff --git a/resources/Heuristica-Bold.woff b/resources/Heuristica-Bold.woff index 570c956738..904579683d 100644 Binary files a/resources/Heuristica-Bold.woff and b/resources/Heuristica-Bold.woff differ diff --git a/resources/Heuristica-BoldItalic.woff b/resources/Heuristica-BoldItalic.woff index f16d85a365..a3c5234453 100644 Binary files a/resources/Heuristica-BoldItalic.woff and b/resources/Heuristica-BoldItalic.woff differ diff --git a/resources/Heuristica-Regular.woff b/resources/Heuristica-Regular.woff index 7c1ed46798..f5c1f8b2db 100644 Binary files a/resources/Heuristica-Regular.woff and b/resources/Heuristica-Regular.woff differ diff --git a/resources/Heuristica-RegularItalic.woff b/resources/Heuristica-RegularItalic.woff index 9f89dec97f..d2c8664593 100644 Binary files a/resources/Heuristica-RegularItalic.woff and b/resources/Heuristica-RegularItalic.woff differ diff --git a/resources/style.css b/resources/style.css index 3b753b563d..ab4ca9d45b 100644 --- a/resources/style.css +++ b/resources/style.css @@ -16,6 +16,13 @@ header .date { color: #111; } +p { + -moz-font-feature-settings: "onum"; + -ms-font-feature-settings: "onum"; + -webkit-font-feature-settings: "onum"; + font-feature-settings: "onum"; +} + pre { margin-left: 1em; margin-right: 1em; -- cgit v1.2.3 From a80a8940d673bde0129fb528e45dc9103891d6ba Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Fri, 22 Feb 2013 04:33:46 +0100 Subject: Typographical adjustments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- resources/blueprint-screen.css | 6 +++--- resources/style.css | 13 ++++++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/blueprint-screen.css b/resources/blueprint-screen.css index a34d48e39a..2e3600079f 100644 --- a/resources/blueprint-screen.css +++ b/resources/blueprint-screen.css @@ -28,7 +28,7 @@ a img {border:none;} html {font-size:100.01%;} body {color:#222;background:#fff;font-family:Heuristica,Georgia,serif;} h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;} -h1 {font-size:3em;line-height:1;margin-bottom:0.5em;} +h1 {font-size:3em;line-height:1;margin-top:1em;margin-bottom:0.5em;} h2 {font-size:2em;margin-bottom:0.75em;} h3 {font-size:1.5em;line-height:1;margin-bottom:1em;} h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;} @@ -40,8 +40,8 @@ p {margin:0 0 0.5em;} p .left {margin:0.5em 0.5em 0.5em 0;padding:0;} .right {float:right !important;} p .right {margin:0.5em 0 0.5em 0.5em;padding:0;} -a:focus, a:hover {color:#09f;} -a {color:#06c;text-decoration:underline;} +a:focus, a:hover {color:#09f;text-decoration:underline;} +a {color:#06c;text-decoration:none;} blockquote {margin:1.5em;color:#666;font-style:italic;} strong, dfn {font-weight:bold;} em, dfn {font-style:italic;} 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; } -- cgit v1.2.3