From 32efbb1feab0c5f6192b378983bce02d6f1dd908 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 3 May 2017 15:03:58 +0200 Subject: [PATCH] Bug 11338: modified sizes --- static/css/style.css | 16 ++++++++++------ static/scss/style.scss | 16 +++++++++------- templates/index.html | 10 +++++----- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 3007e108..469d7f63 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4982,8 +4982,11 @@ h3 { line-height: 2rem; } h4 { - font-weight: 600; + font-weight: 500; line-height: 1.75rem; } + @media (max-width: 767px) { + h4 { + font-size: 1em; } } h5 { line-height: 1.5rem; } @@ -5049,10 +5052,10 @@ img.img-fluid { animation: scroll 1.5s ease-in-out infinite; } @media (max-width: 767px) { .i_arrow_down { - width: 2rem !important; - height: 2rem !important; - left: .15rem; - top: -.75rem; } } + width: 1.75rem !important; + height: 1.75rem !important; + left: .25rem; + top: -.5rem; } } .i_lg { width: 2.5rem; @@ -5372,7 +5375,8 @@ section#fireinfo { color: #546e7a; position: absolute; top: calc(50% - 1.25rem); - width: 100%; } + width: 100%; + font-size: 1.25em; } footer { padding: 3rem 0 0 0; } diff --git a/static/scss/style.scss b/static/scss/style.scss index 381c145d..f0b30317 100644 --- a/static/scss/style.scss +++ b/static/scss/style.scss @@ -55,13 +55,11 @@ // Colors - .amber-800 { color: $amber-800; } // Fonts - h1 { line-height: 3rem; } @@ -75,8 +73,11 @@ h3 { } h4 { - font-weight: 600; + font-weight: 500; line-height: 1.75rem; + @include media-breakpoint-down(sm) { + font-size: 1em; + } } h5 { @@ -155,10 +156,10 @@ img { top: -.25rem; animation: scroll 1.5s ease-in-out infinite; @include media-breakpoint-down(sm) { - width: 2rem !important; - height: 2rem !important; - left: .15rem; - top: -.75rem; + width: 1.75rem !important; + height: 1.75rem !important; + left: .25rem; + top: -.5rem; } } @@ -462,6 +463,7 @@ section#fireinfo { position: absolute; top: calc(50% - 1.25rem); width: 100%; + font-size: 1.25em; } } diff --git a/templates/index.html b/templates/index.html index 4a917d40..c1bd1618 100644 --- a/templates/index.html +++ b/templates/index.html @@ -245,9 +245,9 @@

FireInfo Statistics

-
+
-

Latest Release

+

Latest Release

2.19 Core 109

48%

@@ -258,7 +258,7 @@
-

Favorite Kernel

+

Favorite Kernel

3.14.79-ipfire-pae

36%

@@ -269,7 +269,7 @@
-

Favorite CPU

+

Favorite CPU

Intel

71%

@@ -280,7 +280,7 @@
-

Favorite Virtualisation

+

Favorite Virtualisation

VMWare

46%

-- 2.39.2