1
0
Fork 0
forked from github/pelican

Update the wide theme.

This commit is contained in:
Alexis Metaireau 2010-11-19 02:13:38 +00:00
commit 01b6d8eb44
3 changed files with 30 additions and 4 deletions

View file

@ -13,10 +13,30 @@ body {
margin-bottom: 0px;
}
#banner nav ul{
padding-right: 50px;
}
#banner nav li{
float: right;
}
#banner nav li:first-child a {
-moz-border-radius: 0px;
}
#banner h1 {
margin-bottom: -18px;
}
#featured, #extras {
padding: 50px;
}
#featured {
padding-top: 20px;
}
#extras {
padding-top: 0px;
padding-bottom: 0px;

View file

@ -20,10 +20,7 @@
</head>
<body id="index" class="home">
{% if GITHUB_URL %}
<a href="{{ GITHUB_URL }}"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a>
{% endif %}
{% include 'github.html' %}
<header id="banner" class="body">
<h1><a href="{{ SITEURL }}">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1>
<nav><ul>

View file

@ -0,0 +1,9 @@
{% if GITHUB_URL %}
<a href="{{ GITHUB_URL }}">
{% if GITHUB_POSITION != "left" %}
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
{% else %}
<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
{% endif %}
</a>
{% endif %}