/* So like I actually want to override everything here
 * because it's just embedded automagically on all HTML
 * pages in /stuff/ on my site. and I don't like that.
 * but I gotta import it manually here to test.
 */
@import url(../../stuff.css);

body { background: unset; color: unset; }
body { margin-top: unset; margin-bottom: unset; }
a { color: revert; text-decoration: revert !important; }

/* ok here's the real css now */

body {
  max-width: 500px;
  margin-left: 30px;
  margin-right: 30px;
  padding-bottom: 60px;
  line-height: 1.2;
}

h1 {
  margin-top: 1.5em;
  font-size: 1.2em;
}

h2 {
  font-size: 1em;
  margin-top: 2em;
  scroll-margin-top: 1em;
  font-weight: normal;
  font-style: oblique;
  text-decoration: underline;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 4px;
}

body > a:has(> img) {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.4em 0;

  > img {
    display: block;
    max-width: 100%;
  }

  &:hover {
    box-shadow: 0 4px 6px 5px #0002;
  }
}
