From 2754f2df48a257586241fbc4d6918584635536d2 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 1 May 2010 23:53:03 -0700 Subject: [PATCH] [Docs] Clean up the styling on doc pages. --- doc-src/content/stylesheets/_base.sass | 4 ++++ doc-src/content/stylesheets/_reference.scss | 6 +++--- doc-src/content/stylesheets/screen.sass | 3 --- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc-src/content/stylesheets/_base.sass b/doc-src/content/stylesheets/_base.sass index d919d188..e9605ab4 100644 --- a/doc-src/content/stylesheets/_base.sass +++ b/doc-src/content/stylesheets/_base.sass @@ -62,3 +62,7 @@ $alt: #005498 #skip-links position: relative +skip-links + +=code-text + font-family: monospace + diff --git a/doc-src/content/stylesheets/_reference.scss b/doc-src/content/stylesheets/_reference.scss index 331592fe..db6cad2d 100644 --- a/doc-src/content/stylesheets/_reference.scss +++ b/doc-src/content/stylesheets/_reference.scss @@ -55,14 +55,14 @@ body.reference { } body.docs { - .code { + code { @include code-text; border: 1px solid #ccc; padding: 2px; background-color: #e7e7e7; } - pre { @extend .code; } - p, ol, ul, dl, table { code { @extend .code; }} + code code { border-width: 0px; } + pre { @extend code; } } table.constants { diff --git a/doc-src/content/stylesheets/screen.sass b/doc-src/content/stylesheets/screen.sass index d8a52445..47ddec44 100644 --- a/doc-src/content/stylesheets/screen.sass +++ b/doc-src/content/stylesheets/screen.sass @@ -243,9 +243,6 @@ aside[role="sidebar"] + article a.selected:after content: "«" -=code-text - font-family: monospace - #code +full(12) +pie-clearfix