]> git.ipfire.org Git - ipfire.org.git/commitdiff
Bug 11338: modified sizes
authorSven <sven.hoehn@posteo.de>
Wed, 3 May 2017 13:03:58 +0000 (15:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Apr 2018 10:12:39 +0000 (12:12 +0200)
static/css/style.css
static/scss/style.scss
templates/index.html

index 3007e10883a5ee3f935385533862b3a2b4174ee5..469d7f638d1b9f7d2f504d41f5d86c9fb0dbc6e5 100644 (file)
@@ -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; }
index 381c145d9c9d30ec21b9e39fac343bae831a190f..f0b303177a94eaa7cdd4b95616e79cb0497ecb43 100644 (file)
 
 
 // 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;
        }
 }
 
index 4a917d40f05e8badb2922b5391e26896cd123acf..c1bd16183a71575e64d187126012e716e8e545f9 100644 (file)
                <div class="container">
                        <h2 class="display-2 text-center">Fire<strong>Info</strong> Statistics</h2>
                        
-                       <div class="row mb-6 mb-md-5 pb-lg-5  mb-lg-6">
+                       <div class="row mb-6 mb-md-5 pb-lg-5 mb-lg-6">
                                <div class="col-6 col-md-3 mb-6 text-center">
-                                       <p class="mb-3"><small>Latest Release</small></p>
+                                       <p class="mb-0 mb-sm-3"><small>Latest Release</small></p>
                                        <h4 class="pb-5">2.19 Core 109</h4>
                                        <div class="r_circle circle mt-5">
                                                <p class="lead">48%</p>
                                </div>
                                
                                <div class="col-6 col-md-3 mb-6 text-center">
-                                       <p class="mb-3"><small>Favorite Kernel</small></p>
+                                       <p class="mb-0 mb-sm-3"><small>Favorite Kernel</small></p>
                                        <h4 class="pb-5 truncate">3.14.79-ipfire-pae</h4>
                                        <div class="f_circle circle mt-5">
                                                <p class="lead">36%</p>
                                </div>
                                
                                <div class="col-6 col-md-3 text-center">
-                                       <p class="mb-3"><small>Favorite CPU</small></p>
+                                       <p class="mb-0 mb-sm-3"><small>Favorite CPU</small></p>
                                        <h4 class="pb-5">Intel</h4>
                                        <div class="c_circle circle mt-5">
                                                <p class="lead">71%</p>
                                </div>
                                
                                <div class="col-6 col-md-3 text-center">
-                                       <p class="mb-3 truncate"><small>Favorite Virtualisation</small></p>
+                                       <p class="mb-0 mb-sm-3 truncate"><small>Favorite Virtualisation</small></p>
                                        <h4 class="pb-5">VMWare</h4>
                                        <div class="v_circle circle mt-5">
                                                <p class="lead">46%</p>