:root:not([data-theme="dark"]), [data-theme="light"] {
  --pico-background-color: var(--pico-color-blue-100);
  --pico-card-background-color: var(--pico-color-blue-50);
  --pico-blockquote-border-color: var(--pico-color-violet-700);
  --pico-border-radius: 1rem;
}

/* navbar */
header.container-fluid {
  background-color: var(--pico-color-blue-200);
  padding-top: 0px;
  padding-bottom: 0px;
  box-shadow: 0.2rem 0.2rem 0.5rem var(--pico-color-slate-400);
}

/* article box */
article {
  box-shadow: 0.2rem 0.2rem 0.5rem var(--pico-color-slate-400);
}

/* The top hgroup on each page get some extra left-right paddings */
main > hgroup {
  padding: 1rem 2rem;
  text-shadow: 0.1em 0.1em 0.15em var(--pico-color-slate-400);
}

main.container-fluid, footer.container-fluid {
  padding-left: 5%;
  padding-right: 5%;
}


/* Header sizes */
h1 {
  --pico-font-size: 1.75rem;
  --pico-font-weight: 900;
}

h2 {
  --pico-font-size: 1.5rem;
  --pico-font-weight: 700;
}

h3 {
  --pico-font-size: 1.2rem;
  --pico-font-weight: 700;
}

h4 {
  --pico-font-size: 1rem;
  --pico-font-weight: 700;
}

/* Leave a bit of space on top of small-sized metadata */
/* And all h6 are used for muted small text */
h6, hgroup > h6:not(:first-child):last-child {
  padding-top: 0.5rem;
  text-shadow: none;
  font-size: 0.9rem;
  --pico-font-weight: 400;
}

/* links in navbar */
header a {
  font-weight: bold;
  text-shadow: 0.05em 0.05em 0.1em var(--pico-color-slate-400);
}

/* links in tag list */
a > button {
  --pico-border-radius: 1rem;
  padding: 0.1rem 0.4rem;

}

/* article links */
h2 > a {
  text-decoration: none;
  text-shadow: 0.05em 0.05em 0.1em var(--pico-color-indigo-400);
}

/* tt has color */
article p > code, article li > code {
  text-shadow: 0.05em 0.05em 0.05em var(--pico-color-indigo-400);
  color: var(--pico-color-red-500);
}

/* main text */
article p, article li {
  text-shadow: 0.05em 0.05em 0.05em var(--pico-color-slate-200);
  font-size: 0.9rem;
}


/* centered footer */
footer.container-fluid {
  /*display: flex;
  justify-content: center;
  align-items: center;*/
  padding-top: 0;
  margin-top: 0;
}
footer.container-fluid > h6 {
  text-align: center;
}

/* in-line svg icons */
img.svgicon {
  height: 0.9rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  vertical-align: baseline;
}

/* images and centered caption */
figure > img {
  border-radius: 0.6em;
}
figure, figure > h6 {
  text-align: center;
}

/* last p inside blockquote need less margin */
blockquote > p:last-child {
  margin-bottom: 0;
}

/* code blocks should have less radius and smaller fonts */
div.highlight > pre {
  border-radius: 0.5rem;
}
div.highlight > pre code {
  font-size: 0.7rem;
}

/* dirty hacks on footnote */
article .footnotes > ol ,article .footnotes > ol p {
  color: var(--pico-muted-color) !important;
  text-shadow: none !important;
  font-size: 0.85rem;
}
