Use content-padding-half constant

This commit is contained in:
2018-11-21 16:43:41 +09:00
parent 7650137b4d
commit 45661b786c
14 changed files with 19 additions and 18 deletions

View File

@ -122,6 +122,7 @@ outline-shadow-heavy = 0 0 6px rgba(0, 0, 0, 0.6)
// Distances
const content-padding = 1.6rem
const content-padding-top = 1.6rem
const content-padding-half = calc(content-padding / 2)
const content-line-height = 1.7em
const typography-margin = 0.4rem
const media-bottom-margin = 2rem

View File

@ -4,7 +4,7 @@
bottom 0
left 0
width 100%
padding calc(content-padding / 2) content-padding
padding content-padding-half content-padding
pointer-events none
z-index 1000

View File

@ -1,7 +1,7 @@
.widget
vertical
flex 1
margin calc(content-padding / 2)
margin content-padding-half
.widget-section
vertical