Skip to content

Commit

Permalink
Make chart more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
fromtheeast710 committed Jul 27, 2024
1 parent 0e6a1ca commit 4b85fcd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/layout/IslandOfStability.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{/each}
</g>
<g id="info">
<rect x=55 y=10 width=265 height=150 rx=15 ry=15 fill="yellow"/>
<rect x=55 y=10 width=265 height=150 rx=15 ry=15 fill="teal"/>
<text x=185 y=65 text-anchor="middle" font-size=35>{$symbol}</text>
<text x=160 y=50 text-anchor="end" font-size=20>{$mass}</text>
<text x=160 y=75 text-anchor="end" font-size=20>{$proton}</text>
Expand Down Expand Up @@ -77,13 +77,13 @@

<style lang="postcss">
line {
stroke: gray;
stroke: white;
stroke-width: 2;
}
text {
fill: gray;
fill: white;
}
#info>text {
fill: black;
fill: white;
}
</style>

0 comments on commit 4b85fcd

Please sign in to comment.