Improved style
This commit is contained in:
parent
86b2eea13a
commit
da0af0cd9a
@ -1,4 +1,4 @@
|
|||||||
component Character(character *arn.Character)
|
component Character(character *arn.Character)
|
||||||
a.character(href="/character/" + character.ID)
|
a.character(href="/character/" + character.ID)
|
||||||
img.character-image.lazy(src="", data-src=character.Image, alt=character.Name, title=character.Name)
|
img.character-image.lazy(src="", data-src=character.Image, alt=character.Name, title=character.Name)
|
||||||
span.character-name= character.Name
|
//- span.character-name= character.Name
|
@ -11,19 +11,19 @@
|
|||||||
:hover
|
:hover
|
||||||
transform scale(1.05)
|
transform scale(1.05)
|
||||||
|
|
||||||
.character-name
|
// .character-name
|
||||||
opacity 1
|
// opacity 1
|
||||||
|
|
||||||
.character-image
|
.character-image
|
||||||
border-radius 3px
|
border-radius 3px
|
||||||
box-shadow shadow-medium
|
box-shadow shadow-medium
|
||||||
object-fit cover
|
object-fit cover
|
||||||
|
|
||||||
.character-name
|
// .character-name
|
||||||
font-size 0.75rem
|
// font-size 0.75rem
|
||||||
color text-color
|
// color text-color
|
||||||
opacity 0.5
|
// opacity 0.5
|
||||||
transition opacity transition-speed ease
|
// transition opacity transition-speed ease
|
||||||
|
|
||||||
.character-image
|
.character-image
|
||||||
width 112px
|
width 112px
|
||||||
|
Loading…
Reference in New Issue
Block a user