static/tables.css
author Tero Marttila <terom@fixme.fi>
Fri, 24 Dec 2010 00:05:38 +0200
changeset 21 3510b9092bc4
parent 14 5b2cc88412f7
child 52 b06e34219441
permissions -rw-r--r--
js: Work around some (?) datetimepicker() buggyness; our $.fn.empty collided
table
{
    width: 80%;

    padding: 0px;

    border-collapse: collapse;

    font-size: small;

    margin: 2em 1em;
}

/* A caption looks similar to a h2 */
table caption {
    font-size: large;
    font-weight: bold;

    padding: 5px;

    background-color: #e5e5e5;

    border: 1px dashed #c5c5c5;

    margin: 0em 0em 0.5em;
}

/* Table header */
thead tr
{
    background-color: #d8d8d8;
}

/* Table sub-captions */
tr.sub-caption
{
    background-color: #e0e0e0;
    
    border-top: 1px dashed #c5c5c5;
}

tr.sub-caption th
{
    font-weight: normal;
    
}

tr
{
    background-color: #fefefe;
}

tr.alternate
{
    background-color: #e8e8e8;
}

td, th
{
    border: thin solid #ffffff;

    padding: 0.25em 1em;
}

td a,
th a
{
    display: block;
}

td.row-header
{
    text-align: right;
    font-weight: bold;
}