/* @override http://blogs.y03.hk/kuen/wp-content/themes/mine2/style.css */

/*
Theme Name: Kuen’s blog theme.
Theme URI: http://blogs.y03.hk/kuen/
Description: 
Version: 1.0
Author: Kwok-kuen Cheung
Author URI: http://blogs.y03.hk/kuen/

*/

/* section: normal tags */

body {
    margin: 0px;
    padding: 0px;

    color: #333333;
    font: 0.8em "Lucida Sans", "Lucida Grande", "Helvetica", "Arial", sans-serif;
    
    background-color: #f0fff0;
    background-image: url(images/matted_green_bg.png);
}

a {
    color: #c44600;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    background-color: #c44600;
    color: white;
    
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    text-shadow: silver 0.1em 0.1em 0px;
    color: #0d4700;
}

h1 {
    text-shadow: silver 0.05em 0.05em 0px;
}

h2, h3, h4, h5, h6 {
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #0d4700;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    background-color: #0d4700;
    color: white;
    text-shadow: none;
}

h1 {
    font-size: 1.2em;
    /*
    font-family: "Lucida Grande";
    */
}

h1[lang=zh-hk] {
    font-weight: normal;
    font-size: 3em;
    margin: 0px;
}

hr {
    clear:both;
    border: 1px dotted gray;
    border-style: none none dotted;
    }
    
a img {
    border: 0px solid transparent;
}

code {
    font-family: "Monaco", fixed-width;
    font-size: 0.95em;

}

/* section: global classes */

.nonoutlined, .outlined {
    margin: 0.5em;
}

.outlined {
    border: 1px solid #cccccc;
    background-color:white;
    padding: 5px;

    display: inline-block;

    -webkit-box-shadow: 2px 2px 5px silver;
    -moz-box-shadow: 2px 2px 5px silver;
}

.outlined:hover {
    border-color: #c44600;
}

.columnwide {
    margin-left: -0.5em;
    margin-right: -0.5em;
    text-align: center;
    display: block;
}

.pushout {
    display: inline-block;
    float: right;
    margin-right: -230px;
    width: 200px;
}

.clear {
    clear: both;
}

.hidden {
    display: none;
}

/* section: page classes */

#page {
    margin: 50px 0px 20px 70px;
    width: 500px;
}

#header {
    text-shadow: silver 0.1em 0.1em 0px;
}

#header hr {
    margin-top: 30px;
}

#header #blogname {
    width: 180px;
    float: left;
}

#header .description {
    color: #0d4700;
    font-size: 1.3em;
}

.fadebutton {
    opacity: .5;
    -webkit-transition: opacity 0.1s ease-in;
    color: black;
    background-image: none;
    background-color: transparent;
    text-shadow: none;
    
    border:  1px dotted transparent;
    
    -webkit-border-radius:0.3em;
    -moz-border-radius:0.3em;
}

.fadebutton:hover {
    opacity: 1;
    color: black;
    
    border:  1px dotted gray;
    
    background-image: url(images/matted_white_bg.png);
    background-color: white;
}

.clickable {
    color: black;
    cursor: default;
    opacity: 0.5;
    -webkit-transition: opacity 0.1s ease-in;

}

.clickable:hover {
    opacity: 1;
}

#rssfeed {
    float: right;
    width: 200px;
    margin-right: -220px;
    line-height:100%;
}

#rssfeed a {
    display: block;
    width: 9em;
    padding: 0.4em;

    position: relative;
    left: -0.4em;
    
    vertical-align:middle;
}

#rssfeed * {
    vertical-align:middle;
}

#rssfeed img {
    float: left;
    padding-right: 0.4em;
    height: 2.1em;
    width: 2.1em; 
    border: none;
}

#content {
    padding-top: 1em;
    line-height: 160%;
}


#sidebar {
    display: none;
}

/* section: footer and copyright */

#bottombar {
    margin: 1em 0px 1em -17px;
    width: 500px;
    
    padding: 17px;
    background-color: #dfd9a7;
    background-image: url(images/matted_paper_bg.png);
    outline: 1px dotted gray;
    outline-offset: 3px;
    line-height:160%;

}

#bottombar a {
    color: #c44600;
}

#bottombar a:hover {
    color: white;
    background-color: #c44600;
}

#bottombar ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#bottombar li {
    padding-bottom: 1em;
}

#bottombar li:last-child {
    padding-bottom: 0em;
}



#bottombar h2 {
    padding: 0px;
    margin: 0px;
    display: inline-block;

    font-weight: normal;
    text-transform: lowercase;
    font-size: 1.4em;
    padding-right: 0.5em;
    color: black;
}

#bottombar div.textwidget {
    display: inline;
}


#disclaimer {
    width: 200px;
    margin: 1em 0px 1em 0px;
    font-size:0.7em;
    vertical-align: bottom;
    line-height:130%;
    clear:both;
}

/* section: posts */

div.post {
    margin: 1em 0em 2em 0em;
}

div.post h2 {
    display: inline;
    clear: both;
}

div.post p {
    display: block;
}

/* section: post details */

div.post h2 {
    display: inline;
}

div.post ul.details {
    list-style: none;
    padding: 0px;
    margin: 0px;
    white-space:nowrap;
    display:inline;
}

div.post ul.details li {
    /*
    display: -moz-inline-stack;
    display: inline-block;
    *display:inline;
    */
    display:inline;
    padding: 0px;
    margin: 0px;
}

div.post ul.details li {
    /*
    vertical-align: baseline;
    */
}

div.post ul.details a {
    padding: 0.2em;
    margin: 0px;
    /*
    height: 1.3em;
    */

    /*
    vertical-align: text-bottom;
    */
}


div.post ul.details li a span {
    /*
    position:relative;
    top: -3px;
    */
}

div.post ul.details li.time {
    display: block;
    float: right;
    color: black;
    width: 200px;
    margin-right: -220px;
}

div.post ul.details li img {
    width: 1.3em;
    vertical-align: text-bottom;
}
/*
div.post ul.details li.categories {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(images/tag.png) no-repeat;
}
div.post ul.details li.categories span.taglist {
    display: block;
    position: relative;
    top: 16px;
    background-image: url(images/matted_white_bg.png);
    width: 100px;
    border: 1px dotted gray;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-topright: 5px;
}

div.post ul.details li.categories span.tag {
    display: block;
    padding: 1px 5px 1px 5px;
}

div.post ul.details li.categories span.tag:hover {
    background-color: #0d4700;
    color: white;
}

div.post ul.details li.categories span.tag:first-child {
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topright: 3px;
}

div.post ul.details li.categories span.tag:last-child {
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
}

*/

div.post div.entry {
    clear: both;
}

/* section: div alignleft/right */

div.alignleft, div.alignright{
    font-size: 30pt;
    width: 150px;
    height: 100px;
    padding: 10px;
    margin: 10px;
    border:  1px dotted gray;
    line-height:100%;
    text-overflow:ellipsis;
    overflow:hidden;
    display: none;
}

div.alignright {
    float: right;
}

div.navpostlink {
    float: right;
    width: 200px;
    margin-right: -230px;
    clear: right;
}

div.navpostlink  {
    opacity: 0.5;
    -webkit-transition: opacity 0.1s ease-in;
}

div.navpostlink:hover {
    opacity: 1;
}

div.navpostlink span {
    display: block;
    text-transform: lowercase;
    font-size:0.8em;
    color: black;
}


div.post p.postmetadata {
    width: 100%;
    font-size: 0.8em;
    line-height: 130%;
    
}


ol.commentlist {
    list-style: none;
    padding: 0px;
}

.commentlist li {
    clear: both;
    margin-bottom: 1.5em;
}

.commentlist li + .commentlist li {
    margin-bottom: 0em;
}

.commentlist li p {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}


.commentlist .commentheader {
    display: block;
    float: left;
    width: 100px;
    text-align:right;
}

.commentlist .avatar {
    float: left;
    width: 32px;
    margin-left: -40px;
}

.commentlist .commentcontent {
    float: left;;
}

ul#navigation,
ul#navigation ul {
    list-style:none;
    padding: 0px;
}

ul#navigation span {
    display: none;
}

ul#navigation li {
    display: inline-block;
    padding-right: 1em;
    white-space:nowrap;
    text-transform: lowercase;
}

ul#navigation li:last-child {
    padding-right: 0em;
}


/* debug things */
/*
h2 {
    outline: 1px solid red;
    outline-offset: -1px;
}

ul.details {
    outline: 1px solid blue;
    outline-offset: -1px;
}

ul.details > li {
    outline: 1px solid brown;
    outline-offset: -1px;
}

ul.details > li > a {
    outline: 1px solid cyan;
    outline-offset: -1px;
}
*/

