diff options
| author | tekkub <tekkub@gmail.com> | 2009-07-23 01:40:00 -0600 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2009-07-23 01:40:00 -0600 |
| commit | ab8d18035778087fb599175bc73628a654ff6c0a (patch) | |
| tree | 117123cd230c19eb24bb8f3decd3d0ba1f287321 | |
| parent | 1713fa0405c9987cd39a0958f4da36ee9e99727e (diff) | |
First bit of css updating to match pages.github
| -rw-r--r-- | _layouts/default.html | 87 | ||||
| -rwxr-xr-x | css/style.css | 18 | ||||
| -rw-r--r-- | index.textile | 20 |
3 files changed, 65 insertions, 60 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 1e95c6b..04abf98 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,64 +2,59 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - <title>Help.GitHub</title> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>Help.GitHub</title> - <link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection"> - <link rel="stylesheet" href="/css/print.css" type="text/css" media="print"> - <!--[if IE]> - <link rel="stylesheet" href="/css/ie.css" type="text/css" media="screen, projection"> - <![endif]--> + <link href="http://github.com/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" /> + <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" charset="utf-8"/> + <link rel="stylesheet" href="/css/print.css" type="text/css" media="print"> + </head> - <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" charset="utf-8"/> - <link rel="stylesheet" href="/css/thickbox.css" type="text/css" media="screen"/> -</head> + <body> + <div id="main"> + <div id="header" class="basic"> -<body> - <div class="container"> - - <div class="span-21" id="header"> - <div class="span-10"> - <a href="/"><img src="/images/help.github.png" alt="github learn logo" /></a> + <div class="site"> + <div class="logo"> + <a href="/"><img src="/images/help.github.png" alt="github learn logo" /></a> + </div> + <div class="actions"> + <a href="http://github.com">home</a> + <a href="http://github.com/login">login</a> + <a href="http://github.com/signup">signup!</a> + </div> + </div> </div> - <div class="span-11 last"> - <div id="links"> - <a href="http://github.com">home</a> - <a href="http://github.com/login">login</a> - <a href="http://github.com/signup">signup!</a> + <div id="content" class="site"> + <div class="wikistyle"> + <h1>{{ page.title }}</h1> + + {{ content }} </div> </div> + <div class="push"></div> </div> - <div class="span-21" id="welcome"> - <h1>{{ page.title }}</h1> - </div> - - {{ content }} + <div id="footer"> + <div class="site"> - <div id="footer" class="span-21"> - <div class="info span-12"> - <div class="links"> - <a href="http://github.com/blog/148-github-shirts-now-available">T-Shirts</a> | - <a href="http://github.com/blog">Blog</a> | - <a href="http://support.github.com/">Support</a> | - <a href="http://github.com/training">Git Training</a> | - <a href="http://github.com/contact">Contact</a> | - <a href="http://groups.google.com/group/github/">Google Group</a> | - <a href="http://github.wordpress.com">Status</a> - </div> - <div class="company"> - GitHub is <a href="http://logicalawesome.com/">Logical Awesome</a> ©2009 | <a href="http://github.com/site/terms">Terms of Service</a> | <a href="http://github.com/site/privacy">Privacy Policy</a> + <div class="info"> + <div class="links"> + <a href="http://github.com/blog/148-github-shirts-now-available">T-Shirts</a> | + <a href="http://github.com/blog">Blog</a> | + <a href="http://support.github.com/">Support</a> | + <a href="http://github.com/training">Git Training</a> | + <a href="http://github.com/contact">Contact</a> | + <a href="http://groups.google.com/group/github/">Google Group</a> | + <a href="http://github.wordpress.com">Status</a> + </div> + <div class="company"> + GitHub is <a href="http://logicalawesome.com/">Logical Awesome</a> ©2009 | <a href="http://github.com/site/terms">Terms of Service</a> | <a href="http://github.com/site/privacy">Privacy Policy</a> + </div> </div> </div> - <div class="fork span-7"> - This website is <a href="http://github.com/help/help.github.com">open source</a>. - Please help us by forking the project and adding to it. - </div> </div> - - </div> </body> </html>
\ No newline at end of file diff --git a/css/style.css b/css/style.css index 29c3f69..7b808c9 100755 --- a/css/style.css +++ b/css/style.css @@ -1,4 +1,9 @@ -a { color: #008; } + +.site { width: 60em; } + +#content.site { width: 59em; } + +/*a { color: #008; } #welcome h1 { padding: 20px; @@ -7,7 +12,6 @@ a { color: #008; } color: #fff; } -h2 { background: #ddd; text-align: center; padding: 4px; } #welcome { margin-bottom: 0.5em; } #welcome p { font-size: 1.3em; color: #444; text-align:center; padding: 0 5em; } @@ -16,9 +20,14 @@ h2 { background: #ddd; text-align: center; padding: 4px; } #header { } #footer { background: #ddd;} #footer a { color: #444; } +*/ +.category_index { float: left; margin: 0.25em; width:19em; } +.category_index h2 { background: #ddd; text-align: center; padding: 0.25em; margin-bottom: 0.5em; } +.category_index dt, .category_index dd { margin-right: 0.5em; } +.category_index dt { margin-left: 0.5em !important; } +.category_index dd { margin-left: 1.5em !important; } -.category_index { float: left; margin: 4px; width:255px; } -.info, .fork { padding: 10px; } +/*.info, .fork { padding: 10px; } .content { font-size: 1.2em; } .content h3 { background: #fdd; font-size: 1.7em; padding: 6px 2px; margin-top: 1.5em; } .content p { margin-top: 1.5em; } @@ -35,3 +44,4 @@ pre { padding: 20px; background: #444; color: white; font-size: 0.9em; } .red a { color: #a44; } .green { border: 3px solid #8a8; background: #efe;} .blue { border: 3px solid #88a; background: #eef;} +*/
\ No newline at end of file diff --git a/index.textile b/index.textile index c92126b..6e01f77 100644 --- a/index.textile +++ b/index.textile @@ -9,20 +9,20 @@ index_cats: - collaborating --- -<div class="span-21" id="welcome"> +Here we have compiled many guides to help you set up and use GitHub. Be aware that these guides generally only cover GitHub-specific topics, for help learning how to use Git, please check out "Learn.GitHub":http://learn.github.com/ -p. Here we have compiled many guides to help you set up and use GitHub. Be aware that these guides generally only cover GitHub-specific topics, for help learning how to use Git, please check out "Learn.GitHub":http://learn.github.com/ - -p. This site is a work in progress. - -</div> +This site is a work in progress. {% for cat in (page.index_cats) %} <div class="category_index"> <h2>{{ cat | capitalize }}</h2> - {% for post in site.posts reversed %}{% if post.categories contains cat %} - <b><a href="{{ post.url }}">{{ post.title }}</a></b> - <p>{{ post.description }}</p> - {% endif %}{% endfor %} + <dl> + {% for post in site.posts reversed %}{% if post.categories contains cat %} + <dt><a href="{{ post.url }}">{{ post.title }}</a></dt> + <dd>{{ post.description }}</dd> + {% endif %}{% endfor %} + </dl> </div> {% endfor %} + +<div class="clear"></div> |
