Permalink
Browse files

search results are now DIAMONDS

  • Loading branch information...
1 parent 7c50968 commit e2a65605d6fa8a17dbadc1b4c9f2328a4825be45 @mislav committed May 15, 2012
Showing with 15 additions and 1 deletion.
  1. +3 −1 views/search.erb
  2. +12 −0 views/style.sass
View
@@ -16,9 +16,11 @@
<ol>
<% for rfc in @results %>
<li<%= ' class=obsoleted' if rfc.obsoleted? %>>
+ <h2><a href="<%= rfc_path rfc %>"><%= rfc.title %></a></h2>
+
<a class=document-id href="<%= rfc_path rfc %>"><%= display_document_id rfc %></a>
<% if rfc.obsoleted? %><span class="label label-warning">obsolete</span><% end %>
- <h2><a href="<%= rfc_path rfc %>"><%= rfc.title %></a></h2>
+
<%= display_abstract rfc.abstract %>
</li>
<% end %>
View
@@ -53,10 +53,22 @@ $phonePadding: 8px
footer
padding-top: .5em
+.label
+ cursor: default
+
#search
h2
font-size: 16px
line-height: 1.1
+ margin-bottom: .2em
+
+ li
+ .label
+ vertical-align: baseline
+ p
+ margin-top: .2em
+ + li
+ margin-top: .5em
#featured ul
font-size: 120%

0 comments on commit e2a6560

Please sign in to comment.