248 lines
2.9 KiB
CSS
Raw Normal View History

2025-01-28 15:23:25 +00:00
@charset "utf-8";
html {
margin: 0;
padding: 0;
display: block;
}
body {
display: block;
background: #dfdfdf;
font-size: 1rem;
margin: 0;
padding: 0;
}
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
ol,
li,
dl,
dt,
dd,
img,
form,
fieldset,
input,
textarea,
blockquote,
footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #4D4D4D;
font-size: 1rem;
}
h1 {
font-size: 1.2rem;
}
h2 {
font-size: 1rem;
}
h3 {
font-size: 0.8rem;
}
h4 {
font-size: 0.6rem;
}
img {
max-width: 100%;
height: auto;
}
ul {
padding-left: 1.15rem;
}
li {
line-height: 1.25;
}
a {
text-decoration: none;
}
a:hover {
cursor: pointer;
}
pre {
/* Add background, border and scrollbar to <pre> */
background: #eee;
border: 1px solid #ddd;
overflow: auto;
clear: both;
padding: 0.5rem
}
code {
background: #eee;
border-radius: 0.2rem;
font-size: 0.95rem;
}
pre code {
padding-right: 0.5rem;
font-size: 0.85rem;
line-height: 1;
}
footer {
background-color: #4D4D4D;
text-align: center;
font-size: 0.8rem;
padding: 1em;
}
footer span {
background-color: #4D4D4D;
color: #dfdfdf;
}
footer a {
color: #afafef;
font-size: 0.8rem;
}
nav{
background-color: #4D4D4D;
color: #dfdfdf;
overflow: hidden;
}
nav a {
float: left;
display: block;
color: #dfdfdf;
text-align: center;
padding: 10px;
text-decoration: none;
font-size: 0.9rem;
}
nav a:hover {
color: #dfcf6f;
}
@media screen and (max-width: 600px) {
nav a {
float: none;
display: block;
text-align: left;
border: solid 2px #505050;
2025-01-28 15:23:25 +00:00
}
}
@media screen and (max-width: 700px) {
2025-01-28 15:23:25 +00:00
}
header {
2025-01-28 15:53:09 +00:00
margin: 5px;
background: linear-gradient(to right, #2f789d, #a4c8c9);
2025-01-28 15:23:25 +00:00
}
header img {
2025-01-28 15:53:09 +00:00
margin: 0 auto;
height: 30vh;
2025-01-28 15:23:25 +00:00
width: auto;
display: block;
object-fit: cover;
2025-01-28 15:53:09 +00:00
object-position: left;
2025-01-28 15:23:25 +00:00
}
main {
margin: 0 2em;
}
section {
margin: 10px;
}
section.podcast {
width: 90%;
margin: 0 5%;
2025-01-28 15:23:25 +00:00
display: flex;
flex-wrap: wrap;
}
a.podcast {
flex: 0 0 20%;
flex-basis: 150px;
box-sizing: border-box;
border: solid 4px #7eb4be;
border-radius: 10px;
margin: 2.5%;
padding: 1em 1em 0em 1em;
}
.podcast p {
text-align: center;
}
.podcast img {
filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%);
transform: scaleX(0.9);
}
section.project {
width: 90%;
margin: 0 5%;
2025-01-28 15:23:25 +00:00
display: flex;
flex-wrap: wrap;
}
a.project {
flex: 0 0 20%;
flex-basis: 150px;
box-sizing: border-box;
border: solid 4px #7eb4be;
border-radius: 10px;
margin: 2.5%;
padding: 1em 1em 0em 1em;
2025-01-28 15:23:25 +00:00
}
.project p {
text-align: center;
}
.project img {
filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%);
transform: scaleX(0.9);
}
.column-container {
display: flex;
justify-content: space-between;
2025-01-28 15:23:25 +00:00
}
section.episodes, section.comments {
paddng: 10px;
flex-basis: 50%;
}
@media (min-width: 600px) {
section.episodes, section.comments {
flex-basis: 50%;
}
}
@media (max-width: 600px) {
.column-container {
flex-direction: column;
justify-content: stretch;
}
2025-01-28 15:23:25 +00:00
}