/* Layout */
body {
+ background: #fcfcfc;
display: flex;
flex-direction: column;
min-height: 100vh;
margin-right: auto;
}
-header {
- margin-bottom: 8vh;
-}
-
header h1 {
font-size: 2em;
}
text-decoration: none;
}
+header p {
+ font-size: 0.8em;
+}
+
+nav {
+ margin-top: 2vh;
+ margin-bottom: 4vh;
+}
+
nav ul {
list-style: none;
display: flex;
text-underline-offset: 0.08em;
}
+a:hover {
+ background-color: navy;
+ color: #fcfcfc;
+}
+
a:focus {
outline: 1px solid currentColor;
outline-offset: 0.2em;
article img {
display: block;
width: 100%;
- min-height: 20rem;
- max-height: 40vh;
+ aspect-ratio: 640 / 360;
+ /*min-height: 20rem;
+ max-height: 40vh;*/
object-fit: cover;
margin: 0 auto 1rem !important;
}
+article iframe {
+ display: block;
+ width: 100%;
+ aspect-ratio: 640 / 360;
+}
+
/*@supports (aspect-ratio: 1) {
article img {
max-height: unset;