.courseCodeTag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ifm-color-primary);
    background-color: #e8f4fd;
    border: 1px solid var(--ifm-color-primary-light);
    border-radius: 0.375rem;
    white-space: nowrap;
    width: fit-content;
    max-width: 100%;
}

html[data-theme='dark'] .courseCodeTag {
    color: var(--ifm-color-primary-lightest);
    background-color: #1a2838;
    border-color: var(--ifm-color-primary-dark);
}
