Zephyr Listens

CSS v01

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');


@font-face {
font-family: 'OpenDyslexic';
src: url('https://bear-images.sfo2.cdn.digitaloceanspaces.com/zephyrlistens/opendyslexic-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'OpenDyslexic';
src: url('https://bear-images.sfo2.cdn.digitaloceanspaces.com/zephyrlistens/opendyslexic-bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'OpenDyslexic';
src: url('https://bear-images.sfo2.cdn.digitaloceanspaces.com/zephyrlistens/opendyslexic-italic.woff2') format('woff2');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'OpenDyslexic';
src: url('https://bear-images.sfo2.cdn.digitaloceanspaces.com/zephyrlistens/opendyslexic-bold-italic.woff2') format('woff2');
font-weight: bold;
font-style: italic;  
}

:root {
    --width: 700px;
  	--font-main: 'OpenDyslexic','Special Elite', monospace;
    --font-secondary: 'OpenDyslexic','Special Elite', monospace;
    --font-scale: 16px;
    --background-color: #fbfbf6;
    --heading-color: #333;
    --text-color: #333;
    --link-color: #333;
    --visited-color:  #333;
    --code-background-color: #fbfbf6;
    --code-color: #333;
    --blockquote-color: #fbfbf6;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: auto;
    padding: 20px;
    max-width: var(--width);
    text-align: left;
    background-color: var(--background-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    color: var(--text-color);
}

h1 {
  	font-size: 1.8em;
}

h2 {
  	font-size: 1.5em;
}

h3 {
  	font-size: 1.2em;
}


h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--heading-color);
  	font-size: var(--font-scale);
  	font-weight: bold;

}

a {
    color: var(--link-color);
    cursor: pointer;
}

nav a {
    margin-right: 8px;
}

strong, b {
    color: var(--heading-color);
}

button {
    margin: 0;
    cursor: pointer;
}

main {
    line-height: 1.6;
}

table {
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px dashed;
}

img {
    max-width: 100%;
}

code {
    font-family: monospace;
    padding: 2px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
}

blockquote {
    border-left: 1px solid #999;
    color: var(--code-color);
    padding-left: 20px;
    font-style: italic;
   border: 2px solid black;
  
}

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

.inline {
    width: auto !important;
}

.highlight, .code {
    padding: 1px 15px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    overflow-x: auto;
}

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

ul.blog-posts li {
    display: flex;
}

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

ul.blog-posts li a:visited {
    color: var(--visited-color);
}

iframe{
   border: 2px solid black !important;
}

.iframe-container {
    width: 100%;
    text-align: center;
   border-radius: 2px;
   border: 2px solid black;
}
.iframe-container iframe {
    margin: 0 auto;
    display: block;
   border-radius: 2px;
 border: 2px solid black;
}

img[src*="#full"] {
 width: 100%;
 height: 100%;
 border-radius: 2px;
 border: 2px solid black;
} 

img[src*="#thumb"] {
 width: 20%;
 height: 20%;
}

img[src*="#meta"] {
 width: 128px;
 height: 128px;
 border-radius: 50%;
   border: 2px solid black;
  object-fit: cover;
}




ul.embedded.blog-posts li {
  display: block;
  padding: 8px 0;
  text-align: center;
}

ul.embedded.blog-posts li a {
  display: block; /* Forces the link title to be on its own line */
  font: bold var(--font-scale) var(--font-secondary);
  white-space: normal; /* Allows the title to wrap if it's too long */
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  padding: 4px 0; /* Optional: Adds some space above and below the title */
}

ul.embedded.blog-posts li:first-child {
  border-top: none; /* Removes the top border from the first item */
}

ul.embedded.blog-posts li:last-child {
  border-bottom: none; /* Removes the bottom border from the last item */
}


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