[Rt-commit] rt branch, master, updated. rt-4.4.4-698-g2a1e186c84

? sunnavy sunnavy at bestpractical.com
Wed Jan 15 15:30:55 EST 2020


The branch, master has been updated
       via  2a1e186c841968ba010d0112aa943d63a2a1d469 (commit)
      from  29c9ebba84c647a19e84ed72bebcb663c0fd756d (commit)

Summary of changes:
 devel/third-party/bootstrap-4.2.1/bootstrap.scss | 4 ----
 share/static/css/elevator-light/bootstrap.css    | 6 +++---
 2 files changed, 3 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit 2a1e186c841968ba010d0112aa943d63a2a1d469
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Jan 15 04:25:32 2020 +0800

    Revert to bootstrap's default font size for heads
    
    In previous version, h3 has the same size of normal text, which is too
    small. Bootstrap's version is a good base, and we can change html(e.g.
    from h1 to h2 or even h3) instead to customize the font size of content.

diff --git a/devel/third-party/bootstrap-4.2.1/bootstrap.scss b/devel/third-party/bootstrap-4.2.1/bootstrap.scss
index 5ac9efc840..0ea513ca24 100644
--- a/devel/third-party/bootstrap-4.2.1/bootstrap.scss
+++ b/devel/third-party/bootstrap-4.2.1/bootstrap.scss
@@ -1,10 +1,6 @@
 $font-family-sans-serif: 'Inter', sans-serif;
 $font-family-monospace: 'Inter', monospace;
 
-$h1-font-size: 36px;
-$h2-font-size: 24px;
-$h3-font-size: 13px;
-
 $input-border-color: #c0c7d1;
 $input-border-width: 1px;
 $input-border-radius: 3px;
diff --git a/share/static/css/elevator-light/bootstrap.css b/share/static/css/elevator-light/bootstrap.css
index ce60691924..0a155d6615 100644
--- a/share/static/css/elevator-light/bootstrap.css
+++ b/share/static/css/elevator-light/bootstrap.css
@@ -358,15 +358,15 @@ h1, h2, h3, h4, h5, h6,
 }
 
 h1, .h1 {
-  font-size: 36px;
+  font-size: 2.5rem;
 }
 
 h2, .h2 {
-  font-size: 24px;
+  font-size: 2rem;
 }
 
 h3, .h3 {
-  font-size: 13px;
+  font-size: 1.75rem;
 }
 
 h4, .h4 {

-----------------------------------------------------------------------


More information about the rt-commit mailing list