/* @(#)$KimmoSuominen$

Theme Name: oNetBSD v2
Theme URI: http://kimmo.suominen.com/
Description: A custom theme for the <a href="http://blog.onetbsd.de/">#NetBSD Community Blog</a>.
Version: 0.1
Author: Kimmo Suominen
Author URI: http://kimmo.suominen.com/

 * Copyright (c) 2006 Kimmo Suominen
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer
 *    in the documentation and/or other materials provided with the
 *    distribution.
 * 3. The name of the author may not be used to endorse or promote
 *    products derived from this software without specific prior
 *    written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

html,
body,
table#envelope
{
    height: 100%;
}

#header,
#logo
{
    height: 135px;
}

html
{
    margin: 0 0 1px 0;
    padding: 0;
}

body
{
    background-color: #eec;
    color: #000;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

body,
#commentform textarea#comment
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

pre
{
    white-space: pre-wrap;
    word-wrap: break-word;
}

.alt
{
    background-color: #eec;
    color: inherit;
}

a
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

a:link
{
    background-color: inherit;
    color: #33f;
}

a:visited
{
    background-color: inherit;
    color: #939;
}

a:hover,
a:link:hover,
a:visited:hover
{
    background-color: inherit;
    color: #c66;
}

table#envelope
{
    border-collapse: collapse;
    width: 100%;
}

#linkto img,
#logo img
{
    border-width: 0;
}

#content,
#header,
#footer,
#logo
{
    background-color: #fff;
    color: inherit;
}

#content,
#header
{
    padding: 0 30px;
}

#content,
#footer
{
    border-right: 3px solid #cc9;
}

#envelope td#content,
#envelope td#sidebar
{
    vertical-align: top;
}

#sidebar
{
    border-top: 3px solid #cc9;
    width: 200px;
}

#sidebar div
{
    margin-bottom: 10px;
}

#sidebar #tabs
{
    position: relative;
    left: -4px;
    z-index: 10;
}

#sidebar #tabs
{
    border-left-width: 0;
    padding: 20px 20px 10px 0;
}

#tabs div
{
    background-color: #ddb;
    border-color: #cc9;
    border-style: solid;
    border-width: 1px 1px 0 3px;
    color: inherit;
    margin-bottom: 0;
    margin-right: 2px;
    padding: 10px;
}

#tabs div:hover
{
    background-color: #fff;
    color: inherit;
}

#tabs div.current
{
    background-color: #fff;
    border-width: 3px 3px 2px 0;
    color: inherit;
    margin-right: 0;
    padding-left: 13px;
}

#tabs div.spacer
{
    background-color: #eec;
    border-right-width: 0;
    color: inherit;
}

#tabs div.spacer:hover
{
    background-color: #eec;
    color: inherit;
}

#tabs div.first
{
    border-top-width: 0;
}

#hosted,
#linkto,
#logo
{
    font-size: 10px;
    padding: 5px 0;
    text-align: center;
}

#hosted a
{
    white-space: nowrap;
}

#menu
{
    padding: 0 0 30px 13px;
}

#menu ul h2
{
    font-size: 100%;
    margin: 0;
    padding: 0;
}

#menu ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menu ul li
{
    margin: 0;
    padding: 5px 0;
}

#menu ul ul
{
    margin: 0;
    padding: 0;
}

#menu ul ul li
{
    margin: 0;
    padding: 1px 0 0 10px;
}

#menu form
{
    margin: 0 0 0 13px;
}

#menu #search input
{
    margin: 0;
    width: 109px;
}

#menu input#s
{
    margin: 2px 0;
    padding: 2px;
    width: 100px;
}

h1
{
    margin: 30px 0 50px 0;
    padding: 0;
}

#header
{
    text-align: center;
}

#header h1
{
    margin: 0 0 5px 0;
}

#header a
{
    background-color: inherit;
    color: #000;
    text-decoration: none;
}

#header .description
{
    font-style: italic;
}

h2
{
    margin: 30px 0 0 0;
    padding: 0;
}

h3
{
    margin: 0;
    padding: 0 0 5px 0;
}

.time h3
{
    background-color: #EEC;
    color: inherit;
    padding: 5px;
}

.day,
.time
{
    clear: both;
}

.item
{
    border: 1px solid #CC9;
    clear: both;
    margin: 15px 0;
    padding: 10px 10px 5px 10px;
}

.item .header .title
{
    float: left;
    font-size: 18px;
    padding-bottom: 5px;
}

.item .header .date,
.item .header .from
{
    clear: right;
    float: right;
    padding-left: 5px;
}

.item .description
{
    border-top: 1px solid #CC9;
    clear: both;
    margin: 30px 0 10px 0;
    overflow: hidden;
}

.item .description div,
.item .description p
{
    margin: 10px 0 0 0;
    padding: 0;
}

.item .empty
{
    clear: both;
}

#feeds
{
    border-collapse: collapse;
    margin: 15px 0 15px 0;
}

#feeds th
{
    text-align: left;
    padding: 2px 10px;
}

#feeds td
{
    border: 1px solid #CC9;
    padding: 2px 10px;
}


#copyright,
#footspace,
.item .header .date,
.item .header .from,
.meta,
#menu
{
    font-size: 11px;
}

#footspace,
.feedback,
.meta
{
    background-color: inherit;
    color: #663;
}

.meta
{
    padding-top: 3px;
}

div.storycontent p,
div.storycontent li,
.commententry p
{
    text-align: justify;
}

.feedback
{
    margin-bottom: 50px;
}

.pagelinks
{
    clear: both;
    height: 25px;
    margin: 5px 0;
    padding: 0;
    width: 100%;
}

.pagelinks .prevpage
{
    float: left;
}

.pagelinks .nextpage
{
    float: right;
}

.postmeta
{
    padding: 5px 10px;
    margin-bottom: 30px;
}

.commentlist
{
    margin: 0;
    padding: 0 0 30px 0;
}

.commententry
{
    display: block;
    list-style-type: none;
    padding: 5px 10px 1px 10px;
}

.commentnumber
{
    background-color: inherit;
    color: #CC9;
    float: right;
    font-size: 250%;
    font-style: italic;
}

#commentform
{
    margin-bottom: 30px;
}

#commentform p
{
    margin: 0;
    padding: 5px 0;
}

#commentform textarea#comment
{
    padding: 2px;
    width: 100%;
}

#commentform #submit
{
    padding: 0 15px;
}

#copyright,
#footspace
{
    padding: 5px;
    text-align: center;
}

#copyright
{
    margin-bottom: 30px;
}

#footspace
{
    margin-top: 30px;
}

a.xmlbutton,
a.xmlbutton:hover
{
    /* From Dylan Greene's suggestion:
     * http://www.dylangreene.com/blog.asp?blogID=91
     */
    background-color: #F60;
    border: 1px solid;
    border-color: #FC9 #630 #330 #F96;
    color: #FFF;
    font: bold 10px sans-serif;
    margin: 0;
    padding: 0 3px;
    text-decoration: none;
}

/* Hide advertising */
.feed-freshmeatnetannouncementsglobal img
{
    display: none;
}

