Permalink
Browse files

Font-family and line-height changes for readability.

  • Loading branch information...
Rui Jiang
Rui Jiang committed Dec 8, 2011
1 parent cc41dda commit be6f92a0af9083b712261f19607343b717812ea5
Showing with 14 additions and 3 deletions.
  1. +14 −3 app/assets/stylesheets/base/global.scss
@@ -10,6 +10,9 @@ $light_paper: #faf8eb;
$dark_brown: #231f20;
$red_orange: #f7481b;
+/* Fonts */
+$monospace: anonymous-pro, 'Courier New', monospace;
+
html {
height: 100%;
}
@@ -51,8 +54,12 @@ p {
margin-bottom: 15px;
}
+code {
+ font-family: $monospace;
+}
+
pre {
- font-family: anonymous-pro, 'Courier New', monospace;
+ font-family: $monospace;
background: $brown;
color: $white;
padding: 4px 8px;
@@ -113,12 +120,12 @@ section.page {
div.content {
background: url('/images/backgrounds/paper_bg.png');
min-height: 300px;
- font-family: adobe-text-pro, Georgia, serif;
+ font-family: ff-tisa-web-pro, Georgia, serif;
color: $dark_brown;
padding: 50px 0;
font-size: 16px;
- line-height: 22px;
+ line-height: 24px;
a {
color: $red_orange;
@@ -127,6 +134,10 @@ section.page {
a:hover {
color: $dark_brown;
}
+
+ p code {
+ font-size: 14px;
+ }
}
div.bottom_pattern {

0 comments on commit be6f92a

Please sign in to comment.