~bfiedler/website

be504b2bb488aebaff137a7bf862cd3e66f2cca1 — Ben Fiedler 1 year, 11 months ago 8f02fd3
Fix color indicator in blog metadata
2 files changed, 7 insertions(+), 5 deletions(-)

M assets/style.scss
M layouts/chess/meta.html
M assets/style.scss => assets/style.scss +5 -2
@@ 125,10 125,13 @@ ul.nav {
        background-color: #ffffff;
    }

    .color {
        margin: 0;
    li .color {
        margin-left: 0.4em;
        margin-right: 0.2em;
    }

    .color {
        margin: 0;
        display: inline-block;
        min-width: 7px;
        min-height: 7px;

M layouts/chess/meta.html => layouts/chess/meta.html +2 -3
@@ 1,7 1,6 @@
<aside class="article-metadata">
  <span>played on </span><time class="time" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "2006-01-02" }}</time>
  <span>with</span><aside class="color color-{{ .Params.Color }}"></aside>

  in <a href="/tournaments/{{ .Params.Tournaments | urlize }}">{{ .Params.Tournaments }}</a>
  <span>with <aside class="color color-{{ .Params.Color }}"></aside> in </span>
  <a href="/tournaments/{{ .Params.Tournaments | urlize }}">{{ .Params.Tournaments }}</a>
  {{ partial "feed-icon.html" .Section }}
</aside>