Permalink
Browse files

Add styling for <code> tags

  • Loading branch information...
Tom Dale
Tom Dale committed Feb 27, 2012
1 parent d19f932 commit 59cfdd37a11493ad28b5b13d954a06316cf2a87a
Showing with 11 additions and 2 deletions.
  1. +1 −1 source/stylesheets/_base.scss
  2. +10 −1 source/stylesheets/site.css.scss
@@ -1,4 +1,4 @@
-$base-color: #cd4f1a;
+$base_color: #cd4f1a;
$complement_support_color : adjust_hue($base_color, 180 + 30);
$complement_accent_color : adjust_hue($base_color, 180 - 30);
@@ -2,6 +2,8 @@
@import "compass";
@import "base";
+$code_background: #f2f2f2;
+
body {
background: url(/images/groovepaper.png);
margin: 65px 0 0 0;
@@ -136,6 +138,13 @@ a {
color: $complement_support_color;
}
+code {
+ font-family: "Menlo", "Courier", monospace;
+ background-color: $code_background;
+ padding: 2px 3px;
+ @include border-radius(4px);
+}
+
#download {
width: 460px;
height: 125px;
@@ -220,7 +229,7 @@ a {
.highlight {
padding: 13px;
@include border-radius(4px);
- background-color: rgba(50,50,50,0.1);
+ background-color: $code_background;
font-size: 12px;
font-family: Menlo, monospace;
line-height: 16px;

0 comments on commit 59cfdd3

Please sign in to comment.