Using mixins now

This commit is contained in:
2016-11-29 12:37:36 +09:00
parent acce2c5577
commit 125d200d2f
10 changed files with 32 additions and 29 deletions

View File

@ -1,5 +1,4 @@
#content
display flex
flex-flow column
vertical
padding content-padding
line-height 1.7em

View File

@ -1,6 +1,5 @@
.grid
display flex
flex-flow row wrap
horizontal-wrap
justify-content center
.grid-cell
@ -57,10 +56,9 @@
border none
.grid-text
vertical
width 100%
height 100%
display flex
flex-flow column
align-items center
justify-content center
font-size 1rem

View File

@ -1,7 +1,6 @@
#container
vertical
height 100%
display flex
flex-flow column
#header
background-color header-color

15
styles/mixins.scarlet Normal file
View File

@ -0,0 +1,15 @@
mixin horizontal
display flex
flex-direction row
mixin horizontal-wrap
display flex
flex-flow row wrap
mixin vertical
display flex
flex-direction column
mixin vertical-wrap
display flex
flex-flow column wrap

View File

@ -1,6 +1,5 @@
#navigation
display flex
flex-flow row
horizontal
padding 0 content-padding
height nav-height
overflow hidden