/**
*  Publish Foundation theme
*  Copyright (c) John Sundell 2019
*  MIT license, see LICENSE file for details
*/

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

pre code {
  display: block;
  overflow-x: auto;
  padding: 1em;
  border-radius: 1em;
  background: #002b36;
}

code {
/*  border-radius: 0.2em;*/
/*  padding: 0.2em;*/
/*  font-size: 120%;*/
  line-height: 140%;
  font-family: Menlo, monospace;
  color: #839496;
}

.hljs {
  margin-top: 1em;
  margin-bottom: 2em;
  border-radius: 1em;
}

table {
    border-collapse: collapse;
    border: 1px solid;
    margin-bottom: 2em;
    min-width: 50%;
}

th, td {
  border: 1px solid;
  padding: 0.5em;
}

ol, ul {
    margin: 1.5em;
}

li {
    line-height: 150%;
}

body {
    background: #fff;
    color: #333;
    font-family: Trebuchet MS, Verdana, Helvetica Neue, Helvetica, Arial;
    text-align: center;
}

.wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

header {
    background-color: #292A30;
}

header .wrapper {
    padding: 0;
    text-align: center;
}

header a {
    text-decoration: none;
}

header .site-name {
    font-size: 1.5em;
    font-family: Menlo, monospace;
    color: #839496;
    font-weight: bold;
}

header .site-name img {
    width: 15%;
}

blockquote {
    color: grey;
    padding-left: 1em;
    margin: 1em 2em 1em 1em;
    border-left: 3px solid silver;
}

hr {
    margin: 2em 0;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
    margin: 0 7px;
    line-height: 1.5em;
}

nav li a.selected {
    text-decoration: underline;
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

h2, h3 {
    margin: 2em 0 1em 0;
}

a.headerlink:after {
    content: " ¶ ";
    color: darkgrey;
}

h1 a.headerlink,
h2 a.headerlink,
h3 a.headerlink {
    visibility: hidden;
    text-decoration: none;
}

h1:hover a.headerlink,
h2:hover a.headerlink,
h3:hover a.headerlink {
    visibility: visible;
}

p {
    line-height: 150%;
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee;
    margin-bottom: 20px;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

ul .tag-list, .tag-list {
    margin: 0 0 15px 0;
}

.tag-list li,
.tag {
    font-size: 90%;
    display: inline-block;
    background-color: #A167E6;
    color: #fff;
    padding: 2px 8px;
    border-radius: 0.5em;
    margin-right: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

article .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.content img {
    max-width: 100%;
    display: block;
    margin: 2em auto;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin: 5px;
    padding: 6px 10px;
}

footer {
    color: #8a8a8a;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }

    body,
    header .site-name {
        color: #ddd;
    }

    .item-list > li {
        background-color: #333;
    }
}

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}
