forked from pallets/werkzeug
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[svn] beefed up werkzeug.routing, added i18n urls example, updated ar…
…twork, added documentation generator (copied from jinja) --HG-- branch : trunk
- Loading branch information
Showing
22 changed files
with
757 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
body { | ||
background-color: #333; | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Georgia', serif; | ||
font-size: 15px; | ||
color: #111; | ||
} | ||
|
||
#content { | ||
background-color: white; | ||
background-image: url(watermark.png); | ||
padding: 10px; | ||
margin: 25px; | ||
border: 4px solid #ddd; | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
padding: 0; | ||
height: 80px; | ||
background-image: url(jinjabanner.png); | ||
background-repeat: no-repeat; | ||
} | ||
|
||
h1 span { | ||
display: none; | ||
} | ||
|
||
h2.subheading { | ||
margin: -55px 0 35px 200px; | ||
font-weight: normal; | ||
font-size: 30px; | ||
color: #444; | ||
} | ||
|
||
h2.plain { | ||
margin: 0; | ||
} | ||
|
||
#jinjalogo { | ||
background-image: url(jinjalogo.png); | ||
background-repeat: no-repeat; | ||
width: 400px; | ||
height: 160px; | ||
} | ||
|
||
#contentwrapper { | ||
max-width: 700px; | ||
padding: 0 0 20px 18px; | ||
} | ||
|
||
#contentwrapper h3, | ||
#contentwrapper h3 a { | ||
color: #b41717; | ||
font-size: 26px; | ||
margin: 20px 0 0 -5px; | ||
} | ||
|
||
#contentwrapper h4, | ||
#contentwrapper h4 a { | ||
color: #b41717; | ||
font-size: 20px; | ||
margin: 20px 0 0 0; | ||
} | ||
|
||
table.docutils { | ||
border-collapse: collapse; | ||
border: 2px solid #aaa; | ||
margin: 0.5em 1.5em 0.5em 1.5em; | ||
} | ||
|
||
table.docutils td { | ||
padding: 2px; | ||
border: 1px solid #ddd; | ||
} | ||
|
||
p, li, dd, dt, blockquote { | ||
color: #333; | ||
} | ||
|
||
p { | ||
line-height: 150%; | ||
margin-bottom: 0; | ||
margin-top: 10px; | ||
text-align: justify; | ||
} | ||
|
||
hr { | ||
border-top: 1px solid #ccc; | ||
border-bottom: 0; | ||
border-right: 0; | ||
border-left: 0; | ||
margin-bottom: 10px; | ||
margin-top: 20px; | ||
} | ||
|
||
dl { | ||
margin-left: 10px; | ||
} | ||
|
||
li, dt { | ||
margin-top: 5px; | ||
} | ||
|
||
dt { | ||
font-weight: bold; | ||
} | ||
|
||
th { | ||
text-align: left; | ||
padding: 3px; | ||
background-color: #f2f2f2; | ||
} | ||
|
||
a { | ||
color: #b41717; | ||
} | ||
|
||
a:hover { | ||
color: #444; | ||
} | ||
|
||
pre { | ||
background-color: #f9f9f9; | ||
border-top: 1px solid #ccc; | ||
border-bottom: 1px solid #ccc; | ||
padding: 5px; | ||
font-size: 13px; | ||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace; | ||
} | ||
|
||
tt { | ||
font-size: 13px; | ||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace; | ||
color: black; | ||
padding: 1px 2px 1px 2px; | ||
background-color: #f0f0f0; | ||
} | ||
|
||
cite { | ||
/* abusing <cite>, it's generated by ReST for `x` */ | ||
font-size: 13px; | ||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace; | ||
font-weight: bold; | ||
font-style: normal; | ||
} | ||
|
||
div.admonition { | ||
margin: 10px 0 10px 0; | ||
padding: 10px; | ||
border: 1px solid #ccc; | ||
background-color: #f8f8f8; | ||
} | ||
|
||
div.admonition p.admonition-title { | ||
margin: -3px 0 5px 0; | ||
font-weight: bold; | ||
color: #b41717; | ||
font-size: 16px; | ||
} | ||
|
||
div.admonition p { | ||
margin: 0 0 0 40px; | ||
} | ||
|
||
#toc { | ||
margin: 0 -10px 10px 15px; | ||
padding: 10px; | ||
width: 200px; | ||
float: right; | ||
background-color: #f8f8f8; | ||
border: 1px solid #ccc; | ||
border-right: none; | ||
} | ||
|
||
#toc h2 { | ||
font-size: 20px; | ||
margin: 0 0 10px 0; | ||
padding: 0; | ||
color: #444; | ||
} | ||
|
||
#toc ul { | ||
margin: 0 0 0 30px; | ||
padding: 0; | ||
} | ||
|
||
#toc ul + h2 { | ||
margin-top: 10px; | ||
} | ||
|
||
#toc ul li { | ||
padding: 0; | ||
margin: 2px 0 2px 0; | ||
} |
Oops, something went wrong.