hexo-theme-stellar/source/css/_layout/partial/cover.styl

33 lines
636 B
Stylus
Raw Normal View History

2021-02-19 23:33:19 +08:00
.l_cover
height: 100vh
text-align: center
display: flex
flex-direction: column
justify-content: center
align-items: center
.l_cover .cover-wrap
margin-bottom: 0
2021-03-05 21:37:28 +08:00
max-width: $device-mobile
2021-02-24 00:32:07 +08:00
.preview
2021-02-19 23:33:19 +08:00
margin-bottom: 2rem
img
object-fit: contain
max-height: 35vh
max-width: 100%
2021-03-05 21:37:28 +08:00
@media screen and (max-width: $device-mobile)
2021-02-24 00:32:07 +08:00
max-width: 60%
2021-02-19 23:33:19 +08:00
.cover-title
font-weight: 700
font-size: 1.5rem
margin: 1rem 0
&:first-child
font-size: 3rem
.description
margin: 1rem 0
.start-wrap
2021-03-05 21:37:28 +08:00
margin: 2rem 0
2021-02-19 23:33:19 +08:00
flex-shrink: 0
a.start
display: inline-block