Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
garioncox committed Mar 19, 2024
2 parents 2ea9797 + 0338235 commit e5afb56
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
14 changes: 7 additions & 7 deletions KakeysBakery/Components/Pages/Cart.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="align-content-center p-5" id="totalCart">
<div class="text-center">
<h2> YOUR CART </h2>
<h2 id="pageTitle"> YOUR CART </h2>
</div>


Expand All @@ -16,8 +16,8 @@
<tr>
<th scope="col"></th>
<th scope="col"></th>
<th class="px-3" scope="col">Qty</th>
<th class="px-3" scope="col">Price</th>
<th class="px-3 itemDescription" scope="col">Qty</th>
<th class="px-3 itemDescription" scope="col">Price</th>
</tr>
<tr><td colspan="4"><hr /></td></tr>
</thead>
Expand All @@ -27,7 +27,7 @@
<tr class="cartCard flex-row">
<td class="pe-4"><img src="images/cookie.jpg" /></td>
<td>
<h1>Some Item Name</h1>
<h1 class="itemName">Some Item Name</h1>
<p class="itemDescription">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Aliquam vel ex nec erat sollicitudin mattis id quis est.
Expand All @@ -43,14 +43,14 @@
Maecenas varius vitae nisi id tempus.
</p>
</td>
<td class="ps-4">1x</td>
<td class="px-3">$5.00</td>
<td class="ps-4 itemDescription">1x</td>
<td class="px-3 itemDescription">$5.00</td>
</tr>
<tr><td colspan="4"><hr /></td></tr>

}
<tr id="">
<td colspan="4" style="text-align: right;">TOTAL: $10.00</td>
<td colspan="4" style="text-align: right;" class="itemDescription">TOTAL: $10.00</td>
</tr>
</tbody>
</table>
Expand Down
21 changes: 17 additions & 4 deletions KakeysBakery/Components/Pages/Cart.razor.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
body {
@font-face {
font-family: testFont;
src: url(Fonts/cartFont2.otf) format('opentype');
}

@font-face {
font-family: testFont2;
src: url(Fonts/cartFont3.otf) format('opentype');
}

body {
background-color: green;
}

.itemName {
padding-left: 5%;
font-family: testFont2;
}

.itemDescription {

font-family: serif;
}

.itemImage {
Expand All @@ -31,10 +41,13 @@
}

#totalCart {
/*background-color: #EBDCCE;*/
}

#totalTable {
padding-right: 100px;
}

#pageTitle {
font-family: testFont2;
}

Binary file added KakeysBakery/wwwroot/Fonts/cartFont.otf
Binary file not shown.
Binary file added KakeysBakery/wwwroot/Fonts/cartFont2.otf
Binary file not shown.
Binary file added KakeysBakery/wwwroot/Fonts/cartFont3.otf
Binary file not shown.

0 comments on commit e5afb56

Please sign in to comment.