Improved layout
This commit is contained in:
parent
dd10b8e1e4
commit
3aabd3003a
@ -40,6 +40,8 @@ const amv-large-width = 854px
|
||||
|
||||
img
|
||||
border-radius ui-element-border-radius
|
||||
width anime-image-small-width
|
||||
height anime-image-small-height
|
||||
|
||||
.amv-links
|
||||
//
|
||||
@ -53,10 +55,6 @@ const amv-large-width = 854px
|
||||
justify-content flex-start
|
||||
margin-top 0
|
||||
|
||||
.amv
|
||||
max-width 200px
|
||||
margin calc(content-padding / 2)
|
||||
|
||||
.amvs
|
||||
.amv
|
||||
max-width 520px
|
||||
|
@ -1,2 +1,7 @@
|
||||
.amvs-page
|
||||
justify-content space-evenly !important
|
||||
justify-content space-evenly !important
|
||||
|
||||
> 500px
|
||||
.amvs-page
|
||||
.amv
|
||||
margin-bottom media-bottom-margin
|
@ -1,2 +1,8 @@
|
||||
.anime-amvs
|
||||
horizontal-wrap
|
||||
horizontal-wrap
|
||||
|
||||
> 500px
|
||||
.anime-amvs
|
||||
.amv
|
||||
max-width 200px
|
||||
margin calc(content-padding / 2)
|
@ -70,37 +70,6 @@
|
||||
.anime-info-value
|
||||
text-align right
|
||||
|
||||
.anime-soundtracks
|
||||
vertical
|
||||
|
||||
.soundtrack
|
||||
margin 1rem 0
|
||||
|
||||
.soundtrack-content
|
||||
border-bottom-left-radius ui-element-border-radius !important
|
||||
border-top-left-radius ui-element-border-radius !important
|
||||
|
||||
.soundtrack-anime-image
|
||||
display none
|
||||
|
||||
> 500px
|
||||
.anime-soundtracks
|
||||
horizontal-wrap
|
||||
justify-content flex-start
|
||||
|
||||
.soundtrack
|
||||
max-width 200px
|
||||
margin calc(content-padding / 2)
|
||||
|
||||
.soundtrack-content
|
||||
min-height 112px
|
||||
height 112px
|
||||
|
||||
.soundtrack-play-button
|
||||
width 48px
|
||||
height 48px
|
||||
font-size 1rem
|
||||
|
||||
.anime-section
|
||||
margin-top 1rem
|
||||
|
||||
|
30
pages/anime/soundtracks.scarlet
Normal file
30
pages/anime/soundtracks.scarlet
Normal file
@ -0,0 +1,30 @@
|
||||
.anime-soundtracks
|
||||
vertical
|
||||
|
||||
.soundtrack
|
||||
margin 1rem 0
|
||||
|
||||
.soundtrack-content
|
||||
border-bottom-left-radius ui-element-border-radius !important
|
||||
border-top-left-radius ui-element-border-radius !important
|
||||
|
||||
.soundtrack-anime-image
|
||||
display none
|
||||
|
||||
> 500px
|
||||
.anime-soundtracks
|
||||
horizontal-wrap
|
||||
justify-content flex-start
|
||||
|
||||
.soundtrack
|
||||
max-width 200px
|
||||
margin calc(content-padding / 2)
|
||||
|
||||
.soundtrack-content
|
||||
min-height 112px
|
||||
height 112px
|
||||
|
||||
.soundtrack-play-button
|
||||
width 48px
|
||||
height 48px
|
||||
font-size 1rem
|
@ -13,6 +13,7 @@ const soundtrack-margin = 1rem
|
||||
> 500px
|
||||
.soundtrack
|
||||
margin soundtrack-margin
|
||||
margin-bottom media-bottom-margin
|
||||
|
||||
.soundtrack-content
|
||||
horizontal
|
||||
|
@ -105,6 +105,7 @@ const content-padding = 1.6rem
|
||||
const content-padding-top = 1.6rem
|
||||
const content-line-height = 1.7em
|
||||
const typography-margin = 0.4rem
|
||||
const media-bottom-margin = 2rem
|
||||
|
||||
// Sizes
|
||||
const anime-image-tiny-width = 39px
|
||||
|
Loading…
Reference in New Issue
Block a user