figcaption::before {
  content: "Figure " counter(i-img) ": ";
}

pre ~ figcaption::before {
  content: "Snippet " counter(i-snippet) ": ";
}

table ~ figcaption::before {
  content: "Table " counter(i-table) ": ";
}

video ~ figcaption::before {
  content: "Video " counter(i-video) ": ";
}

section.postlist li[lang=en] > span:after {
  display: none
}

section.postlist li[lang=sl] > span:after {
  content: "(slovenian)";
  left: 0.5em;
  position: relative;
  color: var(--mid-grey);
  font-size: 0.875em;
  line-height: 1.25em;
  font-weight: bold;
}
