fix(00_ProjectStructure): modified the details and formattings

This commit is contained in:
2025-03-13 17:50:27 +03:30
parent 20d08cab8d
commit f9163fb61c
1316 changed files with 26 additions and 27 deletions
@@ -0,0 +1,48 @@
@model Character
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="card">
<img src="/img/@Model.ImageName" alt="John" style="width:100%">
<h1>@Model.Name</h1>
<p class="title">@Model.Birthdate</p>
<p>@Model.Quote</p>
<p><button>View</button></p>
</div>
<style>
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
}
.title {
color: grey;
font-size: 18px;
}
button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
a {
text-decoration: none;
font-size: 22px;
color: black;
}
button:hover, a:hover {
opacity: 0.7;
}
</style>