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 { #page {
width: 860px; width: auto;
margin: auto; margin: 30px;
border-left: 2px solid #aaa; border: 2px solid #aaa;
border-right: 2px solid #aaa;
background-color: white; background-color: white;
padding: 20px; padding: 20px;
overflow: auto;
} }
#header { #header {
width: 100%; width: 100%;
height: 70px; height: 70px;
@ -55,7 +56,7 @@ body {
text-align: left; text-align: left;
float: left; float: left;
width: 100px; width: 100px;
height: 300px; height: auto;
} }
#menu > a { #menu > a {
@ -65,12 +66,18 @@ body {
#content { #content {
float: left; float: left;
width: 720px; width: 80%;
margin: 5px; margin: 5px;
padding: 0 10px 10px 10px; padding: 0 10px 10px 10px;
border-left: thin solid #aaa; border-left: thin solid #aaa;
} }
.linenos {
color: #bbb;
padding-right: 6px;
border-right: thin solid #aaa;
}
#footer { #footer {
padding-bottom: 5px; padding-bottom: 5px;
padding-top: 5px; padding-top: 5px;
@ -119,7 +126,7 @@ HTML_FOOTER = """
</html> </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): class AnnotateCodeFormatter(HtmlFormatter):