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

View File

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