Browse files

updating newgem

  • Loading branch information...
1 parent a07f13f commit 53ead4a17efe6c38e35bdb487b6d0d2ff874daaa @fabiokung committed Jun 24, 2009
Showing with 38 additions and 15 deletions.
  1. +2 −2 spec/spec_helper.rb
  2. +31 −10 website/stylesheets/screen.css
  3. +5 −3 website/template.html.erb
View
4 spec/spec_helper.rb
@@ -1,12 +1,12 @@
begin
require 'spec'
rescue LoadError
- require 'rubygems'
+ require 'rubygems' unless ENV['NO_RUBYGEMS']
gem 'rspec'
require 'spec'
end
$:.unshift(File.dirname(__FILE__) + '/../lib')
$:.unshift(File.dirname(__FILE__) + '/../jetty-libs')
-require 'jetty_rails'
+require 'jetty-rails'
require 'yaml'
View
41 website/stylesheets/screen.css
@@ -1,5 +1,5 @@
body {
- background-color: #E1D1F1;
+ background-color: #8DBD82;
font-family: "Georgia", sans-serif;
font-size: 16px;
line-height: 1.6em;
@@ -24,7 +24,7 @@ li {
}
a {
color: #5E5AFF;
- background-color: #DAC;
+ background-color: #A1DDB1;
font-weight: normal;
text-decoration: underline;
}
@@ -39,7 +39,7 @@ blockquote {
}
#main {
- width: 45em;
+ width: 55em;
padding: 0;
margin: 0 auto;
}
@@ -83,6 +83,7 @@ pre, code {
line-height: 1.4em;
color: #ff8;
background-color: #111;
+ width: 40em;
padding: 2px 10px 2px 10px;
}
.comment { color: #aaa; font-style: italic; }
@@ -96,17 +97,21 @@ pre, code {
.number { color: #F99; }
.expr { color: #227; }
-#version {
+.sidebar {
float: right;
+}
+
+#version {
+ width: 217px;
text-align: right;
font-family: sans-serif;
font-weight: normal;
- background-color: #B3ABFF;
color: #141331;
padding: 15px 20px 10px 20px;
margin: 0 auto;
margin-top: 15px;
- border: 3px solid #141331;
+ background-color: #9A5535;
+ border: 3px solid #7E393E;
}
#version .numbers {
@@ -119,20 +124,36 @@ pre, code {
#version p {
text-decoration: none;
- color: #141331;
- background-color: #B3ABFF;
+ color: #F1F4FF;
+ background-color: #9A5535;
margin: 0;
padding: 0;
}
#version a {
text-decoration: none;
- color: #141331;
- background-color: #B3ABFF;
+ color: #F1F4FF;
+ background-color: #9A5535;
}
.clickable {
cursor: pointer;
cursor: hand;
}
+#twitter_search {
+ margin: 40px 0 10px 15px;
+ color: #F1F4FF;
+ background-color: #9A5535;
+ border: 3px solid #7E393E;
+}
+
+#twitter_search h3 {
+ color: #F1F4FF;
+ margin-bottom: 0px;
+}
+
+#twitter_search center b {
+ display: none;
+}
+
View
8 website/template.html.erb
@@ -31,9 +31,11 @@
<div id="main">
<h1><%= title %></h1>
- <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
- <p>Get Version</p>
- <a href="<%= download %>" class="numbers"><%= version %></a>
+ <div class="sidebar">
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
+ <p>Get Version</p>
+ <a href="<%= download %>" class="numbers"><%= version %></a>
+ </div>
</div>
<%= body %>
<p class="coda">

0 comments on commit 53ead4a

Please sign in to comment.