Improved style

This commit is contained in:
Eduard Urbach 2017-07-13 09:22:32 +02:00
parent 86b2eea13a
commit da0af0cd9a
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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