Skip to content
Browse files

Minor layout fixes.

  • Loading branch information...
1 parent 5aef855 commit b605b42f481255d8cc36e83e8d2d44b69b5457cb @zk committed
View
13 app/views/_recently_updated.html.erb
@@ -40,12 +40,15 @@ recently_updated.each do |u|
<% func = u.from_function %>
<div class="recent_see_also">
- <span class="user">
- <%= link_to u.user.login, :controller => 'user', :action => 'profile', :login => u.user.login %>
- </span>
- <%= (u.created_at == u.updated_at) ? "added a see also to" : "updated a see also on" %>
+ on
<a href="<%= func.href %>"><span class="ns"><%= func.namespace.name %>/</span><span class="name"><%= func.name %></span></a>
- <%= time_ago_or_time_stamp(u.updated_at)%>
+ <div class="timestamp">
+ by
+ <span class="user">
+ <%= link_to u.user.login, :controller => 'user', :action => 'profile', :login => u.user.login %>
+ </span>
+ <%= time_ago_or_time_stamp(u.updated_at)%>
+ </div>
</div>
<% end %>
<% end %>
View
6 app/views/layouts/main.html.erb
@@ -90,9 +90,9 @@
showTab: true,
/* optional */
alignment: 'right',
- background_color:'#666',
+ background_color:'#ccc',
text_color: 'white',
- hover_color: '#06C',
+ hover_color: '#888',
lang: 'en'
};
@@ -132,6 +132,8 @@
<div class="clear"></div>
<div class="footer">
&copy; 2010 Zachary Kim <a href="http://zacharykim.com">http://zacharykim.com</a>
+ <br />
+ <br />
</div>
</body>
</html>
View
6 app/views/main/index.html.erb
@@ -65,7 +65,7 @@
</div>
<h2>3rd Party Libraries</h2>
- <p class="callout">The following libraries were imported as part of alpha work done to explore 3rd party library support for ClojureDocs, and as a result may not be up to date. For more information on where 3rd party library support fits in to the overall ClojureDocs plan, please see <a href="http://groups.google.com/group/clojuredocsorg/browse_thread/thread/af7edbf85a6607c4">this form post</a>.</p>
+ <p class="callout">The following libraries were imported as part of alpha work done to explore 3rd party library support for ClojureDocs, and as a result may not be up to date. Please see <a href="http://groups.google.com/group/clojuredocsorg/browse_thread/thread/af7edbf85a6607c4">this form post</a> for more information on where 3rd party library support fits into the overall ClojureDocs plan.</p>
<div class="grid_4 alpha">
<h4>Meta</h4>
<div class="library">
@@ -135,7 +135,9 @@
<a href="/libs">All Libraries &gt;&gt;</a>
</div>
</div>
-
+ <div class="clear"></div>
+ <br />
+ <br />
</div>
<div class="grid_6 prefix_1">
<div class="top_contributors">
View
6 public/javascripts/cd.js
@@ -128,8 +128,10 @@ CD.Examples = function() {
var textarea = el.find("textarea")
function updatePreview() {
- preview.html("<pre class='brush: clojure'>" + textarea.val().replace(/</g, "&lt;").replace(/>/g, "&gt;") + "</pre>")
- SyntaxHighlighter.highlight(preview)
+ if(textarea.val()) {
+ preview.html("<pre class='brush: clojure'>" + textarea.val().replace(/</g, "&lt;").replace(/>/g, "&gt;") + "</pre>")
+ SyntaxHighlighter.highlight(preview)
+ }
}
textarea.keyup(function() {
View
10 public/stylesheets/main.css
@@ -54,10 +54,12 @@
border-right: solid #ccc 1px;
border-bottom: solid #ccc 1px;
padding: 5px;
- -moz-border-radius: 0px 12px;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -moz-border-radius-bottomright: 3px;
-webkit-border-bottom-left-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-
}
.user_area_gravatar {
@@ -72,6 +74,10 @@
color: blue;
}
+#main_search {
+ padding-left: 3px;
+}
+
.other_content {
background-color: #f8f8f8;
border-top: solid #ccc 1px;

0 comments on commit b605b42

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