/*
Theme Name: jarkkodev
Theme URI: https://jarkko.dev
Author: Jarkko Tervonen
Author URI: https://jarkko.dev
Description: A minimal dark theme replicating the jarkko.dev Hugo site. Forest green background, cream text, gold links.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jarkkodev
Tags: dark, one-column, custom-menu, blog
*/

body {
  font-family: Verdana, sans-serif;
  margin: auto;
  padding: 20px;
  max-width: 720px;
  text-align: left;
  background-color: #212B23;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: #FDFAF3;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  color: #eee;
}

a {
  color: #C9B36D;
}

a:hover {
  color: #e9d39D;
}

p > img {
  display: block;
  margin: 0 auto;
}

.title {
  text-decoration: none;
  border: 0;
  color: #FDFAF3;
}

.title span {
  font-size: 24px;
  margin: 19.92px 0 19.92px 0;
  font-weight: 600;
  line-height: 3;
}

nav a {
  margin-right: 10px;
}

textarea {
  background-color: #252525;
  color: #ddd;
  width: 100%;
  font-size: 16px;
}

input {
  background-color: #252525;
  color: #ddd;
  font-size: 16px;
}

.entry-content {
  line-height: 1.6;
}

table {
  width: 100%;
}

table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
  border-color: #c9d1d9;
  padding: 5px;
}

img {
  max-width: 100%;
}

code {
  padding: 2px 5px;
  color: #f8f8f2;
  background-color: #282a36;
}

pre code {
  display: block;
  padding: 20px;
  white-space: pre-wrap;
  font-size: 14px;
  overflow-x: auto;
}

blockquote {
  border-left: 1px solid #999;
  color: #ccc;
  padding-left: 20px;
  font-style: italic;
}

footer {
  padding: 25px;
  text-align: center;
}

.helptext {
  color: #aaa;
  font-size: small;
}

.errorlist {
  color: #eba613;
  font-size: small;
}

/* blog posts */
ul.blog-posts {
  list-style-type: none;
  padding: unset;
}

ul.blog-posts li {
  display: flex;
  margin-bottom: 10px;
}

ul.blog-posts li span {
  flex: 0 0 130px;
}

ul.blog-posts li a:visited {
  color: #a9a34d;
}

ul.blog-posts li a:hover {
  color: #e9d39D;
}

a.blog-tags {
  line-height: 2;
}

h3.blog-filter {
  margin-bottom: 0;
}

.disabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.7;
}

p.byline {
  font-style: italic;
}

/* "Skip to main content" link */
.skip-link {
  position: absolute;
  top: 5;
  transform: translateY(-600%);
  transition: transform 0.5s;
  background-color: #1d1f27;
  padding: 6px;
}

.skip-link:focus {
  transform: translateY(0%);
}

/* WordPress alignment */
.alignleft { float: left; margin-right: 1em; }
.alignright { float: right; margin-left: 1em; }
.aligncenter { display: block; margin: 0 auto; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.9em; color: #ccc; font-style: italic; }
