From b4db046db8598c09bee699e56915a783326bdbc5 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 1 May 2010 15:21:07 -0700 Subject: [PATCH] [Docs] Better styling of code in the various places it can appear. --- doc-src/content/stylesheets/_reference.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc-src/content/stylesheets/_reference.scss b/doc-src/content/stylesheets/_reference.scss index a97606b0..331592fe 100644 --- a/doc-src/content/stylesheets/_reference.scss +++ b/doc-src/content/stylesheets/_reference.scss @@ -55,12 +55,14 @@ body.reference { } body.docs { - p code, pre { + .code { @include code-text; border: 1px solid #ccc; padding: 2px; background-color: #e7e7e7; } + pre { @extend .code; } + p, ol, ul, dl, table { code { @extend .code; }} } table.constants {