Improved style
This commit is contained in:
parent
86b2eea13a
commit
da0af0cd9a
@ -1,4 +1,4 @@
|
||||
component Character(character *arn.Character)
|
||||
a.character(href="/character/" + character.ID)
|
||||
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
|
||||
transform scale(1.05)
|
||||
|
||||
.character-name
|
||||
opacity 1
|
||||
// .character-name
|
||||
// opacity 1
|
||||
|
||||
.character-image
|
||||
border-radius 3px
|
||||
box-shadow shadow-medium
|
||||
object-fit cover
|
||||
|
||||
.character-name
|
||||
font-size 0.75rem
|
||||
color text-color
|
||||
opacity 0.5
|
||||
transition opacity transition-speed ease
|
||||
// .character-name
|
||||
// font-size 0.75rem
|
||||
// color text-color
|
||||
// opacity 0.5
|
||||
// transition opacity transition-speed ease
|
||||
|
||||
.character-image
|
||||
width 112px
|
||||
|
Loading…
Reference in New Issue
Block a user