From 02e92a3049aadd19369df5241d1aeb3ae50fdf7e Mon Sep 17 00:00:00 2001 From: log101 Date: Mon, 12 Aug 2024 23:43:01 +0300 Subject: [PATCH] feat: responsive images --- src/styles/main.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/styles/main.css b/src/styles/main.css index 6f03edf..938bc54 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -18,6 +18,12 @@ body { background-color: #f5fffa; } +img, +video { + max-width: 100%; + height: auto; +} + @font-face { font-family: "Source Code Pro"; src: url(/fonts/SourceCodePro-Regular.otf.woff2) format("woff2"); @@ -25,7 +31,7 @@ body { @font-face { font-family: "Inter"; - src: url(/fonts/Inter-Regular.otf.woff2) format("woff2"); + src: url(/fonts/Inter-Regular.woff2) format("woff2"); } @layer components {