Compare commits
No commits in common. "486b53d9d723006ae2b3b35346d9f6f75e2a9d1b" and "bd1b584e945984a87d91380aa6bb73bb4493f264" have entirely different histories.
486b53d9d7
...
bd1b584e94
@ -14,8 +14,5 @@ public enum ProjectStatus
|
||||
Hiatus,
|
||||
|
||||
[Description("The project is no longer being worked on.")]
|
||||
Past,
|
||||
|
||||
[Description("The project has been retired with no plans for completion.")]
|
||||
Retired,
|
||||
Past
|
||||
}
|
||||
|
@ -23,6 +23,9 @@
|
||||
{
|
||||
case ProjectStatus.Ongoing:
|
||||
<div class="project-card">
|
||||
<div class="ribbon ribbon-top-left green">
|
||||
<span>Ongoing</span>
|
||||
</div>
|
||||
<div class="project-image">
|
||||
<a asp-page="Project" asp-route-slug="@project.Slug">
|
||||
<img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
|
||||
@ -36,6 +39,9 @@
|
||||
|
||||
case ProjectStatus.Past:
|
||||
<div class="border-info project-card">
|
||||
<div class="ribbon ribbon-top-left blue">
|
||||
<span>Past Work</span>
|
||||
</div>
|
||||
<div class="project-image">
|
||||
<a asp-page="Project" asp-route-slug="@project.Slug">
|
||||
<img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
|
||||
@ -49,6 +55,9 @@
|
||||
|
||||
case ProjectStatus.Hiatus:
|
||||
<div class="border-danger project-card">
|
||||
<div class="ribbon ribbon-top-left red">
|
||||
<span>On Hiatus</span>
|
||||
</div>
|
||||
<div class="project-image">
|
||||
<a asp-page="Project" asp-route-slug="@project.Slug">
|
||||
<img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
|
||||
|
@ -57,15 +57,11 @@
|
||||
break;
|
||||
|
||||
case ProjectStatus.Past:
|
||||
<span class="badge rounded-pill text-bg-primary">Completed</span>
|
||||
<span class="badge rounded-pill text-bg-primary">Completed / Retired</span>
|
||||
break;
|
||||
|
||||
case ProjectStatus.Hiatus:
|
||||
<span class="badge rounded-pill text-bg-warning">On Hiatus</span>
|
||||
break;
|
||||
|
||||
case ProjectStatus.Retired:
|
||||
<span class="badge rounded-pill text-bg-danger">Retired</span>
|
||||
<span class="badge rounded-pill text-bg-danger">On Hiatus</span>
|
||||
break;
|
||||
}
|
||||
</td>
|
||||
|
@ -183,45 +183,19 @@ article {
|
||||
background: #000;
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, .1);
|
||||
|
||||
&:hover {
|
||||
.project-image {
|
||||
img {
|
||||
transform: scale(110%);
|
||||
}
|
||||
|
||||
p.project-title {
|
||||
font-size: 1.2em;
|
||||
margin: calc(-35px - .2em) 0 0;
|
||||
}
|
||||
.project-image a {
|
||||
&:link, &:visited, &:hover &:active {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.project-image {
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
z-index: -2;
|
||||
transform: scale(100%);
|
||||
|
||||
transition: transform 500ms;
|
||||
}
|
||||
|
||||
a {
|
||||
&:link, &:visited, &:hover &:active {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
p.project-title {
|
||||
font-size: 1em;
|
||||
transition: font-size 500ms, margin 500ms;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
margin: -34px 0 0;
|
||||
padding: 5px;
|
||||
background-color: rgba(#000, 50%);
|
||||
}
|
||||
|
||||
.project-image p.project-title {
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
margin: -34px 0 0;
|
||||
padding: 5px;
|
||||
background-color: rgba(#000, 50%);
|
||||
}
|
||||
}
|
||||
|
||||
@ -346,7 +320,7 @@ a.brand-linkedin {
|
||||
}
|
||||
|
||||
table.reading-list {
|
||||
th, td {
|
||||
th,td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user