summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-13 14:36:31 -0700
committerCameron McEfee <cameron@github.com>2011-05-16 16:55:31 -0700
commit836ff8f64638d8bdcdb96e7baa650e998dd663c4 (patch)
tree0848fc95fbaa122933828b39aa0b33a0490a926d /_layouts
parentfbdda61be276a0b81c97f8b1859fbc2b55c6dd7a (diff)
Update styles
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html137
1 files changed, 68 insertions, 69 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index fe8d78b..c5ca453 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -18,87 +18,86 @@ sidebar_cats:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Help.GitHub - {{ page.title }}</title>
- <link href="http://github.com/stylesheets/bundle_common.css" media="screen" rel="stylesheet" type="text/css" />
- <link href="http://github.com/stylesheets/bundle_github.css" media="screen" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" charset="utf-8"/>
+ <link href="/global/css/documentation.css" media="screen" rel="stylesheet" type="text/css">
+ <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="/css/print.css" type="text/css" media="print">
<script src="/js/jquery-1.js" type="text/javascript"></script>
+ <script src="/global/js/documentation.js" type="text/javascript"></script>
<script src="/js/help.js" type="text/javascript"></script>
</head>
- <body>
- <div id="main">
- <div id="header" class="basic">
- <div class="site">
- <div class="logo boring">
- <a href="/"><img src="/images/help.github.png" alt="github learn logo" /></a>
- </div>
- <div class="topsearch">
- <ul class="nav logged_out">
- <li><a href="http://gitref.org/">Git Reference</a></li>
- <li><a href="http://github.com/github/help.github.com#readme">Contribute</a></li>
- <li><a href="http://support.github.com/">Support</a></li>
- <li><a href="http://github.com/">Back to GitHub</a></li>
- </ul>
- </div>
+ <body class="documentation">
+ <div id="not-footer">
+ <div id="header-wrapper">
+ <div id="header">
+ <div>
+ <a class="logo" href="/"><img src="/images/logo.png" /></a>
+ <ul class="nav">
+ <li><a href="http://gitref.org/">Git Reference</a></li>
+ <li><a href="http://support.github.com/">Support</a></li>
+ <li><a href="http://github.com/">Back to GitHub</a></li>
+ </ul>
</div>
- </div>
+ </div><!-- #header -->
+ </div><!-- #header-wrapper -->
- <div id="content" class="site">
- <div id="guides">
- <div class="guide">
- <div class="main">
- <h1>{{ page.title }}</h1>
+ <div id="wrapper">
- <div class="wikistyle">
- {{ content }}
- </div>
- </div>
+ <div id="content">
+ <h1>{{ page.title }}</h1>
+ {{ content }}
+ </div>
- <div class="sidebar">
- {% for cat in (page.sidebar_cats) %}
- <h3>{{ cat | replace:'_',' ' | capitalize }}</h3>
- <ul id="categories">
- {% for post in site.posts reversed %}{% if post.categories contains cat %}
- {% if page.title == post.title %}
- <li>{{ page.title }}</li>
- {% else %}
- <li><a href="{{ post.url }}" id="{{ cat }}">{{ post.title }}</a></li>
- {% endif %}
- {% endif %}{% endfor %}
- </ul>
- {% endfor %}
- </div>
- </div>
+ <div id="js-help-sidebar" class="sidebar-shell">
+ <div class="sidebar-module">
+ <ul>
+ {% for cat in (page.sidebar_cats) %}
+ <li class="js-topic">
+ <h3><a href="#">{{ cat | replace:'_',' ' | capitalize }}</a></h3>
+ <ul class="js-guides">
+ {% for post in site.posts reversed %}{% if post.categories contains cat %}
+ {% if page.title == post.title %}
+ <li class="disable"><span>{{ page.title }}</span></li>
+ {% else %}
+ <li><a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endif %}
+ {% endif %}{% endfor %}
+ </ul>
+ </li>
+ {% endfor %}
+ </ul>
+ </div> <!-- /sidebar-module -->
+ <div class="sidebar-module">
+ <p>This website is <a href="http://github.com/github/help.github.com#readme" target="_blank">open source</a>. Please help us by forking the project and adding to it.</p>
</div>
- </div>
- <div class="push"></div>
- </div>
+ </div><!-- /sidebar-shell -->
- <div id="footer">
- <div class="site">
+ </div><!-- #wrapper -->
- <div class="info">
- <div class="links">
- <a href="http://github.com/blog"><b>Blog</b></a> |
- <a href="http://support.github.com/">Support</a> |
- <a href="http://github.com/training">Training</a> |
- <a href="http://github.com/contact">Contact</a> |
- <a href="http://develop.github.com">API</a> |
- <a href="http://status.github.com">Status</a> |
- <a href="http://twitter.com/github">Twitter</a> |
- <a href="http://gitref.org">Learn</a> |
- <a href="http://github.com/security">Security</a>
- </div>
- <div class="company">
- &copy;
- {{ site.time | date: "%Y" }}
- 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>
- </div>
- </div>
+ </div><!-- /not-footer -->
+ <div id="footer-wrapper">
+ <div id="footer" class="container_12">
+ <div id="bottom-nav">
+ <ul class="nav">
+ <li><a href="https://github.com/blog">Blog</a></li>
+ <li><a href="http://support.github.com">Support</a></li>
+ <li><a href="https://github.com/contact">Contact</a></li>
+ <li><a href="https://twitter.com/github">Twitter</a></li>
+ <li><a href="http://help.github.com/security/">Security</a></li>
+ <li><a href="http://github.com/github/help.github.com#readme">Source</a></li>
+ </ul>
+ <ul class="nav">
+ <li>&copy; 2011 GitHub Inc. All rights
+ reserved.</li>
+ <li><a href="http://help.github.com/terms/">Terms of Service</a></li>
+ <li><a href="http://help.github.com/privacy/">Privacy Policy</a></li>
+ </ul>
+ </div>
+ <div id="bottom-notice">
+ <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>
</div>
- </div>
+ </div><!-- #footer -->
+ </div><!-- #footer-wrapper -->
+
</body>
</html>