style a bit more

This commit is contained in:
nelle 2024-07-05 18:02:08 -06:00 committed by Iceshrimp development
parent a4ee5e4d6f
commit 8a0f437433

View file

@ -5,14 +5,14 @@
<div :class="'.icon'"> <div :class="'.icon'">
<div :class="['.iconFrame', ['iconFrame_' + ACHIEVEMENT_BADGES[achievement.name].frame]]"> <div :class="['.iconFrame', ['iconFrame_' + ACHIEVEMENT_BADGES[achievement.name].frame]]">
<div :class="['.iconInner']" :style="{ background: ACHIEVEMENT_BADGES[achievement.name].bg }"> <div :class="['.iconInner']" :style="{ background: ACHIEVEMENT_BADGES[achievement.name].bg }">
<img :class="'.iconImg'" :src="ACHIEVEMENT_BADGES[achievement.name].img"> <img :class="'.iconImg'" :style="'width: calc(15%);'" :src="ACHIEVEMENT_BADGES[achievement.name].img">
</div> </div>
</div> </div>
</div> </div>
<div :class="'.body'"> <div :class="'.body'">
<div :class="'.header'"> <div :class="'.header'">
<span :class="'.title'" :style="'font-size: 125%; font-weight: bold;'">{{ i18n.ts._achievements._types['_' + achievement.name].title }}</span> <span :class="'.title'" :style="'font-size: 125%; font-weight: bold;'">{{ i18n.ts._achievements._types['_' + achievement.name].title }}</span>
<span :class="'.time'" :style="'margin-left: 10px; font-size: 125%;'"> <span :class="'.time'" :style="'margin-left: 10px; font-size: 90%;'">
<time v-tooltip="new Date(achievement.unlockedAt).toLocaleString()">{{ new Date(achievement.unlockedAt).getFullYear() }}/{{ new Date(achievement.unlockedAt).getMonth() + 1 }}/{{ new Date(achievement.unlockedAt).getDate() }}</time> <time v-tooltip="new Date(achievement.unlockedAt).toLocaleString()">{{ new Date(achievement.unlockedAt).getFullYear() }}/{{ new Date(achievement.unlockedAt).getMonth() + 1 }}/{{ new Date(achievement.unlockedAt).getDate() }}</time>
</span> </span>
</div> </div>