daca2: Move style into daca2.css.
This commit is contained in:
parent
b608a8904a
commit
4928dc52bb
|
@ -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";
|
||||
}
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue