/* liza.st - minimal style inspired by izs.me */

:root {
  --bg: #fff;
  --text: #1a1a1a;
  --link: #0066cc;
  --link-hover: #004499;
  --muted: #666;
  --mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Monaco', 'Consolas', monospace;
  --serif: 'Georgia', 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 0.3rem 0;
}

.date {
  color: var(--muted);
  margin-right: 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* article pages - readable font */
article {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

article h1 {
  font-family: var(--mono);
}

article code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

article pre {
  background: #f5f5f5;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 5px;
}

article pre code {
  background: none;
  padding: 0;
}

blockquote {
  border-left: 3px solid #ddd;
  margin: 1rem 0;
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Share buttons */
.share-buttons {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.share-btn {
  color: var(--muted);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.share-btn:hover {
  color: var(--link);
  text-decoration: none;
}

/* Social links in footer */
.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icon {
  color: var(--muted);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.social-icon:hover {
  color: var(--link);
  text-decoration: none;
}
