1
0
Fork 0
forked from github/pelican

Add a "wide" css for notmyidea.org theme

This commit is contained in:
Alexis Metaireau 2010-11-18 03:33:57 +00:00
commit bab39c9800
4 changed files with 27 additions and 2 deletions

View file

@ -102,6 +102,7 @@ templates as well.
* `STATIC_PATHS`: The static paths you want to copy under "static"
* `FEED`: url to output the feed.,
* `CATEGORY_FEED`: Where to put the categories feeds. default is `feeds/%s.atom.xml`
* `CSS_FILE`: To specify the CSS file you want to load.
Themes
------

View file

@ -14,6 +14,7 @@ _DEFAULT_CONFIG = {'PATH': None,
'PDF_PROCESSOR': False,
'DEFAULT_CATEGORY': 'misc',
'FALLBACK_ON_FS_DATE': True,
'CSS_FILE': 'main.css',
}
def read_settings(filename):

View file

@ -0,0 +1,23 @@
@import url("main.css");
body {
font:1.3em/1.3 "Hoefler Text","Georgia",Georgia,serif,sans-serif;
}
.body, #banner nav, #banner nav ul, #about, #featured, #content{
width: inherit;
}
#banner nav {
-moz-border-radius: 0px;
margin-bottom: 0px;
}
#featured, #extras {
padding: 50px;
}
#extras {
padding-top: 0px;
padding-bottom: 0px;
}

View file

@ -3,7 +3,7 @@
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ SITEURL }}/css/main.css" type="text/css" />
<link rel="stylesheet" href="{{ SITEURL }}/css/{{ CSS_FILE }}" type="text/css" />
<link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
@ -76,4 +76,4 @@
{% include 'analytics.html' %}
</body>
</html>
</html>