podpage/head.html

159 lines
3.5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Document</title>
<style>
/* https://hankchizljaw.com/wrote/a-modern-css-reset/ */
/* Box sizing rules */
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default padding */
ul,
ol {
padding: 0;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd,
pre {
margin: 0;
}
/* Set core body defaults */
body {
min-height: 100vh;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
line-height: 1.5;
}
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img {
max-width: 100%;
display: block;
}
/* Natural flow and rhythm in articles by default */
article > * + * {
margin-top: 1em;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
/* system font stack: https://css-tricks.com/snippets/css/system-font-stack/ */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
body {
color: #333;
}
/* our stuff */
#app {
margin: 1rem;
}
.player-details {
height: 200px;
display: flex;
margin-top: 2rem;
margin-bottom: 2rem;
}
.player-details__image {
min-width: 200px;
width: 200px;
height: 200px;
}
.player-details__description {
overflow-y: auto;
margin-left: 1rem;
flex-grow: 1;
}
a {
color: #333;
}
.episode__playing {
font-weight: bold;
}
podcast {
display: none;
}
.podcast {
display: flex;
}
.podcast__title {
margin: 0 0 0 1rem;
font-size: 1.3rem;
}
.podcast__episodes {
margin-left: 1rem;
margin-bottom: 1rem;
line-height: 1.4rem;
}
.episode__date {
font-size: 0.8rem;
}
.episode__description-separator {
font-weight: bold;
font-size: 1.2rem;
}
</style>
</head>
<body>