static/style.css
author Tero Marttila <terom@fixme.fi>
Sat, 07 Feb 2009 04:40:37 +0200
changeset 24 a84322e9df8d
parent 21 b05979822dee
child 26 9d3beac1b196
permissions -rw-r--r--
layout, content tweaks

/*
 * Three main areas:
 *  header
 *  nav
 *  content
 *
 * Border layout:
 *      Header (bottom)
 *      Content (left)
 */

/*
 * Global styles
 */
body {
    padding: 0px;
    margin: 0px;

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

/*
 * Top header
 */
div#header {
    padding: 30px;
    
    font-size: 48pt;
    font-weight: bold;

    border-bottom: 1px dashed #a5a5a5;
}

div#header a:hover {
    text-decoration: none;
}

/*
 * Container for layout items
 */
 #container {
    overflow: hidden;
}

/*
 * Main navigation menu
 */
#nav { 
    float: left;
    
    padding-bottom: 2000px;
    margin-bottom: -2000px;
    
    border-right: 1px dashed #a5a5a5;
}

#nav ul {
    margin: 0px;
    padding: 0px;

    list-style: none;

    width: 180px;

    padding-top: 25px;
}

#nav ul ul {
    padding-top: 0px;
    border-left: 15px solid #d0d0d0;
}

#nav li a {
    display: block;
    
    padding: 10px;
    padding-left: 20px;
}

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

#nav li a.selected-page {
    border-left: 5px solid black;
    padding-left: 15px;
}

/*
 * Content
 */
div#content {
    margin-left: 180px;
    padding: 25px;

    padding-right: 50px;
}

/*
 * Footer
 */
div#footer {
    padding: 10px;

    border-top: 1px dashed #a5a5a5;

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

div#footer-right {
    float: right;
}

/*
 * General styles
 */
a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: x-large;
}

h2 {
    font-size: large;
}

div#content p {
    margin-left: 0.5em;
}

#content li {
    padding: 2px;
}

#content a {
    padding-right: 13px;
    
    background: transparent url(/static/link.png) no-repeat center right;
}