responsive video/image sizing

This commit is contained in:
Neale Pickett 2022-08-09 19:03:01 -06:00
parent c2d753076d
commit 0c8dcac5a5
1 changed files with 12 additions and 4 deletions

View File

@ -54,10 +54,6 @@ a:hover {
color: #f83; color: #f83;
} }
img {
max-width: 60%;
}
img.face { img.face {
margin: 1em; margin: 1em;
width: 10em; width: 10em;
@ -144,3 +140,15 @@ button.big {
.tags { .tags {
font-size: small; font-size: small;
} }
@media (max-width: 768px) {
img, video {
max-width: 100%;
}
}
@media (min-width: 768px) {
img, video {
max-width: 60%;
}
}