From 60eb89e336de441c461d0d1a895f393afa874a05 Mon Sep 17 00:00:00 2001 From: Joy Cheng Date: Fri, 20 Aug 2021 21:36:29 +0800 Subject: [PATCH] [add] base page --- app/assets/style/all.scss | 1 + app/assets/style/helpers/_base.scss | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 app/assets/style/helpers/_base.scss diff --git a/app/assets/style/all.scss b/app/assets/style/all.scss index d152367..f3fd277 100644 --- a/app/assets/style/all.scss +++ b/app/assets/style/all.scss @@ -7,6 +7,7 @@ @import './utilities/hover/hover.scss'; //hover effects +@import './helpers/base'; @import './helpers/helpers'; //rwd heights and widths @import './helpers/mixin'; //vh diff --git a/app/assets/style/helpers/_base.scss b/app/assets/style/helpers/_base.scss new file mode 100644 index 0000000..d5bd0fd --- /dev/null +++ b/app/assets/style/helpers/_base.scss @@ -0,0 +1,18 @@ +//清空bs5 預設樣式 +ul, ol{ + margin: 0; + padding: 0; + list-style: none; +} + +h1, h2, h3, h4, h5, h6, p, .h1, .h2, .h3, .h4, .h5, .h6{ + margin-bottom: 0; +} + +a{ + padding: 0; +} + +img{ + vertical-align: middle; +} \ No newline at end of file