Skip to main content
This reference documents all the custom-styled components in the Arda theme, extracted from theme.css. Each section shows the CSS selectors and key properties used to achieve the medieval aesthetic.

Buttons

CTA Buttons (button.mod-cta)

Primary action buttons with gradient backgrounds and medieval styling.
button.mod-cta {
  background: linear-gradient(to bottom, var(--interactive-accent), #4a141d);
  color: var(--text-normal);
  border: 1px solid var(--color-base-30);
  box-shadow: 2px 2px 0px #000;
  font-family: var(--font-interface-theme);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button.mod-cta:hover {
  background: var(--interactive-accent-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}
Key features:
  • Burgundy gradient background
  • Hard shadow for depth
  • Uppercase text with letter-spacing
  • Smooth 3D hover effect with enhanced shadow

Checkboxes

Task List Checkboxes (.task-list-item-checkbox)

Rotated diamond-shaped checkboxes with sword icon when checked.
.task-list-item-checkbox {
  appearance: none;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border: 1px solid var(--checkbox-border-color);
  background-color: transparent;
  position: relative;
  cursor: pointer;
  transform: rotate(45deg);
  margin-right: 10px;
  border-radius: var(--checkbox-radius);
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out;
}

.task-list-item-checkbox:checked::after {
  content: "\2694"; /* Crossed swords symbol */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  color: var(--checkbox-marker-color);
  font-size: 11px;
}
Key features:
  • 45-degree rotation for diamond shape
  • Crossed swords Unicode symbol (⚔) when checked
  • Lively animation on check (popIn keyframe)
  • Subtle pulse effect

Tags

Tag Pills (.tag)

Uppercase tags with medieval typography and lively hover animations.
.tag {
  font-family: var(--font-interface-theme);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--font-smallest);
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    color 0.2s ease-out;
}

.tag:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 12px rgba(139, 45, 62, 0.25);
  border-color: var(--text-accent-hover);
  color: var(--text-on-accent);
  background-color: var(--tag-background-hover);
}
Variables:
--tag-color: #c08497;
--tag-background: rgba(120, 70, 35, 0.12);
--tag-border-width: 1px;
--tag-padding-x: 10px;
--tag-padding-y: 3px;

Callouts

Callout Blocks (.callout)

Callouts with colored borders, gradient tops, and cinematic hover animations.
.callout {
  border-left: 3px solid rgba(var(--callout-color), 0.5);
  position: relative;
  overflow: hidden;
}

.callout::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(var(--callout-color), 0.25),
    transparent 70%
  );
  pointer-events: none;
}

.callout-title {
  font-family: var(--font-interface-theme);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85em;
}
Available callout colors:
--callout-default: 139, 45, 62;
--callout-quote: 192, 132, 151;
--callout-tip: 139, 45, 62;
--callout-warning: 200, 150, 50;
--callout-error: 180, 40, 40;
--callout-info: 100, 120, 140;
--callout-success: 60, 120, 60;

Tables

Table Styling (.markdown-rendered table)

Stone-etched design with uppercase headers and subtle row striping.
.markdown-rendered th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85em;
}

.markdown-rendered thead {
  border-bottom: 2px solid rgba(110, 48, 48, 0.5);
}
Variables:
--table-background: rgba(8, 6, 4, 0.5);
--table-border-color: #2e2218;
--table-header-background: rgba(120, 70, 35, 0.08);
--table-header-color: #c9a0a8;
--table-row-background-hover: rgba(120, 70, 35, 0.06);
--table-row-alt-background: rgba(120, 70, 35, 0.025);

Code Blocks

Inline Code (.markdown-rendered code)

Parchment-style code with subtle borders.
.markdown-rendered code {
  padding: 2px 6px;
  border: 1px solid rgba(46, 34, 24, 0.5);
  background: var(--code-background);
  border-radius: 2px;
}

Code Blocks (.markdown-rendered pre)

Ledger-style blocks with accent left border.
.markdown-rendered pre {
  border: 1px solid var(--background-modifier-border);
  border-left: 3px solid rgba(110, 48, 48, 0.6);
  padding: 16px 18px;
  border-radius: 2px;
}
Dotted underline that animates to solid on hover.
.markdown-rendered a.internal-link {
  border-bottom: 1px dotted rgba(192, 132, 151, 0.4);
  transition:
    border-color 0.25s ease-out,
    color 0.25s ease-out;
}

.markdown-rendered a.internal-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--link-color-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--anim-smooth);
  border-radius: 2px;
}

.markdown-rendered a.internal-link:hover::after {
  transform: scaleX(1);
}
External links with arrow decoration.
.markdown-rendered a.external-link::after {
  content: " \2197"; /* Up-right arrow */
  font-size: 0.7em;
  opacity: 0.4;
  transition: opacity 0.2s ease-out;
}

.markdown-rendered a.external-link:hover::after {
  opacity: 0.75;
}

Images

Image Frames (.markdown-rendered img)

Framed images with 3D hover effect.
.markdown-rendered img:not(.emoji),
.cm-editor img:not(.emoji) {
  border: 2px solid var(--background-modifier-border);
  padding: 3px;
  background: var(--color-base-10);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease-out;
}

.markdown-rendered img:not(.emoji):hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(139, 45, 62, 0.25);
  border-color: var(--interactive-accent);
}

Blockquotes

Quote Blocks (.markdown-rendered blockquote)

Italic quotes with colored left border.
.markdown-rendered blockquote:hover {
  background-color: rgba(139, 45, 62, 0.08);
  border-left-color: var(--interactive-accent-hover);
  transform: translateX(4px);
}
Variables:
--blockquote-border-color: #6e3030;
--blockquote-border-thickness: 3px;
--blockquote-background-color: rgba(120, 70, 35, 0.07);
--blockquote-font-style: italic;
--blockquote-color: #c9c2a5;

HR Separators

Horizontal Rules (hr)

Gradient lines with centered diamond decoration.
hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--interactive-accent),
    transparent
  );
  margin: 3em 0;
  position: relative;
  overflow: visible;
}

hr::after {
  content: "\2666"; /* Diamond symbol ♦ */
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-primary);
  padding: 0 15px;
  color: var(--interactive-accent);
  font-size: 1.2em;
}

Modals and Popovers

Cinematic fade-in with scale animation.
.modal {
  animation: fadeInScaleUp var(--anim-cinematic) forwards;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.9),
    0 0 0 1px var(--modal-border-color),
    0 0 40px rgba(139, 45, 62, 0.1);
}

@keyframes fadeInScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

Popovers (.popover)

Smooth appearance from top-left origin.
.popover {
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 1px rgba(110, 48, 48, 0.3);
  animation: fadeInScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top left;
}
Variables:
--popover-width: 450px;
--popover-max-height: 500px;
--popover-font-size: 0.92em;

Tabs

Active Tab Headers (.workspace-tab-header.is-active)

Accent top border with shadow and slide-down animation.
.workspace-tab-header.is-active {
  border-top: 2px solid var(--interactive-accent);
  box-shadow: 0 -2px 8px rgba(139, 45, 62, 0.1);
  background: var(--color-base-10);
}

.workspace-tab-header.is-active {
  animation: slideDownSlight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

File/Folder Titles (.nav-file-title, .nav-folder-title)

Slide-right animation with inset accent shadow on hover.
.nav-file-title:hover,
.nav-folder-title:hover {
  background-color: var(--nav-item-background-hover);
  transform: translateX(6px);
  box-shadow: inset 2px 0 0 var(--interactive-accent-hover);
  color: var(--text-accent-hover);
}

.nav-file-title.is-active {
  animation: slideRightGlow var(--anim-smooth) forwards;
}
Variables:
--nav-item-color: #a89e8f;
--nav-item-color-hover: #ddd7be;
--nav-item-background-hover: rgba(120, 70, 35, 0.1);
--nav-item-background-active: rgba(139, 45, 62, 0.12);
--nav-item-weight-active: 700;

Scrollbars

Custom Scrollbar (::-webkit-scrollbar)

Thin scrollbars with burgundy hover state.
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-bg);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-active-thumb-bg);
}

::-webkit-scrollbar-track {
  background-color: transparent;
}
Variables:
--scrollbar-bg: transparent;
--scrollbar-thumb-bg: #28201a;
--scrollbar-active-thumb-bg: #6e3030;

Build docs developers (and LLMs) love