Skip to content
Myr

[svn] improved jinja webpage design

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 1560b62 · Browse files · 4 files+47 added−20 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+47 added−20 removed

  • other:+47 added−20 removed

4 files+47 added−20 removed

modified:www/layout/base.tmpl+1 added-1 removed
14 unmodified lines
15 <link rel="stylesheet" href="<%= root %>static/pygments.css" type="text/css" />16 </head>17 <body>18 <div id="header">19 <h1>Jinja</h1>19 <h1><span>Jinja</span></h1>20 </div>21 <ul id="navigation">22 <% for href, id, caption in navigation %>23 <li<% if id == active_page %> class="active"<% endif
13 unmodified lines
added:www/static/headerbg.pngbinary

A binary file, added.

added:www/static/print.css+17 added
modified:www/static/style.css+29 added-19 removed
114 unmodified lines
115#content {116 background-color: white;117 background-image: url(watermark.png);118 padding: 10px;119 margin: 25px 25px 0 25px;120 border: 4px solid #ddd;121 border-bottom: none;119}120121#footer {125 margin: 0 25px 25px 25px;126 border: 4px solid #ddd;127 border-top: none;128 background-color: #fff;129 color: #999;130 text-align: right;131 padding: 0 20px 20px 0;122 color: #fff;123 text-align: center;124 font-size: 14px;125 padding: 10px 20px 10px 20px;126}127128#contentwrapper {129 max-width: 700px;130 padding: 0 10px 0 20px;131}132133#header {134 padding: 10px;135 border-top: 6px solid #d20000;136 background-color: #888;137 background-image: url(headerbg.png);138 background-position: top left;139}140141#header h1 {142 margin: 0;143 padding: 0;144 height: 80px;141 background-color: #eee;145 background-image: url(jinjabanner.png);146 background-repeat: no-repeat;144 border-bottom: 4px solid #ccc;147}148147#header h1 {149#header h1 span {150 display: none;151}152153#navigation {152 background-color: #fff;154 border: 1px solid #ccc;154 border-right: none;155 margin: 50px 29px 10px 10px;155 background-color: #555;156 font-family: 'Trebuchet MS', 'Arial', sans-serif;157 margin: -60px 29px 10px 10px;158 padding: 0;159 float: right;160 list-style: none;161 font-weight: bold;162}163164#navigation li {165 float: left;166 margin: 0;167 padding: 0;168}169170#navigation li a {171 display: block;172 text-decoration: none;173 padding: 5px 10px 5px 10px;170 color: #333;174 color: #eee;175}176177#navigation li a:hover {178 color: #fff;
13 unmodified lines
192 background-color: #222;193 color: #fff;194}195196#contentwrapper h1,197#contentwrapper h2,198#contentwrapper h3 {199 font-family: 'Trebuchet MS', 'Arial', sans-serif;200}201202#contentwrapper h1 {203 color: #b41717;194 font-size: 26px;204 font-size: 28px;205 margin: 20px 0 0 -5px;206}207208#contentwrapper h2 {209 color: #444;200 font-size: 20px;210 font-size: 22px;211 margin: 20px 0 0 0;212}213214#contentwrapper h2.toc {
4 unmodified lines