Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix style for code elements.

  • Loading branch information...
commit 58b1ca1ac6c56f13f5cb5dce2f6b5dbed071cdef 1 parent 5aadba9
@bobthecow authored
Showing with 12 additions and 1 deletion.
  1. +11 −0 content/style/content.less
  2. +1 −1  layouts/default.erb
View
11 content/style/content.less
@@ -67,6 +67,17 @@ body {
padding-bottom: @48px;
}
+code {
+ font-family: 'Source Code Pro';
+ font-weight: 400;
+ white-space: nowrap;
+ padding: 0 @1px;
+ color: @black;
+ background-color: @bg;
+ border: 1px solid darken(@bg, 5%);
+ .border-radius(@1px);
+}
+
a {
&:link, &:visited {
color: @mongoGreen;
View
2  layouts/default.erb
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= @item[:title] %></title>
<link rel="shortcut icon" type="image/png" href="/favicon.png">
- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Rokkitt:400,700">
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Rokkitt:400,700|Source+Code+Pro:400">
<link rel="stylesheet" href="/style.css">
<!--[if lt IE 10]><link rel="stylesheet" href="/ie.css"><![endif]-->
<!--[if lt IE 9]><script src="/html5.js"></script><![endif]-->
Please sign in to comment.
Something went wrong with that request. Please try again.