Start work on Styling

This commit is contained in:
2026-02-16 16:37:50 -08:00
parent 37687b64c7
commit a24ea523a8
4 changed files with 45 additions and 10 deletions
+1 -4
View File
@@ -3,12 +3,9 @@
<div class="page">
<main>
<div class="top-row px-4">
<h1>AI Stock Traider</h1>
<h1>AI Stock Trader</h1>
</div>
<article class="content px-4">
@Body
</article>
</main>
</div>
@@ -15,7 +15,7 @@ main {
.top-row {
background-color: #f7f7f7;
border-bottom: 1px solid #d6d5d5;
justify-content: flex-end;
justify-content: center;
height: 3.5rem;
display: flex;
align-items: center;
+17 -4
View File
@@ -3,11 +3,24 @@
<PageTitle>Home</PageTitle>
<h1>Hello, world!</h1>
<div class="card-holder">
<a class="card">
HOME
</a>
<a class="card">
S&P Chart
</a>
<a class="card">
Connect
</a>
<a class="card">
About
</a>
</div>
Welcome to your new app.
<button @onclick="pullData">@buttonText</button>
<div class="main-area">
<button @onclick="pullData">@buttonText</button>
</div>
@code {
+25
View File
@@ -0,0 +1,25 @@
.card-holder {
display: flex;
float: left;
flex-direction: column;
background-color: red;
width: 300px;
height: calc(100vh - 3.5rem);
}
.card {
background-color: blue;
margin: 5px;
height: 45px;
color: white;
align-items: center;
display: flex;
justify-content: center;
}
.main-area {
float: left;
background-color: aqua;
height: calc(100vh - 3.5rem);
width: calc(100vw - 300px);
}