Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 6c8e212

Browse files
committed
add sidebar and new styles
1 parent f840a9e commit 6c8e212

8 files changed

Lines changed: 520 additions & 47 deletions

File tree

_layouts/default.html

Lines changed: 94 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -19,47 +19,106 @@
1919
</head>
2020

2121
<body>
22-
<div class="container">
23-
<div class="span-21" id="header">
24-
<div class="span-10">
25-
<a href="/"><img src="../images/develop-github.png" alt="github learn logo" /></a>
26-
</div>
2722

28-
<div class="span-11 last">
29-
<div id="links">
30-
<a href="http://github.com">home</a>
31-
<a href="http://github.com/login">login</a>
32-
<a href="http://github.com/signup">signup!</a>
33-
</div>
23+
<div id="header-wrapper">
24+
<div id="header">
25+
<div>
26+
<a class="logo" href="/"><img src="/images/logo.png" /></a>
27+
<ul class="nav">
28+
<li><a href="/v3/">API v3</a></li>
29+
<li><a href="http://develop.github.com">API v2</a></li>
30+
<li><a
31+
href="http://support.github.com/discussions/api">Support</a></li>
32+
</ul>
3433
</div>
35-
</div>
34+
</div><!-- #header -->
35+
</div><!-- #header-wrapper -->
36+
37+
<div id="wrapper">
38+
<div id="content">
39+
{{ content }}
40+
</div>
3641

37-
<div class="span-21 last content">
38-
{{ content }}
39-
</div>
42+
<div class="sidebar-shell">
43+
<div class="sidebar-module">
44+
<ul>
45+
<li>
46+
<h3><a href="p/general.html">General API Info</a></h3>
47+
<span class="spacer"></span>
48+
</li>
49+
<li>
50+
<h3><a href="p/users.html">User API</a></h3>
51+
<span class="spacer"></span>
52+
</li>
53+
<li>
54+
<h3><a href="p/orgs.html">Organization API</a></h3>
55+
<span class="spacer"></span>
56+
</li>
57+
<li>
58+
<h3><a href="p/pulls.html">Pull Request API</a></h3>
59+
<span class="spacer"></span>
60+
</li>
61+
<li>
62+
<h3><a href="p/issues.html">Issues API</a></h3>
63+
<span class="spacer"></span>
64+
</li>
65+
<li>
66+
<h3><a href="p/gist.html">Gist API</a></h3>
67+
<span class="spacer"></span>
68+
</li>
69+
<li>
70+
<h3><a href="p/oauth.html">OAuth Info</a></h3>
71+
<span class="spacer"></span>
72+
</li>
73+
<li>
74+
<h3><a href="p/repo.html">Repository API</a></h3>
75+
<span class="spacer"></span>
76+
</li>
77+
<li>
78+
<h3><a href="p/commits.html">Commit API</a></h3>
79+
<span class="spacer"></span>
80+
</li>
81+
<li>
82+
<h3><a href="p/object.html">Object API</a></h3>
83+
<span class="spacer"></span>
84+
</li>
85+
<li>
86+
<h3><a href="p/network.html">Network API</a></h3>
87+
<span class="spacer"></span>
88+
</li>
89+
<li>
90+
<h3><a href="p/libraries.html">GitHub Libraries</a></h3>
91+
<span class="spacer"></span>
92+
</li>
93+
</ul>
94+
</div> <!-- /sidebar-module -->
95+
</div><!-- /sidebar-shell -->
4096

41-
<div id="footer" class="span-21">
42-
<div class="info span-12">
43-
<div class="links">
44-
<a href="http://github.com/blog">Blog</a> |
45-
<a href="http://support.github.com/">Support</a> |
46-
<a href="http://github.com/training">Git Training</a> |
47-
<a href="http://github.com/contact">Contact</a> |
48-
<a href="http://status.github.com">Status</a> |
49-
<a href="http://twitter.com/github">Twitter</a> |
50-
<a href="http://help.github.com">Help</a> |
51-
<a href="http://github.com/security">Security</a>
52-
</div>
53-
<div class="company">
54-
&copy; 2010 GitHub Inc. All rights reserved. | <a href="http://github.com/site/terms">Terms of Service</a> | <a href="http://github.com/site/privacy">Privacy Policy</a>
55-
</div>
97+
</div><!-- #wrapper -->
98+
99+
<div id="footer-wrapper">
100+
<div id="footer" class="container_12">
101+
<div id="bottom-nav">
102+
<ul class="nav">
103+
<li><a href="https://github.com/blog">Blog</a></li>
104+
<li><a href="http://support.github.com">Support</a></li>
105+
<li><a href="https://github.com/contact">Contact</a></li>
106+
<li><a href="https://twitter.com/github">Twitter</a></li>
107+
<li><a href="http://help.github.com/security/">Security</a></li>
108+
<li><a href="https://github.com/github/developer.github.com">Source</a></li>
109+
</ul>
110+
<ul class="nav">
111+
<li>&copy; 2011 GitHub Inc. All rights
112+
reserved.</li>
113+
<li><a href="http://help.github.com/terms/">Terms of Service</a></li>
114+
<li><a href="http://help.github.com/privacy/">Privacy Policy</a></li>
115+
</ul>
56116
</div>
57-
<div class="fork span-7">
58-
This website is <a href="http://github.com/github/develop.github.com">open source</a>.
59-
Please help us by forking the project and adding to it.
117+
<div id="bottom-notice">
118+
<p class="rackspace">Powered by the <a href="http://rackspace.com" target="_blank">Dedicated Servers</a> and <a href="http://rackspacecloud.com" target="_blank">Cloud Computing</a> of Rackspace Hosting&reg;</p>
60119
</div>
61-
</div>
62-
</div>
120+
</div><!-- #footer -->
121+
</div><!-- #footer-wrapper -->
63122

64123
<script type="text/javascript">
65124
var _gaq = _gaq || [];

0 commit comments

Comments
 (0)