@import url(/css/colorscheme.63b1b88307999994c98b83672e1689fd8d2ffe4ac5eefb47b57bef2a7d83b10894768a37c91a4ef3b3f93f815bdfe87f561afd58683e18d79a3c0a6d8cb6ac10.css);
@import url(/css/typography.b50a64c2263ab3c213d7082b0b4ba284022b8c31b5011a0955fb6cef692ee90efb4babd296aa71dfe251e911cb797d3da39d014bf1c1342b4ac4bea673c7ed7f.css);
@import url(/css/syntax.fcbabe88fc56fafa8dcb14b83c03484e36fa5cef558509cdef095ecb313f5e3d581255b7749cbcbc1edb73b1850de926ea9f96c0d5ffdc7762165473b1a8b55b.css);

nav {
    height: 2rem;
    line-height: 2rem;
    margin: 1rem 0;
}

nav ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline;
    height: 2rem;
    line-height: 2rem;
}

nav ol li {
    display: inline;
    margin: 0;

    &:not(:last-child)::after {
       content: "⏵";
       margin: 0 0.5rem;
    }
}

body {
    background-color: var(--background);
    color: var(--main-text);
}

body.home main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
}

main, header, footer {
    max-width: 900px;
    margin: auto;
}

header {
    margin-bottom: 2rem;
}

footer {
    margin: 2rem auto;
    line-height: 1rem;
}


ol.term_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
}

ol.term_list > li {
    display: inline-block;
    padding: 0 0.5rem 0 0;
    white-space: nowrap;
    line-height: 1rem;
    margin: .5rem 0;
}

ol.term_list > li > span.count {
    border-radius: 1rem;
    border: solid 1px var(--focus-color);
    width: 12;
    display: inline-block;
    padding: 0rem 0.25rem;
    background-color: var(--focus-color);
    color: var(--background);
    font-weight: 600;
    margin: 0 0.25rem;
}

div.tweets_header {
    display: grid;
    flex-flow: row nowrap;
    padding: 1rem;
    border: solid 1px var(--focus-color);
    border-radius: .5rem;
    grid-template-columns: 1fr 1fr;
}

div.tweets_header div h3 {
    margin: 0;
}

div.highlight {
    margin: 1rem 0;
    width: 100%;
    overflow-x: scroll;
    background-color: #282a36;
    line-height: 2rem;

    code {
        line-height: 2rem;
    }
}

aside {
    box-sizing: content-box;
    /* margin: calc(2rem - 2px) 0; */
    margin: 2rem 0;
    max-width: 700px;
    border: solid 2px black;
    border-color: var(--focus-color);
    border-radius: .5rem;
    padding: 0 1rem;

    p:first-child {
        margin-top: calc(2rem - 2px);
    }

    p:last-child {
        margin-bottom: calc(2rem - 2px);
    }
}

a:has(svg) {
    &:hover {
        background: none;
    }
    > svg {
        border-radius: 10px;
    }
}
