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