Skip to content

Commit

Permalink
[add] base page
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy-port committed Aug 20, 2021
1 parent 6ab4c2b commit 60eb89e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/style/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
18 changes: 18 additions & 0 deletions app/assets/style/helpers/_base.scss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 60eb89e

Please sign in to comment.