/* ojm.co — minimal stylesheet */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    background: #ffffff;
}

body {
    font-family: "Courier New", Courier, monospace;
    color: #111;
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
    font-size: 15px;
}

/* links */
a { color: #111; }
a:hover { background: #111; color: #fff; }

/* header */
header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #111;
}

header h1 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

header h1 a { text-decoration: none; }

nav { margin-top: 10px; }

nav a {
    margin-right: 20px;
    text-decoration: none;
    text-transform: lowercase;
}

/* sections */
section { margin-bottom: 40px; }

h2 {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

p { margin-bottom: 16px; }

/* work / project items */
.project {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 2px solid #ccc;
}

.project strong { display: block; }
.project span { color: #666; font-size: 13px; }

.project-meta {
    color: #888;
    font-size: 13px;
}

.status {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-active { color: #111; }
.status-sold { color: #888; }
.status-archived { color: #aaa; }

/* blog post list */
.post { margin-bottom: 12px; }
.post .date { color: #888; font-size: 13px; }
.post-description { color: #666; font-size: 13px; margin-top: 2px; }

.more {
    margin-top: 16px;
    text-align: right;
    font-size: 13px;
}

/* blog article */
article { margin-bottom: 40px; }

article h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.article-meta {
    color: #888;
    font-size: 13px;
    margin-bottom: 24px;
}

.article-content h2 { margin-top: 24px; }
.article-content h3 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.article-content ul,
.article-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.article-content li { margin-bottom: 4px; }

.article-content pre {
    background: #f5f5f5;
    padding: 12px;
    overflow-x: auto;
    margin: 12px 0;
    font-size: 13px;
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 4px;
    font-size: 13px;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content blockquote {
    border-left: 2px solid #ccc;
    padding-left: 16px;
    color: #666;
    margin: 12px 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 24px 0;
}

/* comments */
.comments { margin-top: 40px; }

.comments h2 {
    padding-top: 20px;
    border-top: 1px solid #111;
}

.comment {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.comment-author { font-weight: bold; }
.comment-date { color: #888; font-size: 13px; }
.comment-content { color: #333; }

.comment-form {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.comment-form h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #666;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    padding: 8px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    background: #fff;
    color: #111;
}

.comment-form textarea {
    height: 120px;
    resize: vertical;
}

.comment-form button {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    padding: 8px 20px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    cursor: pointer;
}

.comment-form button:hover {
    background: #fff;
    color: #111;
}

.comment-notice {
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 13px;
}

/* honeypot */
.hp { display: none; }

/* footer */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #111;
    font-size: 13px;
    color: #888;
}

footer a { color: #888; }
footer a:hover { color: #fff; background: #888; }
