From 6f31111e7f2f2e28be1bbed8c98e9570cb48fc72 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Thu, 29 Mar 2018 17:24:24 +0300 Subject: [PATCH] Downsize header to fit the screen --- code/html/custom.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/html/custom.css b/code/html/custom.css index 0b0153a4..9002e6fa 100644 --- a/code/html/custom.css +++ b/code/html/custom.css @@ -30,8 +30,11 @@ color: #777777; } -.header > h1 { - line-height: 100%; +@media screen and (max-width: 32em) { + .header > h1 { + line-height: 100%; + font-size: 2em; + } } h2 {