static/irclogs.css
author Tero Marttila <terom@fixme.fi>
Mon, 09 Feb 2009 05:44:29 +0200
changeset 55 5667d2bbdc50
parent 54 b65a95eb9f6b
child 56 69494e4a5ecc
permissions -rw-r--r--
improve calendar further
/*
 * Global styles
 */
body {
    padding: 0px;
    margin: 0px;

    background-color: #ffffff;
    color: #000000;
}

/*
 * Menu
 */
#menu {
    padding: 0px;
    margin: 0px;
}

#menu ul {
    display: table;
    list-style-type: none;

    width: 100%;

    padding: 0px;
    margin: 0px;
    
    background-color: #f0f0f0;
    border-bottom: 1px dashed #a5a5a5;

    text-align: center;
    white-space: nowrap;
}

#menu li {
    display: table-cell;

    height: 1.5em;

    padding: 0px;
    margin: 0px;

    border-left: 1px solid #b0b0b0;

    font-weight: bold;
}

#menu li a,
#menu li form {
    height: 1.5em;
}

#menu li:first-child {
    border-left: none;
}

#menu li a {
    display: block;

    padding: 6px;
    margin: 0px;

    height: 100%;

    color: #494949;
    text-decoration: none;
}

#menu li a:hover {
    background-color: #d0d0d0;
    text-decoration: none;
}

#menu form {
    display: block;

    padding: 0px;
    margin: 0px;
}

#menu form input[type=submit] {
    padding: 9px;
    margin: 0px;

    border: none;
    background-color: inherit;

    cursor: pointer;
}

#menu form input[type=submit]:hover {
    background-color: #d0d0d0;
}

/*
 * Content
 */
div#content {
    padding: 25px;
}

/*
 * Footer
 */
div#footer {
    padding: 10px;
    
    border-top: 1px dashed #a5a5a5;

    font-size: x-small;
    font-style: italic;
}

div#footer-left {
    float: left;
}

div#footer-right {
    float: right;
    text-align: right;
}

div#footer-center {
    text-align: center;
}

/*
 * General
 */

/* Calendar */
table.calendar {
    
}

table.calendar th {
    background-color: #c8c8c8;
}

table.calendar td {
    margin: 1px;

    
    text-align: center;
}

table.calendar tr.month-header th {

}

table.calendar tr.month-header a {
    display: block;
    
    color: inherit;
    text-decoration: none;
    
    padding: 3px;
    padding-left: 8px;
    padding-right: 8px;

    font-size: x-large;
}

table.calendar tr.month-header a:hover {
    background-color: #b5b5b5;
}

table.calendar tr.month-header span {
    margin-top: 5px;
}

table.calendar a.prev-month {
    float: left;
}

table.calendar a.next-month {
    float: right;
}

table.calendar tr.week-header th {
    width: 14%
}

table.calendar td {
    padding: 2px;
}

table.calendar td a {
    display: block;
    padding: 2px;

    background-color: #e0e0e0;
    text-decoration: none;

    color: inherit;
}
    
table.calendar td.empty {
    color: #d0d0d0;
}

table.calendar td a:hover {
    background-color: #d0d0d0;
}

table.calendar td#today {
    font-weight: bold;
}