~stick/stma.is

6c60308853bf1a56b06290e1c1045f68cd792c23 — Stick 2 months ago 077710f
update config and css for theme changes
2 files changed, 12 insertions(+), 12 deletions(-)

M assets/css/style.css
M config.toml
M assets/css/style.css => assets/css/style.css +6 -10
@@ 60,32 60,28 @@
}

/* LAYOUT ------------------------------------------------------------------ */
:root {
  --shadow: calc(var(--breathe) / 3);
}

/* Here's a card */
.card {
  background: var(--back);
  border-radius: var(--breathe);
  padding: calc(2 * var(--breathe));
  border-radius: 0.5em;
  padding: 0.5em;
  text-align: center;
  width: calc(50% - var(--breathe));
  width: calc(50% - 1em);
}

/* Put a space between the cards */
.card + .card {
  margin: 0 0 0 calc(2 * var(--breathe));
  margin-left: 0.5em;
}

/* Make the cards line up right and stay a consistent size */
@media (max-width: 30em) {
  .card {
    max-width: 15em;
    width: 100%;
    width: calc(100% - 1em);
  }
  .card + .card {
    margin: calc(2 * var(--breathe)) 0 0 0;
    margin-top: 0.5em;
  }
}


M config.toml => config.toml +6 -2
@@ 1,7 1,6 @@
# Used in theme
author = 'Stick'
baseURL = 'https://stma.is'
copyright = '© 2009—2020 Stick'
copyright = '2009-2020'
languageCode = 'en-us'
theme = 'hugo-base'
title = 'STMA'


@@ 11,6 10,11 @@ enableGitInfo = true
pluralizeListTitles = false
rssLimit = 32

[author]
	name = 'stick'
	email = 'stick@stma.is'
	twitter = 'nstickney'

[frontmatter]
	date = [':filename', ':default', ':git']
	lastmod = [':git']