/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* Standalone images render at full readable width */
#start p img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

/* Float a leading home-page image beside the paragraph text */
#start .home-content p>img:first-child {
  float: right !important;
  margin: 0 0 1rem 1.5rem !important;
  max-width: 300px;
}

#start .home-content p:has(> img:first-child)::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 600px) {
  #start .home-content p>img:first-child {
    float: none !important;
    display: block;
    margin: 0 auto 1rem auto !important;
  }
}

/* Left-align blog post titles and dates to match standard pages */
#start .blog-header,
#start .content-title {
  text-align: left !important;
}
