update project statuses, move TILs into regular posts with tag, revamp site colors to kimber base16 palette
This commit is contained in:
@@ -11,17 +11,6 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.status-active {
|
||||
background-color: rgba(76, 175, 80, 0.15);
|
||||
color: #4caf50;
|
||||
border: 1px solid #4caf50;
|
||||
}
|
||||
|
||||
.status-inactive {
|
||||
background-color: rgba(158, 158, 158, 0.15);
|
||||
color: #9e9e9e;
|
||||
border: 1px solid #9e9e9e;
|
||||
}
|
||||
|
||||
.post-image {
|
||||
display: flex;
|
||||
@@ -68,10 +57,9 @@
|
||||
<div class="post-header-section">
|
||||
<h1>
|
||||
{{ .Title | markdownify }}
|
||||
{{ if .Params.active }}
|
||||
<span class="status-badge status-active">Active</span>
|
||||
{{ else }}
|
||||
<span class="status-badge status-inactive">Inactive</span>
|
||||
{{ with .Params.status }}
|
||||
{{ $color := $.Params.statusColor | default "#9e9e9e" }}
|
||||
<span class="status-badge" style="color: {{ $color }}; border: 1px solid {{ $color }}; background-color: {{ $color }}20;">{{ . }}</span>
|
||||
{{ end }}
|
||||
</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user