Use variables for image sizes
This commit is contained in:
parent
436e51c53c
commit
5d40a46720
@ -119,8 +119,8 @@
|
||||
margin-top 0.5rem
|
||||
|
||||
.anime-cover-image
|
||||
width 250px
|
||||
height auto
|
||||
width anime-image-large-width
|
||||
height anime-image-large-height
|
||||
border-radius 3px
|
||||
|
||||
default-transition
|
||||
|
@ -95,10 +95,14 @@ outline-shadow-medium = 0 0 6px rgba(0, 0, 0, 0.13)
|
||||
outline-shadow-heavy = 0 0 6px rgba(0, 0, 0, 0.6)
|
||||
|
||||
// Distances
|
||||
content-padding = 1.6rem
|
||||
content-padding-top = 1.6rem
|
||||
content-line-height = 1.7em
|
||||
typography-margin = 0.4rem
|
||||
const content-padding = 1.6rem
|
||||
const content-padding-top = 1.6rem
|
||||
const content-line-height = 1.7em
|
||||
const typography-margin = 0.4rem
|
||||
|
||||
// Sizes
|
||||
const anime-image-large-width = 250px
|
||||
const anime-image-large-height = auto
|
||||
|
||||
// Timings
|
||||
fade-speed = 150ms
|
||||
|
Loading…
Reference in New Issue
Block a user