chore: polish styles for Wisdom tab

This commit is contained in:
pskfyi 2022-01-14 19:00:44 -08:00 committed by pskfyi
parent 0457a5d7ec
commit 78bdaf2616
1 changed files with 23 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="tab-content md:overflow-hidden"> <div class="tab-content md:overflow-hidden">
<div class="grid grid-cols-2"> <div class="stats grid mb-4 mx-auto max-w-md">
<span align="left"><b>Total spare time generated</b></span <span align="left"><b>Total spare time generated</b></span
><span align="right">{{ ><span align="right">{{
$store.getters.suffixedDecimalText($store.state.currencyTotal) $store.getters.suffixedDecimalText($store.state.currencyTotal)
@ -27,14 +27,29 @@
><span align="right">{{ $store.state.wisdomGained }}</span> ><span align="right">{{ $store.state.wisdomGained }}</span>
<span align="left"><b>Wisdom from other timelines</b></span <span align="left"><b>Wisdom from other timelines</b></span
><span align="right" ><span align="right">{{ $store.state.wisdomApplied }}</span>
>{{ $store.state.wisdomApplied }}: +{{ $store.state.wisdomApplied }}% to
Spare Time, Energy, and Mana gained</span
>
</div> </div>
<hr />
Created by GrapefruitChili, PK, TNNPe, Vice for New Years Incremental Game <p class="text-center pb-2">
Jam 2022. Accrued <b>Wisdom</b> makes you gain more <br class="md:hidden" />
Spare Time, Energy, and Mana.
</p>
<p class="text-center pb-4 text-sm font-bold">
Current bonus: +{{ $store.state.wisdomApplied }}%
</p>
<hr class="pb-4" :class="`border-${$store.getters.activeTab.darkColor}`" />
<p class="text-center">
Created by GrapefruitChili, PK, TNNPe, Vice <br class="md:hidden" />
for New Years Incremental Game Jam 2022.
</p>
</div> </div>
</template> </template>
<style scoped>
.stats {
grid-template-columns: minmax(0, 1fr) auto;
}
</style>