/* styling water.css */

pre > code,
code {
    border: 1px solid rgb(60, 60, 60);
    border-radius: 0;
}

/* remove emojis */

a[href^="mailto"]::before,
a[href^="tel"]::before,
a[href^="sms"]::before {
  content: none !important;
}

/* header */

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: bold;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

/* footer */

.site-footer-nav ul {
    display: flex;
    justify-content: flex-end; /* push links to the right */
    gap: 1rem; /* space between links */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* avoid webkit resizing code font-size */

pre,
code,
kbd,
samp {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* img in post */

.md-image > img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

figure > svg {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
  max-width: min(100%, var(--svg-max-width, 99999px));
}

.md-image > figcaption,
figure > figcaption {
    color: #888;
    font-size: 0.8rem;
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

.md-image.small > img {
    max-width: 250px;
}

.md-image.smaller > img {
    max-width: 150px;
}

.md-image.icon > img {
    width: 50px;
}

figure > svg {
    font-family: monospace;
}
