Skip to content
Myr

css.rst

This file

Path

docs/tutorial/css.rst

31 lines · 1.2 KiB

Last changed by

resolve merge conflictsKenneth Reitzbefore adoption31174fe

History of this file

Take it

The walk stopped after 200 commits: lines older than 937ad10 point at it.

Simplified app finding for cliArmin Ronacherbefore adoption937ad10

lines 1–2why, one step back
1.. _tutorial-css:
2

resolve merge conflictsKenneth Reitzbefore adoption31174fe

line 3why, one step back
3Step 8: Adding Style

Simplified app finding for cliArmin Ronacherbefore adoption937ad10

lines 4–6why, one step back
4====================
56Now that everything else works, it's time to add some style to the

Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49

line 7why, one step back
7application. Just create a stylesheet called :file:`style.css` in the

resolve merge conflictsKenneth Reitzbefore adoption31174fe

line 8why, one step back
8:file:`static` folder:

Simplified app finding for cliArmin Ronacherbefore adoption937ad10

lines 9–31why, one step back
9
10.. 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`.