Robert Birming

BearMin theme for Bear

BearMin theme

BearMin is the little sibling of the Bearming theme.

It shares the same philosophy, good readability and modern standards, but in a leaner format. The focus is on displaying your content in a simple, distraction-free, and beautiful way.

To use it, simply copy the styles below, paste them into the Bear theme settings, and start blogging.

/*
 * BearMin — a tiny Bear theme
 * Version 3.0.0 | 2026-02-21
 * Robert Birming | robertbirming.com
 */

*::before, *::after {box-sizing: border-box}
html {-webkit-text-size-adjust: 100%}

body {
  margin: 2rem auto;
  padding: 1.3rem;
  max-width: 65ch;
  font-family: ui-serif, Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2d3136;
  background: #f4f3ef;
  overflow-wrap: break-word;
}

p { margin: 1.2em 0; }
main p:first-child {margin-top: 0}

h1, h2, h3, h4 {
  margin: 2.4rem 0 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
main h1:first-child {margin-top: 0}

h1 + p time { display: block; margin-top: -1rem; }

h1 {font-size: 1.75rem}
h2 {font-size: 1.45rem}
h3 {font-size: 1.2rem}
h4 {font-size: 1.1rem}

a {
  color: #855538;
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
a:hover, a:active, a:focus-visible { color: #5f3e2a; text-decoration: underline; }

blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.5rem;
  color: #555b61;
  font-style: italic;
  background: #ede9e1;
  border-left: 3px solid #cfc7bb;
}
blockquote p { margin: 0; }

hr { margin: 2rem 0; border: none; border-top: 1px solid #d6d0c6; }

img {
  display: block;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}
main img:first-child { margin-top: 0; }

pre {
  margin: 1.6rem 0;
  padding: 0.9rem 1.1rem;
  background: #ede9e1;
  overflow-x: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  border: 1px solid #cfc7bb;
}
code { font-family: ui-monospace, monospace; font-size: 0.9rem; }

button { cursor: pointer }

time {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: #6e737a;
  font-style: normal;
  white-space: nowrap;
}

header {
  margin: 0 0 1.6rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid #d6d0c6;
}

header .title { margin: 0; }
header .title h1 { margin: 0; }

header a.title {
  color: inherit;
  text-decoration: none;
}
header a.title:hover,
header a.title:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
}

header nav { margin-top: 0.6rem; }
header nav p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
}
header nav a {
  text-decoration: none;
  font-weight: 600;
}
header nav a:hover,
header nav a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
}

.blog-posts {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.blog-posts li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.2rem 0;
}
.blog-posts li span {flex: 0 0 110px}
h4 + p + .embedded.blog-posts {margin: 0}

footer {
  margin: 2rem 0 0;
  padding: 1rem 0 !important;
  border-top: 1px solid #d6d0c6;
  font-size: 1rem;
}

#footer-directive p { margin: 0; }

#footer-directive a {
  font-weight: 600;
  text-decoration: none;
}
#footer-directive a:hover,
#footer-directive a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
}

footer span:last-child {
  margin-top: 0.6rem;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: #6e737a;
}
footer span:last-child a {
  font-weight: 600;
  text-decoration: none;
}
footer span:last-child a:hover,
footer span:last-child a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
}

/* =========================
   Dark mode
   ========================= */

@media (prefers-color-scheme: dark) {
  body {
    color: #e2ddd5;
    background: #171612;
  }

  a { color: #cf9860; }
  a:hover,
  a:active,
  a:focus-visible { color: #e8b885; }

  blockquote {
    color: #c8c2b8;
    background: #1f1e1a;
    border-left-color: #3a372f;
  }

  hr { border-top-color: #2f2d28; }

  pre {
    background: #1f1e1a;
    border-color: #3a372f;
  }

  time { color: #a29e95; }

  header { border-bottom-color: #2f2d28; }
  footer { border-top-color: #2f2d28; }

  footer span:last-child { color: #a29e95; }
}