More intelligence within.

This commit is contained in:
Niels Serup 2011-07-06 00:49:04 +02:00
parent a787f11f9e
commit b88e85264f
4 changed files with 25 additions and 10 deletions

1
prestatic/basics.js Normal file
View File

@ -0,0 +1 @@
#

View File

@ -77,17 +77,28 @@ print(' background-color: ' + page_bg + ';')
width: auto; width: auto;
} }
#metadata {
margin-top: 8px;
border-style: dashed;
border-color: #ccc;
border-width: 4px 0 0 0;
background-color: #aaa;
padding: 2px 5px;
color: #fff;
}
#logo { #logo {
margin-top: 10px; margin-top: 10px;
background: #111111; background: #111111;
height: 90px;
} }
#logo a { #logo a {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
padding-top: 40px; padding-top: 14px;
width: 800px; width: 750px;
height: 99px; height: 91px;
/*@preval /*@preval
print(' background: ' + page_bg + print(' background: ' + page_bg +
" url('/static/metanohi-logo.png') no-repeat center;") " url('/static/metanohi-logo.png') no-repeat center;")

View File

@ -51,13 +51,16 @@ if page.licenses:
<a id='minilogo' href='/'>metanohi</a> <a id='minilogo' href='/'>metanohi</a>
<div id='menu'> <div id='menu'>
<ul id='menulinks'> <ul id='menulinks'>
<!--@preval <!--@preval
for x in('projects', 'writings', 'films', 'about'): for x in('projects', 'writings', 'films', 'about'):
print(' ' * 14 + "<li><a href='/{x}/'>{x}</a></li>".format(x=x))--> print(' ' * 14 + "<li><a href='/{x}/'>{x}</a></li>".format(x=x))-->
</ul> </ul>
</div> </div>
<div id='body' class='full'> <div id='body'<!--@eval if page.full: print(" class='full'", end='')-->>
<!--@eval print(page.body)--> <!--@eval print(page.body)-->
<div id='metadata'>
<!--@eval print(page.metadata_info)-->
</div>
</div> </div>
<div id='logo'> <div id='logo'>
<a href='/'></a> <a href='/'></a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 26 KiB