/* Tables */
table {
    border-collapse: collapse;
}

th {
    background: rgba(255, 255, 255, 0.7);
}

th,
td {
    border: 1px solid lightgrey;
    padding: 8px;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.3);
}

/* Text formatting */
pre,
code {
    font-family: monospace;
}

pre {
    padding: .5rem;
    line-height: 1.25;
    overflow-x: scroll;
}

body {
    line-height: 1.1;
    font-size: 1.1rem;
}

p {
    font-size: 1rem;
}

/* Titles */
h1,
h2,
h3,
h4 {
    margin: 1.5rem 0 .5rem;
    font-weight: inherit;
    line-height: 1.5;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: .8rem;
}


/* https://github.com/mrmrs/fluidity */

img,
canvas,
iframe,
video,
svg,
select,
textarea {
    max-width: 100%;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.45;
    margin: 4rem auto 1rem;
    max-width: 48rem;
    padding: .25rem;
}

pre {
    background-color: rgba(255, 255, 255, 0.5);
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 0.1rem 1rem;
    background-color: rgba(255, 255, 255, 0.5);
}
