From 30ebe2d493b2f0578dfd6f33950e5dc7b1631329 Mon Sep 17 00:00:00 2001 From: Bohung Date: Tue, 13 Jul 2021 17:18:53 +0800 Subject: [PATCH] Change px to em. --- assets/stylesheets/bootstrap/_variables.scss | 2 +- modules/vlog/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/stylesheets/bootstrap/_variables.scss b/assets/stylesheets/bootstrap/_variables.scss index e3056d9..7b38d92 100644 --- a/assets/stylesheets/bootstrap/_variables.scss +++ b/assets/stylesheets/bootstrap/_variables.scss @@ -769,7 +769,7 @@ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default; $carousel-control-color: #fff !default; $carousel-control-width: 15% !default; $carousel-control-opacity: .5 !default; -$carousel-control-font-size: 20px !default; +$carousel-control-font-size: 1.25em !default; $carousel-indicator-active-bg: #fff !default; $carousel-indicator-border-color: #fff !default; diff --git a/modules/vlog/index.html.erb b/modules/vlog/index.html.erb index 75a25fd..c1cae22 100644 --- a/modules/vlog/index.html.erb +++ b/modules/vlog/index.html.erb @@ -15,7 +15,7 @@ } .video-thumbnail i{ color: #08c; - font-size: 40px; + font-size: 2.5em; left: 25px; position: absolute; top: 18px;