aotds-docks/src/components/CostMass.svelte

22 lines
392 B
Svelte
Raw Normal View History

2020-07-19 20:21:28 +00:00
<div class="mass">{ mass }</div>
<div class="cost">{ cost }</div>
<script>
export let mass;
export let cost;
</script>
<style>
.cost { grid-column: 3; }
.mass { grid-column: 2; }
img {
width: 0.75em;
}
.cost:after { content: '\00A4'; margin-left: 0.5em; }
2020-07-24 18:11:18 +00:00
.mass:after { content: url("mass.svg"); width: 0.75em; display:
2020-07-19 20:21:28 +00:00
inline-block; margin-left: 0.5em; }
2020-07-25 15:56:23 +00:00
2020-07-19 20:21:28 +00:00
</style>