diff options
| author | mat <github@matdoes.dev> | 2022-02-20 21:38:14 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-02-20 21:38:14 -0600 |
| commit | 13e5974114f759bae73f3bfd68c62ce9cfaf785e (patch) | |
| tree | 8a196b27b8d4dece1dc2187332422a4e41423dfa /src/lib/minecraft/heads | |
| parent | 582409e7cb1598b65bee6d1023b77620bb3791af (diff) | |
| download | skyblock-stats-13e5974114f759bae73f3bfd68c62ce9cfaf785e.tar.gz skyblock-stats-13e5974114f759bae73f3bfd68c62ce9cfaf785e.tar.bz2 skyblock-stats-13e5974114f759bae73f3bfd68c62ce9cfaf785e.zip | |
add more stuff to profile and fix bugs
Diffstat (limited to 'src/lib/minecraft/heads')
| -rw-r--r-- | src/lib/minecraft/heads/Head2d.svelte | 6 | ||||
| -rw-r--r-- | src/lib/minecraft/heads/Head3d.svelte | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/minecraft/heads/Head2d.svelte b/src/lib/minecraft/heads/Head2d.svelte index d4e9ca8..9d71551 100644 --- a/src/lib/minecraft/heads/Head2d.svelte +++ b/src/lib/minecraft/heads/Head2d.svelte @@ -6,7 +6,7 @@ <img loading="lazy" class="head head2d" - class:userHead={isPartOfUsername} + class:player-head={isPartOfUsername} src="https://crafatar.com/avatars/{player.uuid}?size=8&overlay" alt="{player.username}'s face" /> @@ -27,4 +27,8 @@ height: 1em; width: 1em; } + + .player-head { + margin-right: 0.2em; + } </style> diff --git a/src/lib/minecraft/heads/Head3d.svelte b/src/lib/minecraft/heads/Head3d.svelte index f8d2657..2400f4b 100644 --- a/src/lib/minecraft/heads/Head3d.svelte +++ b/src/lib/minecraft/heads/Head3d.svelte @@ -6,7 +6,7 @@ <img loading="lazy" class="head head3d" - class:userHead={isPartOfUsername} + class:player-head={isPartOfUsername} src="https://www.mc-heads.net/head/{player.uuid}/128" alt="{player.username}'s head" /> @@ -24,4 +24,8 @@ height: 1em; width: 1em; } + + .player-head { + margin-right: 0.2em; + } </style> |
