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