/* Icon reference page (icons.md).
   Kept out of extra.css on purpose: the site's .htaccess caches CSS for a year
   as immutable and the wiki's stylesheet URLs aren't versioned, so edits to
   extra.css never reach returning visitors. A new file gets a new URL.

   kova-icons-subset.woff2 is the app's bundled Nerd Fonts "Symbols Only" font
   (MIT) cut down to just the glyphs behind the :name: shortcodes. */
@font-face {
  font-family: 'Kova Icons';
  src: url('../assets/fonts/kova-icons-subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.kova-icon {
  font-family: 'Kova Icons';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.kova-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.kova-icon-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 0.05rem solid var(--md-default-fg-color--lightest);
  border-radius: 0.2rem;
}

.kova-icon-cell .kova-icon {
  flex: none;
  width: 1.6rem;
  font-size: 1.4rem;
  text-align: center;
  color: var(--md-accent-fg-color);
}

.kova-icon-cell code {
  padding: 0;
  background: none;
  font-size: 0.75em;
  overflow-wrap: anywhere;
}
