Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improve home page

  • Loading branch information...
commit 64916aac3dcf5cb8d54fafbff53ee2cb7dc0606b 1 parent 9b476ad
Mislav Marohnić authored
Showing with 31 additions and 8 deletions.
  1. +18 −7 views/index.erb
  2. +3 −0  views/layout.erb
  3. +10 −1 views/style.sass
25 views/index.erb
View
@@ -16,12 +16,23 @@
</form>
</div>
- <p>Coming next: PDF, EPUB &amp; Kindle formats</p>
+ <div class=row>
+ <aside id=featured class=span8>
+ <h2>Featured documents:</h2>
+ <ul>
+ <li><a href="<%= url '/RFC2616' %>">RFC 2616: HTTP/1.1</a></li>
+ <li><a href="<%= url '/RFC3986' %>">RFC 3986: URI syntax</a></li>
+ <li><a href="<%= url '/RFC2460' %>">RFC 2460: IPv6 specification</a></li>
+ <li><a href="<%= url '/RFC3920' %>">RFC 3920: XMPP core</a></li>
+ </ul>
+ </aside>
- <footer>
- <p>
- By <a href="http://mislav.uniqpath.com">Mislav</a> ·
- <a href="https://github.com/mislav/rfc">Source code on GitHub</a>.
- </p>
- </footer>
+ <footer class=span4>
+ <p>Coming next: PDF, EPUB &amp; Kindle formats</p>
+ <p>
+ By <a href="http://mislav.uniqpath.com">Mislav</a> ·
+ <a href="https://github.com/mislav/rfc">Source code on GitHub</a>.
+ </p>
+ </footer>
+ </div>
</div>
3  views/layout.erb
View
@@ -2,6 +2,9 @@
<html>
<head>
<title><%= page_title %></title>
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
<%#= javascript_includes %>
<link rel=stylesheet type="text/css" href=/style.css>
</head>
11 views/style.sass
View
@@ -9,7 +9,7 @@ $sidebarWidth: 230px
padding-top: 2em
h1
- margin-bottom: 1em
+ margin-bottom: .8em
h1 em
font-style: normal
text-transform: uppercase
@@ -20,11 +20,20 @@ $sidebarWidth: 230px
font-weight: bold
border-bottom-color: $grayLight
+ footer
+ padding-top: .5em
+
#search
h2
font-size: 16px
line-height: 1.1
+#featured ul
+ font-size: 120%
+ line-height: 1.6
+ margin-top: .6em
+ margin-bottom: 2em
+
figure, div.figure
page-break-inside: avoid
Please sign in to comment.
Something went wrong with that request. Please try again.