Skip to content
Browse files

Use a free Googlefont for the header and less TYPE SOMETHING YOU IDIOT

  • Loading branch information...
1 parent 3d7c60f commit 4114ab47d47a9570d4aed5f6f587ff9befffa7b8 @jamiew committed Feb 8, 2011
Showing with 21 additions and 2 deletions.
  1. +14 −0 public/screen.css
  2. +1 −1 views/index.erb
  3. +5 −0 views/layout.erb
  4. +1 −1 views/new.erb
View
14 public/screen.css
@@ -8,6 +8,20 @@ a { color: #000; }
a:hover { color: #005; }
a:active { color: #f0f; }
+h1#title {
+ /* THANKS GOOGLE... ASSHOLES */
+ font-family: 'Merriweather', serif;
+ font-size: 59px;
+ font-style: normal;
+ font-weight: 400;
+ text-shadow: none;
+ text-decoration: none;
+ text-transform: none;
+ letter-spacing: 0em;
+ word-spacing: 0em;
+ line-height: 1.2;
+}
+
#error {
text-align: center;
}
View
2 views/index.erb
@@ -1,4 +1,4 @@
-<h1>HERE'S SOME FRIGGIN POSTS</h1>
+<h2>HERE'S SOME FRIGGIN POSTS</h2>
<div id="posts">
<% @posts.each do |post| %>
<%= erb :_post, :locals => {:post => post} %>
View
5 views/layout.erb
@@ -5,6 +5,8 @@
<link href="screen.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8">
<script src="jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="application.js" type="text/javascript" charset="utf-8"></script>
+ <link href="//fonts.googleapis.com/css?family=Merriweather:regular" rel="stylesheet" type="text/css" >
+
<% if ENV['RACK_ENV'] == 'production' %>
<script type="text/javascript">
var _gaq = _gaq || [];
@@ -19,6 +21,9 @@
<% end %>
</head>
<body>
+ <div id="header">
+ <h1 id="title">Randomtyper</h1>
+ </div>
<div id="container">
<%= yield %>
</div>
View
2 views/new.erb
@@ -1,5 +1,5 @@
<div class="form">
- <h1>TYPE SOMETHING YOU IDIOT</h1>
+ <h2>Test out your keyboard</h2>
<form action="/" method="POST">
<textarea name="snippet_body" id="snippet_body" rows="8"></textarea>

0 comments on commit 4114ab4

Please sign in to comment.
Something went wrong with that request. Please try again.