static/tables.css
author Tero Marttila <terom@fixme.fi>
Sat, 08 Jan 2011 23:17:16 +0200
changeset 39 4f331cfc76a4
parent 14 5b2cc88412f7
child 52 b06e34219441
permissions -rw-r--r--
cal: span events across week's days
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;
}