~abcdw/trop.in

0b569ec0aa59d9441741a06cac6803f58c746f6b — Andrew Tropin 9 days ago 3055320
Update style of post collection
2 files changed, 13 insertions(+), 4 deletions(-)

M assets/simple.css
M src/tropin/site.scm
M assets/simple.css => assets/simple.css +10 -2
@@ 592,13 592,21 @@ kbd {
pre {
  padding: 0rem 0.4rem;
  max-width: 100%;
  /* overflow: auto; */
  /* overflow: hidden; */
  line-height: 1.2;
  background:var(--accent-bg);
  /* border:1px solid var(--border); */
  border-radius:5px
  font-size: 1rem;
  color: var(--preformatted);
}

div.post>small {
  color: var(--text-light);
}

code {
    font-size: 1rem;
  font-size: 0.9rem;
}

/* Fix embedded code within pre */

M src/tropin/site.scm => src/tropin/site.scm +3 -2
@@ 78,8 78,9 @@
  `((h1 ,title)
    (div (@ (class "post-list"))
         ,@(map (lambda (post)
                  `(span
                    ,(date->iso-string (post-date post))
                  `(div
                    (@ (class "post"))
                    (small ,(date->iso-string (post-date post)))
                    " — "
                    (a (@ (href ,(post-uri post)))
                       ,(post-ref post 'title))