Template:Documentation/styles.css

Template page
< Template:Documentation
Revision as of 16:51, 2 May 2021 by .jim (talk | contribs) (1 revision imported)
.documentation {
    margin: 1.6rem 0;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    box-sizing: border-box;
    border: 1px solid #eaecf0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.06);
}

.documentation-header {
    margin-top: 0;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    font-size: 1.25rem;
    color: #222222;
    font-family: "Titillium Web","Univia Pro","Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI","Oxygen","Ubuntu","Cantarell","Helvetica Neue",sans-serif;
    font-weight: 600;
}

.documentation-subheader {
    margin: -0.6rem 0 1.6rem 0;
    color: #72777d;
    font-size: 0.825rem;
}

.documentation-links {
    float: right;
    margin: 0.3rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: monospace;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .documentation {
        border-color: #2b2f36;
        background-color: #24272f;
    }

    .documentation-header {
        color: #e0e1e2;
    }

    .documentation-subheader {
        color: #a0a1a5;
    }
}