Improved styling

This commit is contained in:
Eduard Urbach 2018-07-08 00:40:21 +09:00
parent b86a59f53a
commit bcb562bb43
3 changed files with 8 additions and 2 deletions

View File

@ -20,8 +20,8 @@
object-fit cover object-fit cover
.character-image-small .character-image-small
width 56px width character-image-small-width
height 56px height character-image-small-height
border-radius ui-element-border-radius border-radius ui-element-border-radius
box-shadow shadow-light box-shadow shadow-light
object-fit cover object-fit cover

View File

@ -140,6 +140,11 @@ const anime-image-medium-height = 200px
const anime-image-large-width = 250px const anime-image-large-width = 250px
const anime-image-large-height = 350px const anime-image-large-height = 350px
const character-image-small-width = 56px
const character-image-small-height = 56px
const grid-cell-margin = 0.5rem
// Timings // Timings
fade-speed = 150ms fade-speed = 150ms
transition-speed = 150ms transition-speed = 150ms

View File

@ -53,6 +53,7 @@ mixin tip-after
// When the browser is idle, we give all tips the "tip-active" class. // When the browser is idle, we give all tips the "tip-active" class.
.tip-active .tip-active
position relative position relative
z-index 9999
:before :before
tip-before tip-before