Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Docs] Clean up the <code> styling on doc pages.
  • Loading branch information
chriseppstein committed May 2, 2010
1 parent 3b3fcf2 commit 2754f2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions doc-src/content/stylesheets/_base.sass
Expand Up @@ -62,3 +62,7 @@ $alt: #005498
#skip-links
position: relative
+skip-links

=code-text
font-family: monospace

6 changes: 3 additions & 3 deletions doc-src/content/stylesheets/_reference.scss
Expand Up @@ -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 {
Expand Down
3 changes: 0 additions & 3 deletions doc-src/content/stylesheets/screen.sass
Expand Up @@ -243,9 +243,6 @@ aside[role="sidebar"] + article
a.selected:after
content: "«"

=code-text
font-family: monospace

#code
+full(12)
+pie-clearfix
Expand Down

0 comments on commit 2754f2d

Please sign in to comment.