From f8a1d9dbf8a26bdf870df74b08b7f54498194b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 27 Jan 2017 01:34:54 +0100 Subject: [PATCH] smaller h1 size on terminal screen --- html/css/app.css | 5 +++++ html_orig/css/app.css | 5 +++++ html_orig/sass/pages/_term.scss | 7 +++++++ 3 files changed, 17 insertions(+) diff --git a/html/css/app.css b/html/css/app.css index ce314f4..11eba21 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -662,6 +662,11 @@ input[type="number"], input[type="password"], input[type="text"], textarea, sele .AP .inner .auth { flex: 0 0 15%; } +.page-term h1 { + font-size: 1.80203em; } + @media screen and (max-width: 544px) { + .page-term h1 { + font-size: 1.42383em; } } .page-term #screen { font-family: monospace; font-size: 16pt; diff --git a/html_orig/css/app.css b/html_orig/css/app.css index ce314f4..11eba21 100644 --- a/html_orig/css/app.css +++ b/html_orig/css/app.css @@ -662,6 +662,11 @@ input[type="number"], input[type="password"], input[type="text"], textarea, sele .AP .inner .auth { flex: 0 0 15%; } +.page-term h1 { + font-size: 1.80203em; } + @media screen and (max-width: 544px) { + .page-term h1 { + font-size: 1.42383em; } } .page-term #screen { font-family: monospace; font-size: 16pt; diff --git a/html_orig/sass/pages/_term.scss b/html_orig/sass/pages/_term.scss index 6b085e4..aef9183 100755 --- a/html_orig/sass/pages/_term.scss +++ b/html_orig/sass/pages/_term.scss @@ -1,4 +1,11 @@ .page-term { + h1 { + font-size: fsize(5); + @include media($phone) { + font-size: fsize(3); + } + } + #screen { font-family: monospace; font-size: 16pt;