static/tables.css
author Tero Marttila <terom@fixme.fi>
Mon, 10 Jan 2011 17:50:21 +0200
changeset 52 b06e34219441
parent 14 5b2cc88412f7
child 59 de6abcbd3c03
permissions -rw-r--r--
items: fix nested lists in form, and implement higlight for #target
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;
}

/* Link to tr with URL #foo fragment */
tr:target
{
    background-color: #F5F3B8;
}

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;
}