Permalink
Browse files

Mobile styles

  • Loading branch information...
1 parent 3c6d9b8 commit 42d9494f65f81f327680839e4f066a51f4b74302 Anatoliy Chakkaev committed May 12, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −0 app/views/layouts/cms_layout.ejs
  2. +2 −1 public/stylesheets/style.css
@@ -4,6 +4,7 @@
<title><%= title %></title>
<%- stylesheet_link_tag('reset', 'style') %>
<%- javascript_include_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', 'rails', 'application') %>
+ <meta name="viewport" content="width=480, initial-scale=0.42">
<script type="text/javascript">
var _gaq = _gaq || [];
@@ -3,7 +3,7 @@ body {
background: #f3f3f3;
}
body, table, input, select {
- font-family: DejaVu Sans Mono, fixed;
+ font-family: DejaVu Sans Mono, verdana, fixed;
font-size: 12pt;
line-height: 150%;
color: #444;
@@ -122,6 +122,7 @@ pre {
padding: 10px;
line-height: 100%;
border-radius: 2px;
+ overflow: auto;
}
pre code {

0 comments on commit 42d9494

Please sign in to comment.