/*
 * Basic elements
 */
html, body {
    height: 100%;
    background-color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Verdana, Arial, sans-serif;
    line-height: 1.5em;
}

body {
    font-size: 90%;
}

a {
    color: #33F;
}

a:hover {
    color: #F33;
}

a img {
    border: 3px solid #FFF;
}

a:hover img {
    border-color: #CCF;
}

form {
    clear: both;
}

form p {
    padding: 0;
    margin: 0;
}

input {
    font-family: Verdana;
}

#logo img {
    border: none;
}

#content {
    width: 65%;
    background-color: #EEE;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
}

#content-bottom {
    clear: both;
}

div.error {
    border: 1px solid #F66;
    background-color: #FCC;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

div.error h2 {
    margin: 0.1em;
    color: #C00;
}

div.notice {
    border: 1px solid #9C9;
    background-color: #CFC;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

.thread {
    margin-top: 1em;
    border-top: 3px solid #AAA;
}

.thread-delete {
    padding: 0.5em;
    text-align: right;
}

.thread-comment {
    padding: 0.5em;
    text-align: center;
}

.thread-link a {
    padding: 0.5em;
}

div.image {
    float: left;
    margin: 1em 3em;
}

div.delete.image {
    float: none;
}

.sha1-hash, .source-url {
    color: #333;
    clear: both;
    font-size: x-small;
    margin-top: 0;
    margin-bottom: 0;
}

.sha1-hash:before {
    content: "SHA1 hash: ";
    color: #666;
    cursor: default;
}

.source-url:before {
    content: "Source URL: ";
    color: #666;
    cursor: default;
}

div.info {
    cursor: pointer;
}

div.comment-skipped {
    clear: both;
}

div.comment {
    border: 1px solid #CCC;
    padding: 0.5em 1em 1em 1em;
    margin: 0.5em 2em;
    -moz-border-radius-topleft: 1em;
    -moz-border-radius-bottomright: 1em;
    background-color: #FFF;
    text-align: left;
    clear: both;
}

div.comment .info {
    font-size: small;
    border-bottom: 1px dotted;
    color: #777;
    margin-bottom: 0.5em;
    text-align: right;
}

div.comment div.body img {
    vertical-align: middle;
}

div.comment-body {
    cursor: default;
}

div.comment-body a {
    color: inherit;
    text-decoration: none;
}

#comment-form {
    padding: 1em;
    text-align: center;
}

#navigation-bottom {
    margin-top: 1em;
    clear: both;
}

#search-popup {
    background-color: white;
    border: 1px solid gray;
    padding: 0.4em;
}

/*
 * Category
 */
ul.categories {
    text-align: left;
    line-height: 1.5em;
}

img.delete-category {
    border: none;
    vertical-align: middle;
}

img.close-button {
    vertical-align: middle;
}

li.new-category {
    margin-top: 0.8em;
}

li.new-category a {
    font-size: smaller;
}

span.loading img {
    vertical-align: middle;
}

ul#categories li {
    float: left;
    width: 30%;
    margin: 0.3em 0;
    list-style: none;
}

ul#categories li a {
    padding: 0.2em;
    display: block;
}

/*
 * Catalog
 */
ul.catalog li {
    width: 80px;
    height: 80px;
    float: left;
    margin: 3px;
    padding: 0;
    list-style: none;
}

ul.catalog li.untagged img {
    border-color: #CCC;
}

/*
 * Category suggestion
 */
#category-suggest-list {
    border : 1px solid #999;
    margin: 0;
    padding: 0;
    list-style: none;
}

#category-suggest-list li {
    padding: 0.2em 1em;
    text-align: left;
    background-color: #FFD;
    border-top: 1px dotted #CCC;
    line-height: 1.3em;
}
#category-suggest-list li:first-child {
    border-top: none;
}

#category-suggest-list li.selected {
    background-color: #99F;
    color: #FFF;
}

#graph {
    margin: auto;
    position: relative;
}
#graph-canvas {
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid #DDD;
}

ul#bookmarklet-links {
    list-style: none;
    padding: 0;
}

ul#bookmarklet-links li {
    margin: 1em;
    border: 2px solid #DDD;
}

ul#bookmarklet-links a {
    display: block;
    padding: 1em;
}

ul#bookmarklet-links a:hover {
    background-color: #F3F3F3;
}

#search-form input {
    font-size: x-large;
    padding: 0.2em;
}

#search-form input.q {
    padding: 0.4em;
    width: 60%;
}

/* vim: set ts=4 sw=4: */
