Merge pull request #186 from matthiaskrgr/css2

html-report CSS
This commit is contained in:
XhmikosR 2013-10-23 09:06:42 -07:00
commit 11a0763b40
1 changed files with 14 additions and 7 deletions

View File

@ -36,14 +36,15 @@ body {
#page {
width: 860px;
margin: auto;
border-left: 2px solid #aaa;
border-right: 2px solid #aaa;
width: auto;
margin: 30px;
border: 2px solid #aaa;
background-color: white;
padding: 20px;
overflow: auto;
}
#header {
width: 100%;
height: 70px;
@ -55,7 +56,7 @@ body {
text-align: left;
float: left;
width: 100px;
height: 300px;
height: auto;
}
#menu > a {
@ -65,12 +66,18 @@ body {
#content {
float: left;
width: 720px;
width: 80%;
margin: 5px;
padding: 0 10px 10px 10px;
border-left: thin solid #aaa;
}
.linenos {
color: #bbb;
padding-right: 6px;
border-right: thin solid #aaa;
}
#footer {
padding-bottom: 5px;
padding-top: 5px;
@ -119,7 +126,7 @@ HTML_FOOTER = """
</html>
"""
HTML_ERROR = "<span style=\"border-width: 2px;border-color: black;border-style: solid;background: #ffaaaa;padding: 3px;\">&lt;--- %s</span>\n"
HTML_ERROR = "<span style=\"border-width: 1px;border-color: black;border-style: solid;background: #ffaaaa;padding: 1px;font-size: 11px;\">&lt;--- %s</span>\n"
class AnnotateCodeFormatter(HtmlFormatter):