@import "water-light.css";


/* Customise Water.css */
:root {
  --background-body: #000000;
  --background-main: #fff; /* Needed for light/dark mode */
  --background: #efefef;
  --text-main: #202020;
  --links: #007000;
  --focus: #007000ab;
  --border: #dbdbdb;
}


body {
  margin-top: 0;
  padding: 0;
  background-color: var(--background-body);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}
@media screen and (max-width: 400px) {
  body {
    font-size: 1.1rem;
  }
}


header, header img, header picture {
  margin-bottom: 0;
}

header nav {
  font-family: "Special Elite";
  font-size: 1.1rem;
}
header nav a {
  color: #68b747;
  padding-bottom: 0.5rem;
}

/* Horizontal scrolling menu */
nav {
  overflow: auto;
  white-space: nowrap;
  text-align: center;
  padding: 0.25rem;
}
nav ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
nav li {
  display: inline-block;
}
nav a {
  display: inline-block;
  padding: 0.6rem;
}
nav li.nolink {  /* For pagination on first and last pages */
  padding: 0.6rem;
}

footer.pagination { /* Pagination on excerpt pages */
  clear: both;
  font-size: 0.9rem;
}
@media screen and (max-width: 320px) { /* iPhone 5/SE */
  footer.pagination {
    font-size: 0.8rem;
  }
}

/* Highlight the current page in navigation and pagination */
[aria-current] {
  cursor: text;
}

a:hover[aria-current] {
  text-decoration: none;
}


main {
  background: var(--background-main);
  padding: 1rem;
}

@media screen and (min-width: 600px) {
  main {
    padding: 1.5rem;
    border-radius: 0.25rem;
  }
}


article {
  margin-bottom: 1.5rem;
}

article.post-excerpt {
  clear: both;
  border-top: 1px solid var(--border);
}
article.post-excerpt h1 {
  margin-top: 1.5rem;
}


h1 {
  font-family: "Special Elite";
  font-weight: normal;
  font-size: 1.5rem;
  margin-top: 0;
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }
}

h1 a, h1 a:visited {
  color: inherit;
  font-weight: normal;
}

h2 {
  font-size: 1.3rem;
}


blockquote {
    width: 35%;
    float: left;
    border-left: none;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    padding: 1em 0 !important;
    margin: 0.5em 1.8em 0.5em 0 !important;
    font-style: normal;
    font-weight: 600;
    text-align: right;
}
blockquote p {
  margin: auto;
}


img {
  border-radius: 0.25rem;
}

/* Centre images by default (for small screens) */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* Right align small images on bigger screens */
@media screen and (min-width: 600px) {
  .post img.align-right,
  .post picture.align-right,
  .page img.align-right,
  .page picture.align-right {
    float: right;
    max-width: 50%;
    margin-top: 0.5rem;
    margin-right: 0;
    margin-left: 0.8rem;
    margin-bottom: 0.6rem;
  }
}

/* Right align images in post list */
@media screen and (min-width: 600px) {
  .post-excerpt p > img,
  .post-excerpt p > a > img,
  .post-excerpt picture img {
    max-width: 50%;
    max-height: 400px;
    object-fit: contain;
    float: right;
    margin-top: 0.5rem;
    margin-right: 0;
    margin-left: 0.8rem;
    margin-bottom: 1rem;
  }
}


lite-youtube {
  max-width: 100% !important;
  border-radius: 0.25rem;
}


ul.tags-list {
  padding-left: 0;
}
ul.tags-list li {
  display: inline;
}

aside.recommended-posts h2 {
  clear: both;
  margin-bottom: 0.2rem;
}

aside.recommended-posts ul,
div.category-page ul,
div.tag-page ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

aside.recommended-posts li {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0;
}
aside.recommended-posts li:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

div.category-page li,
div.tag-page li {
  margin-bottom: 1rem;
}


body > footer {
  border-top: 0;
  margin-top: 0;
  text-align: center;
}
body > footer a {
  color: #68b747;
}

footer p {
  font-size: 0.8rem;
  font-weight: 600;
}



.skip-link:not(:focus):not(:active),
.visually-hidden:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    height: auto;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.skip-link:focus {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.8rem 1.25rem 1rem 1.25rem;
    background-color: var(--background);
    color: var(--focus);
    line-height: 1;
    text-decoration: none;
    font-weight: 700;
}
