Centered title
Standard button width Removed emoji from home Removed extra window from play
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
button {
|
button {
|
||||||
max-width: 33%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
.title-bar {
|
.title-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 15px;
|
|
||||||
span{
|
span{
|
||||||
margin: 0 auto;
|
text-align: center;
|
||||||
|
flex-grow: .75;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,10 @@
|
|||||||
|
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<a href="/play" class="tab-button">
|
<a href="/play" class="tab-button">
|
||||||
<span class="tab-icon">🎮</span>
|
<span class="tab-icon">Play</span>
|
||||||
<span>Play</span>
|
|
||||||
</a>
|
</a>
|
||||||
<a href="/rules" class="tab-button">
|
<a href="/rules" class="tab-button">
|
||||||
<span class="tab-icon">📖</span>
|
<span class="tab-icon">Rules</span>
|
||||||
<span>Rules</span>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -59,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tab-button {
|
.tab-button {
|
||||||
border: none;
|
border:color(from color srgb r g b);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 25px 40px;
|
padding: 25px 40px;
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="window">
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Chart Generator</legend>
|
<legend>Chart Generator</legend>
|
||||||
<ChartDisplay chart={currentChart} />
|
<ChartDisplay chart={currentChart} />
|
||||||
@@ -40,24 +39,14 @@
|
|||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Position Roller</legend>
|
<legend>Position Roller</legend>
|
||||||
<DiceRoller {diceRoll} />
|
<DiceRoller roll={diceRoll} />
|
||||||
<div class="button-row">
|
<div class="button-row">
|
||||||
<button onclick={rollDice}>Roll Dice</button>
|
<button onclick={rollDice}>Roll Dice</button>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.window {
|
|
||||||
max-width: 60rem;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 1.5rem;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
padding: 1.25rem;
|
padding: 1.25rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user