John Guidry avatar John Guidry committed bbee653

Add Inconsolata monospace font for code blocks. Change normal font to Crimson Text.

Comments (0)

Files changed (2)

content/assets/css/stylesheet.scss

 body {
   @include grid-container;
 
-  font-family: 'Droid Sans', arial, serif;
+  font-family: 'Crimson Text', arial, serif;
   font-size: 16px;
 }
 
 .post-body pre {
   @include grid(4);
   @include grid-push(2);
+
 }
+.post-body code {
+  font-family: 'Inconsolata', sans-serif;
+}

layouts/default.haml

           :href => 'http://fonts.googleapis.com/css?family=Orbitron:500&v1'}
     %link{:rel => 'stylesheet',
           :type => 'text/css',
-          :href => 'http://fonts.googleapis.com/css?family=Droid+Sans&v1'}
+          :href => 'http://fonts.googleapis.com/css?family=Crimson+Text:400,600italic&v2'}
+    %link{:rel => 'stylesheet',
+          :type => 'text/css',
+          :href => 'http://fonts.googleapis.com/css?family=Inconsolata&v2'}
   %body
     #header
       %h1
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.