@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind typography;

@font-face {
    font-family: "Rubik";
    src: url("/assets/Rubik-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "JetBrainsMono";
    src: url("/assets/JetBrainsMono-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Karla";
    src: url("/assets/Karla-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

* {
    font-family: "Karla", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
}

.prose h1 a {
    border-bottom: none;
    text-decoration: none;
}

.prose h1 a:hover {
    opacity: 0.8;
}

.gist tr {
    border-bottom: none;
}

.gist span {
    font-family: "JetBrainsMono", Monaco, monospace;
}

.map-marker {
    border: 3px solid blue;
    border-radius: 8px;
    background: RGBa(0, 0, 255, 0.1);
    width: 14px;
    height: 14px;
}

.prose pre code::before {
    padding-left: unset
}

.prose pre code:after {
    padding-right: unset
}

.prose code {
    font-weight: 400;
    border-radius: 0.25rem;
}

.prose code:before {
    content: "";
    padding: 0 0 0 0.25rem;
}

.prose pre {
    padding: 0;
}

.prose code:after {
    content: "";
    padding: 0 0.25rem 0 0;
}
