css.rst
This file
The walk stopped after 200 commits: lines older than 8dbd71e point at it.
Added a testcase where SERVER_NAME and APPLICATION_ROOT are not setArmin Ronacherbefore adoption8dbd71e
lines 1–31why, one step back1.. _tutorial-css:23Step 7: Adding Style4====================56Now that everything else works, it's time to add some style to the7application. Just create a stylesheet called `style.css` in the `static`8folder we created before:910.. sourcecode:: css1112 body { font-family: sans-serif; background: #eee; }13 a, h1, h2 { color: #377BA8; }14 h1, h2 { font-family: 'Georgia', serif; margin: 0; }15 h1 { border-bottom: 2px solid #eee; }16 h2 { font-size: 1.2em; }1718 .page { margin: 2em auto; width: 35em; border: 5px solid #ccc;19 padding: 0.8em; background: white; }20 .entries { list-style: none; margin: 0; padding: 0; }21 .entries li { margin: 0.8em 1.2em; }22 .entries li h2 { margin-left: -1em; }23 .add-entry { font-size: 0.9em; border-bottom: 1px solid #ccc; }24 .add-entry dl { font-weight: bold; }25 .metanav { text-align: right; font-size: 0.8em; padding: 0.3em;26 margin-bottom: 1em; background: #fafafa; }27 .flash { background: #CEE5F5; padding: 0.5em;28 border: 1px solid #AACBE2; }29 .error { background: #F0D6D6; padding: 0.5em; }3031Continue with :ref:`tutorial-testing`.