/*
Theme Name: Coder
Theme URI:
Author: Karina Baha
Author URI: https://www.karinabaha.com
Description: A simple blog theme for programmers, where they can share their knowledge.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coder
Tags: blog
*/
code {
  display: inline
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: .875em;
  overflow-x: scroll;
}

code,
pre {
  background: #f0f0f0 !important;
  font-family: "Source Code Pro", monospace;
  color: #444;
  font-weight: 700;
  word-break: break-all;
  font-size: 1.1rem !important;
  line-height: 1.88 !important
}

.description {
  font-weight: 700;
}

.post-aside {
  border-bottom: 2px solid black;
  border-top: 2px solid black;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: bold;
}

article {
  padding-bottom: 4rem;
}

header {
  box-shadow: 0 1px 5px rgb(29 29 29 / 20%);
}

.header-content, main, footer {
  padding: 1rem;
}

.post-meta, .last-updated {
  display: flex;
  align-items: baseline;
  column-gap: 5px;
  text-transform: uppercase;
  font-size: 14px;
}

.post-meta a:link, .post-meta a:visited {
  color: #333;
  text-decoration: none;
}

.last-updated {
  padding-bottom: 2.5rem;
  margin-top: 5px;
  border-bottom: 2px solid black;
}

.decor {
  width: 1rem;
  padding-top: 1rem;
  border-bottom: 1px solid #616161
}

.post-date {
  color: white;
  background: rgb(177 26 33 / 80%);
  padding: .3rem
}

.wp-block-post {
  border-bottom: 2px solid black;
  padding: 2.5rem 0;
}

.footer-info {
  text-align: center;
}

@media(width >=768px) {
  .wp-block-post-title {
    font-size: 48px;
  }

  main {
    box-shadow: 0 30px 50px 0 rgb(1 1 1 / 15%);
    max-width: 1170px;
    margin: 0 auto 2rem;
    width: 95%;
    padding: 3rem 2rem;

  }

  .header-content {
    margin: 0 auto 1rem;
    padding: 0 2rem;
  }
}

@media (width >= 1024px) {
  main {
    margin: 0 auto 5rem;
    margin-top: 0;
    padding: 5rem 7rem 3rem;
  }

  .header-content {
    max-width: 1170px;
    padding: 0 7rem;
  }
}
