Moar style

This commit is contained in:
nelle 2024-07-05 18:06:03 -06:00 committed by Iceshrimp development
parent 8a0f437433
commit 9d829f39a4

View file

@ -12,11 +12,11 @@
<div :class="'.body'">
<div :class="'.header'">
<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: 90%;'">
<span :class="'.time'" :style="'margin-left: 10px; font-size: 110%;'">
<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>
</div>
<div :class="'.description'">{{ i18n.ts._achievements._types['_' + achievement.name].description }}</div>
<div :class="'.description'" :style="'font-size: 125%'">{{ i18n.ts._achievements._types['_' + achievement.name].description }}</div>
<div v-if="i18n.ts._achievements._types['_' + achievement.name].flavor" :class="'.flavor'">{{ i18n.ts._achievements._types['_' + achievement.name].flavor }}</div>
</div>
</div>
@ -26,7 +26,7 @@
</div>
<div :class="'.body'">
<div :class="'.header'">
<span :class="'.title'" :style="'font-size: 100%; font-weight: bold;'">???</span>
<span :class="'.title'" :style="'font-size: 125%; font-weight: bold'">???</span>
</div>
<div :class="'.description'" :style="'font-size: 125%;'">???</div>
</div>