1
mirror of https://github.com/interstellar750/hexo_s synced 2024-10-19 00:23:51 +08:00
hexo_s/themes/Chic/source/css/layout.styl

40 lines
619 B
Stylus
Raw Permalink Normal View History

.wrapper
display flex
flex-direction column
min-height 100vh
width 100%
.navbar
height 4rem
line-height 4rem
width 100%
.container
width auto
max-width 1200px
text-align center
padding-left 1em
padding-right 1em
margin 0 auto
display flex
justify-content space-between
.main
flex-grow 1
flex-shrink 0
flex-basis auto
display flex
flex-direction column
.container
padding-left 1em
padding-right 1em
height 100%
display flex
flex-direction column
flex 1
.footer
height 4rem
width 100%
text-align center
line-height 4rem