fix(layout): dim meta content

This commit is contained in:
Rafael Bardini 2021-11-11 10:43:03 +01:00
parent 06ce831c75
commit f0267684dc
9 changed files with 122 additions and 88 deletions

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{title}}</h4> <h4>{{title}}</h4>
<div class="meta">
{{#awarder}} {{#awarder}}
<div> <div>
Awarded by <strong>{{.}}</strong> Awarded by <strong>{{.}}</strong>
@ -14,6 +15,7 @@
{{#date}} {{#date}}
<time datetime="{{.}}">{{formatDate .}}</time> <time datetime="{{.}}">{{formatDate .}}</time>
{{/date}} {{/date}}
</div>
</header> </header>
{{#summary}} {{#summary}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{> link}}</h4> <h4>{{> link}}</h4>
<div class="meta">
{{#issuer}} {{#issuer}}
<div> <div>
Issued by <strong>{{.}}</strong> Issued by <strong>{{.}}</strong>
@ -14,6 +15,7 @@
{{#date}} {{#date}}
<time datetime="{{.}}">{{formatDate .}}</time> <time datetime="{{.}}">{{formatDate .}}</time>
{{/date}} {{/date}}
</div>
</header> </header>
</article> </article>
{{/each}} {{/each}}

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{> link name=institution}}</h4> <h4>{{> link name=institution}}</h4>
<div class="meta">
{{#area}} {{#area}}
<strong>{{.}}</strong> <strong>{{.}}</strong>
{{/area}} {{/area}}
@ -13,6 +14,7 @@
<time datetime="{{startDate}}">{{formatDate startDate}}</time> <time datetime="{{startDate}}">{{formatDate startDate}}</time>
{{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}} {{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}}
</div> </div>
</div>
</header> </header>
{{#studyType}} {{#studyType}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{> link}}</h4> <h4>{{> link}}</h4>
<div class="meta">
<div> <div>
{{#if roles}} {{#if roles}}
<strong>{{join roles}}</strong> <strong>{{join roles}}</strong>
@ -18,6 +19,7 @@
<time datetime="{{startDate}}">{{formatDate startDate}}</time> <time datetime="{{startDate}}">{{formatDate startDate}}</time>
{{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}} {{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}}
</div> </div>
</div>
</header> </header>
{{#description}} {{#description}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{> link}}</h4> <h4>{{> link}}</h4>
<div class="meta">
{{#publisher}} {{#publisher}}
<div> <div>
Published by <strong>{{.}}</strong> Published by <strong>{{.}}</strong>
@ -14,6 +15,7 @@
{{#releaseDate}} {{#releaseDate}}
<time datetime="{{.}}">{{formatDate .}}</time> <time datetime="{{.}}">{{formatDate .}}</time>
{{/releaseDate}} {{/releaseDate}}
</div>
</header> </header>
{{#summary}} {{#summary}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -6,11 +6,13 @@
<article> <article>
<header> <header>
<h4>{{position}}</h4> <h4>{{position}}</h4>
<div class="meta">
<strong>{{> link name=organization}}</strong> <strong>{{> link name=organization}}</strong>
<div> <div>
<time datetime="{{startDate}}">{{formatDate startDate}}</time> <time datetime="{{startDate}}">{{formatDate startDate}}</time>
{{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}} {{#if endDate}}<time datetime="{{endDate}}">{{formatDate endDate}}</time>{{else}}Present{{/if}}
</div> </div>
</div>
</header> </header>
{{#summary}} {{#summary}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -6,6 +6,7 @@
<article> <article>
<header> <header>
<h4>{{position}}</h4> <h4>{{position}}</h4>
<div class="meta">
<div> <div>
<strong>{{> link}}</strong> <strong>{{> link}}</strong>
{{#description}} {{#description}}
@ -19,6 +20,7 @@
{{#location}} {{#location}}
<div>{{.}}</div> <div>{{.}}</div>
{{/location}} {{/location}}
</div>
</header> </header>
{{#summary}} {{#summary}}
{{{markdown .}}} {{{markdown .}}}

View File

@ -173,6 +173,10 @@ blockquote > * + * {
margin-top: 0.6em; margin-top: 0.6em;
} }
.meta {
color: var(--color-secondary);
}
.stack { .stack {
display: grid; display: grid;
gap: 1.5em; gap: 1.5em;

View File

@ -189,6 +189,10 @@ blockquote > * + * {
margin-top: 0.6em; margin-top: 0.6em;
} }
.meta {
color: var(--color-secondary);
}
.stack { .stack {
display: grid; display: grid;
gap: 1.5em; gap: 1.5em;
@ -299,6 +303,7 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4>CEO/President</h4> <h4>CEO/President</h4>
<div class="meta">
<div> <div>
<strong><a href="http://piedpiper.example.com">Pied Piper</a></strong> <strong><a href="http://piedpiper.example.com">Pied Piper</a></strong>
<span class="bullet-item">Awesome compression company</span> <span class="bullet-item">Awesome compression company</span>
@ -308,6 +313,7 @@ blockquote > * + * {
<time datetime="2014-12-01">Dec 2014</time> <time datetime="2014-12-01">Dec 2014</time>
</div> </div>
<div>Palo Alto, CA</div> <div>Palo Alto, CA</div>
</div>
</header> </header>
<p>Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores that are not merely competitive, but approach the theoretical limit of lossless compression.</p> <p>Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores that are not merely competitive, but approach the theoretical limit of lossless compression.</p>
<ul> <ul>
@ -324,11 +330,13 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4>Teacher</h4> <h4>Teacher</h4>
<div class="meta">
<strong><a href="http://coderdojo.example.com/">CoderDojo</a></strong> <strong><a href="http://coderdojo.example.com/">CoderDojo</a></strong>
<div> <div>
<time datetime="2012-01-01">Jan 2012</time> <time datetime="2012-01-01">Jan 2012</time>
<time datetime="2013-01-01">Jan 2013</time> <time datetime="2013-01-01">Jan 2013</time>
</div> </div>
</div>
</header> </header>
<p>Global movement of free coding clubs for young people.</p> <p>Global movement of free coding clubs for young people.</p>
<ul> <ul>
@ -343,11 +351,13 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4><a href="https://www.ou.edu/">University of Oklahoma</a></h4> <h4><a href="https://www.ou.edu/">University of Oklahoma</a></h4>
<div class="meta">
<strong>Information Technology</strong> <strong>Information Technology</strong>
<div> <div>
<time datetime="2011-06-01">Jun 2011</time> <time datetime="2011-06-01">Jun 2011</time>
<time datetime="2014-01-01">Jan 2014</time> <time datetime="2014-01-01">Jan 2014</time>
</div> </div>
</div>
</header> </header>
<p>Bachelor</p> <p>Bachelor</p>
<h5>Courses</h5> <h5>Courses</h5>
@ -364,6 +374,7 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4><a href="missdirection.example.com">Miss Direction</a></h4> <h4><a href="missdirection.example.com">Miss Direction</a></h4>
<div class="meta">
<div> <div>
<strong>Team lead and Designer</strong> <strong>Team lead and Designer</strong>
at <strong>Smoogle</strong> at <strong>Smoogle</strong>
@ -372,6 +383,7 @@ blockquote > * + * {
<time datetime="2016-08-24">Aug 2016</time> <time datetime="2016-08-24">Aug 2016</time>
<time datetime="2016-08-24">Aug 2016</time> <time datetime="2016-08-24">Aug 2016</time>
</div> </div>
</div>
</header> </header>
<p>A mapping engine that misguides you</p> <p>A mapping engine that misguides you</p>
<ul> <ul>
@ -388,10 +400,12 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4>Digital Compression Pioneer Award</h4> <h4>Digital Compression Pioneer Award</h4>
<div class="meta">
<div> <div>
Awarded by <strong>Techcrunch</strong> Awarded by <strong>Techcrunch</strong>
</div> </div>
<time datetime="2014-11-01">Nov 2014</time> <time datetime="2014-11-01">Nov 2014</time>
</div>
</header> </header>
<p>There is no spoon.</p> <p>There is no spoon.</p>
</article> </article>
@ -403,10 +417,12 @@ blockquote > * + * {
<article> <article>
<header> <header>
<h4><a href="http://en.wikipedia.org/wiki/Silicon_Valley_(TV_series)">Video compression for 3d media</a></h4> <h4><a href="http://en.wikipedia.org/wiki/Silicon_Valley_(TV_series)">Video compression for 3d media</a></h4>
<div class="meta">
<div> <div>
Published by <strong>Hooli</strong> Published by <strong>Hooli</strong>
</div> </div>
<time datetime="2014-10-01">Oct 2014</time> <time datetime="2014-10-01">Oct 2014</time>
</div>
</header> </header>
<p>Innovative middle-out compression algorithm that changes the way we store data.</p> <p>Innovative middle-out compression algorithm that changes the way we store data.</p>
</article> </article>