This commit is contained in:
Garry Ing 2021-05-02 12:34:28 -04:00
parent d00436ce06
commit 9d524b878a
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E
2 changed files with 15 additions and 5 deletions

View File

@ -5,7 +5,7 @@ layout: default
<article id="note-container" class="w-50 pa3 pr0 relative z-1">
<div class="container bg-white min-vh-100-header-comp pa3 br4 flex flex-column justify-between">
<header>
<div class="note-meta flex f7 lh-copy justify-between code items-center">
<div class="note-meta flex f7 lh-copy justify-between code items-center" data-status="{{ page.status }}">
{% if page.date_created %}
<time class="ml3 flex-auto" datetime="{{ page.date_created | date_to_xmlschema }}">{% if page.type != 'pages' %}
Created <br> {{ page.date_created | date: "%B %-d, %Y" }}

View File

@ -125,11 +125,21 @@
// Notes inline styles
.note-meta:before {
content: '';
width: 20px;
height: 20px;
content: attr(data-status);
display: flex;
justify-content: center;
text-indent: -4px;
line-height: 30px;
width: 30px;
height: 30px;
border-radius: 100%;
background: var(--active-note);
border: 1px solid var(--active-note);
}
@-moz-document url-prefix() {
.note-meta:before {
text-indent: 0;
}
}
.internal-link {