From 94024587e805626c73cd14a42fc37f673b4331c4 Mon Sep 17 00:00:00 2001 From: Nikita <> Date: Mon, 18 Nov 2024 19:28:08 +0200 Subject: [PATCH] font size units update --- style.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index f48ef9b..0297f87 100644 --- a/style.css +++ b/style.css @@ -3,6 +3,9 @@ body{ background-color: #000; /*Цвет фона всей страницы*/ color:#eee; /*Цвет текста всей страницы*/ } +html { + font-size: 100%; +} .geist-mono-all{ font-family: "Geist Mono", monospace; font-optical-sizing: auto; @@ -13,21 +16,22 @@ body{ h1{ font-family: "Geist mono"; font-weight: 700; - font-size: 40px; + font-size: 2.5rem; } h2{ font-family: "Geist mono"; font-weight: 700; - font-size: 32px; + font-size: 2rem; } h3{ font-family: "Geist mono"; font-weight: 700; - font-size: 20px; + font-size: 1.5rem; } p, a, ul, li{ font-family: "Geist mono"; font-weight: 200; + font-size: 1rem; } /*КНОПКИ НА ГЛАВНОЙ СТРАНИЦЕ*/ @@ -56,7 +60,7 @@ p, a, ul, li{ text-align: center; text-decoration: none; display: inline-block; - font-size: 12px; + font-size: .75rem; width: 120px; padding-top: 10px; padding-bottom: 10px;