daca2: Move style into daca2.css.

This commit is contained in:
XhmikosR 2014-03-18 16:38:18 +02:00
parent b608a8904a
commit 4928dc52bb
2 changed files with 25 additions and 1 deletions

24
htdocs/site/css/daca2.css Normal file
View File

@ -0,0 +1,24 @@
table {
text-align: center;
}
td {
font-size: 0.9em;
padding: 0.2em;
}
td + td {
padding-left: 6em;
}
th {
cursor: pointer;
}
th + th {
padding-left: 5em;
}
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):after {
content: " \25B4\25BE";
}

View File

@ -41,7 +41,7 @@ mainpage.write('<html lang="en">\n')
mainpage.write('<head>\n')
mainpage.write('<meta charset="utf-8">\n')
mainpage.write('<title>DACA2</title>\n')
mainpage.write('<style>table { text-align: center; } td { font-size: 0.9em; padding:0.2em; } td + td { padding-left: 6em; } th { cursor: pointer; } th + th { padding-left:5em; } table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):after { content: " \25B4\25BE"; }</style>\n')
mainpage.write('<link rel="stylesheet" href="/site/css/daca2.css">')
mainpage.write('<script src="/site/js/sorttable.min.js"></script>\n')
mainpage.write('</head>\n')
mainpage.write('<body>\n')