@charset "UTF-8";
/* Flickypedia palette, sent in a Slack DM from George to Alex
 * on 27 Oct 2023.
 *
 * See https://flickrfoundation.slack.com/archives/D05UN456AGM/p1698397310132959
 */
/* Other palette colours we use. */
/* from the Wikimedia Commons logo */
/* Supply a couple of variables to be used in SVG files. */
:root {
  --black: #08090A;
  --brown: #CCC5B9;
  --cream: #FFFCF2; }

body {
  margin: 0;
  background: #FFFCF2;
  color: #08090A;
  font-family: proxima-nova, sans-serif;
  font-size: 17px;
  font-weight: 400; }

main {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
  padding-left: 1em;
  padding-right: 1em;
  margin-bottom: 1em;
  /* This forces the footer to the bottom of the page, even if there's
   * not very much in the body.
   *
   * It's a bit of a fudge but it seems to work? */
  min-height: calc(100vh - 6em); }

footer {
  margin-top: 1em;
  padding: 1em;
  height: 1.6em;
  background: #08090A;
  text-align: center;
  color: #FFFCF2;
  /* There's a list of links in the footer, which we want to appear as a horizontal
   * list of links separated by pipes. */
  /* This ensures the background color extends to the bottom of the page,
     wherever the footer appears.

     See https://designdev.blog/extend-footer-background-color-to-bottom-of-web-page/
   */
  box-shadow: 0 50vh 0 50vh #08090A; }
  footer a {
    color: #FFFCF2; }
    footer a:hover {
      text-decoration: underline;
      text-decoration-thickness: 4px;
      text-decoration-skip-ink: none; }
  footer li {
    display: inline-block; }
  footer li:not(:last-child) a {
    margin-right: 2px; }
  footer li:not(:first-child) a {
    margin-left: 2px; }
  footer li:not(:last-child):after {
    content: "| ";
    white-space: pre;
    color: #575A5E; }

ul.plain_list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  /* If we nest a <ul> inside a plain list, it should appear to the user
   * as if it's a top-level list with bullets, not circles. */ }
  ul.plain_list ul:not(.plain_list) li {
    list-style-type: disc; }

a {
  color: #069; }
  a:hover {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-skip-ink: none; }

svg a, svg a:hover {
  text-decoration: none; }

input[type="url"],
input[type="text"],
select,
textarea {
  border: 1px solid #CCC5B9;
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 1.2em; }

select {
  background: #FFFCF2; }

input[type="url"],
input[type="text"],
textarea {
  width: calc(100% - 13px); }

.pink_button {
  color: #FFFCF2;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 8px;
  background: #E36397;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none; }
  .pink_button:hover {
    background: #d4266c;
    text-decoration: none !important; }
  .pink_button:active {
    transform: translate(0, 2px); }

.grey_button {
  color: #FFFCF2;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 8px;
  background: #575A5E;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none; }
  .grey_button:hover {
    background: #323436;
    text-decoration: none !important; }
  .grey_button:active {
    transform: translate(0, 2px); }

.warning {
  background: #ffff99;
  padding: 1em;
  text-align: center;
  border-radius: 4px; }

#summary {
  text-align: right;
  font-size: 1.2em;
  margin-right: 5px; }
  #summary .pink_button {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 5px; }

.image_counter {
  position: absolute;
  right: 0;
  top: 0;
  background: #08090A;
  color: #FFFCF2;
  padding: 1px 20px;
  font-size: 2em;
  font-weight: bold; }

.hero {
  text-align: center;
  font-weight: normal;
  font-size: 1.5em; }

/* A highlight is white text on a coloured background that shows the user
 * some key information.  They usually appear at the start of a line. */
.highlight {
  color: white;
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: -5px;
  margin-right: 5px; }
  .highlight.green {
    background: green; }
  .highlight.red {
    background: red; }
  .highlight.lightgreen {
    background: mediumseagreen; }
  .highlight.pink {
    background: #E36397; }

/* A "next step" is any element highlighted in yellow to show the user
 * where to go next. */
.next_step {
  background: yellow;
  font-weight: bold; }

/* This is a very small bit of polish: it prevents CC license labels
 * (e.g. CC BY 2.0) from being split across multiple lines.
 */
.cc_license_label {
  white-space: nowrap; }

/* This is a component for displaying two actions side-by-side.
 *
 * It's used on the homepage and on the "say thanks" screen.
 */
ul.two_column_actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  /* two-column actions are always plain lists */
  list-style-type: none;
  padding: 0;
  margin: 0; }
  @media screen and (max-width: 500px) {
    ul.two_column_actions {
      grid-template-columns: auto; } }
  ul.two_column_actions li {
    text-align: center; }

/* These two selectors add a "barberpole" animation to any input field
 * which is "thinking" (making an API request which hasn't returned yet).
 *
 * It's a basic progress indicator, similar to the one found in the
 * Wikimedia Commons Upload Wizard interface.
 *
 * You can get a funky edge appear when the lines don't quite match up;
 * the hope is that we're not "thinking" long enough for this to be
 * noticeable!
 *
 * Based on https://css-tricks.com/books/fundamental-css-tactics/striped-barberpole-animation/
 * Note that I've tweaked the background-position to go left-to-right,
 * whereas the code in that article goes right-to-left.
 */
input.thinking {
  animation: barberpole 21s linear infinite;
  background-size: 200% 200%;
  background-image: repeating-linear-gradient(-45deg, rgba(204, 197, 185, 0.3), rgba(204, 197, 185, 0.3) 10px, rgba(204, 197, 185, 0.5) 10px, rgba(204, 197, 185, 0.5) 20px);
  background-position: 250% 100%; }

.pink_button.thinking {
  animation: barberpole 15s linear infinite;
  background-size: 500% 500%;
  background-image: repeating-linear-gradient(-45deg, #E36397, #E36397 10px, #dd4080 10px, #dd4080 20px);
  background-position: 250% 100%; }

@keyframes barberpole {
  100% {
    background-position: 100% 100%; } }

header {
  display: grid;
  grid-template-columns: 1fr 30px auto;
  grid-gap: 10px;
  margin-top: 10px;
  margin-bottom: 6px; }
  header, header div {
    height: 80px; }
  header img.icon {
    height: 60px;
    margin-top: 10px; }
  header img.wiki_commons {
    height: 50px;
    margin-top: 16px; }
  header p {
    padding-top: 12px;
    margin-top: auto;
    margin-bottom: auto; }

nav {
  margin-bottom: 2em; }

#page-homepage {
  /* No margin between the image and the text; there's already a fair
     amount of padding in the image itself. */ }
  #page-homepage main p {
    font-size: 20px; }
  #page-homepage img.hero {
    width: 300px;
    height: 300px;
    margin-top: -1em;
    margin-bottom: -1em;
    /* Center the image.  Note that images are inline by default, so
       you need the `display: block;` or the margins won't apply. */
    display: block;
    margin-left: auto;
    margin-right: auto; }
  #page-homepage img.hero + h2.hero {
    margin-top: 0; }
  #page-homepage .hero .welcome {
    font-weight: bold; }
  #page-homepage .two_column_actions {
    /* This is a crude bit of padding to ensure that the CC and Wikimedia
       Commons logos are vertically aligned.

       The Wiki Commons logo has dimensions of 1024 × 1376 in the source SVG,
       whereas the CC logo is square.

       This means the WMC logo is 70 / 1024 × (1376 − 1024) ≈ 24px taller
       than the CC logic.  This padding eliminates the difference.
     */ }
    #page-homepage .two_column_actions h3 {
      font-size: 20px;
      margin-top: 5px;
      margin-bottom: 5px; }
    #page-homepage .two_column_actions p {
      font-size: 17px;
      margin-top: 5px; }
    #page-homepage .two_column_actions img {
      width: 70px; }
    #page-homepage .two_column_actions #wiki_requires_cc_licenses img {
      margin-top: 24px; }
  #page-homepage svg a {
    color: #08090A; }
    #page-homepage svg a text, #page-homepage svg a tspan {
      color: #FFFCF2 !important;
      font-weight: bold; }
  #page-homepage .portrait {
    display: none; }
  @media screen and (max-width: 500px) {
    #page-homepage .landscape {
      display: none; }
    #page-homepage .portrait {
      display: block; } }
#page-get_photos #examples li {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px; }

.which_photos_can_be_uploaded .highlight {
  margin-right: 0; }

form#get_photos .inputs {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: auto 80px;
  height: 50px; }

form#get_photos input[type="url"] {
  width: calc(100% - 10px); }

form#get_photos input[type="button"] {
  width: 80px;
  text-transform: uppercase; }

form#get_photos input[type="url"],
form#get_photos input[type="button"] {
  height: 28px; }

#page-select_photos {
  padding-bottom: 5em;
  /* Styles for the text that describes what the user has selected, e.g.
   *
   *    You’re looking at Jane Smith’s album called “my first album”.
   *
   * We highlight the key pieces of information in bold to make them stand out.
   */
  /* Styles for the text which tells the user which messages can be uploaded
   * (if any), and which have been rejected for duplicates/bad license/not safe. */ }
  #page-select_photos label[for="flickr_url"] {
    margin-bottom: 5px; }
  #page-select_photos h3 {
    font-size: 1em; }
  #page-select_photos form#select_photos {
    /* Render an entry for each photo in the form.
     *
     * Each photo is arranged into three areas:
     *
     *    +--------------------------+
     *    |                          |
     *    |   square photo preview   |
     *    |                          |
     *    +----------------+---------+
     *    | photo info     | tickbox |
     *    +----------------+---------+
     *
     */
    /* If we're in an album or photostream, we don't bother showing the
     * owner name on the photos, so we can move this up a line. */ }
    #page-select_photos form#select_photos ul {
      display: grid;
      grid-column-gap: 1em;
      grid-row-gap: 2em;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    #page-select_photos form#select_photos li {
      display: inline-block;
      /* Make images square; ensure they don't appear too large if there's
       * only one or two options to choose from. */
      /* Add a pink highlight to all selected photos, to make them nice
       * and prominent in the UI. */
      /* Lay out the info in the bottom half of the image.  We want to give
       * as much space as possible to the text, and push the checkbox to
       * the right. */ }
      #page-select_photos form#select_photos li img {
        width: 100%;
        max-width: 250px;
        aspect-ratio: 1;
        object-fit: cover; }
      #page-select_photos form#select_photos li.checked {
        background: #f3b9d1;
        border: 5px solid #f3b9d1;
        margin: -5px; }
      #page-select_photos form#select_photos li .info {
        display: grid;
        grid-template-columns: auto 30px;
        padding-left: 6px;
        padding-bottom: 4px; }
      #page-select_photos form#select_photos li label .owner {
        grid-row: 1 / 2;
        grid-column: 1 / 2; }
      #page-select_photos form#select_photos li label .license {
        grid-row: 2 / 2;
        grid-column: 1 / 2; }
      #page-select_photos form#select_photos li label input[type="checkbox"] {
        grid-row: 1 / 2;
        grid-column: 2 / 2;
        margin-left: 8px;
        margin-top: 5px;
        margin-right: 8px; }
    #page-select_photos form#select_photos .photoslist-album li label .license,
    #page-select_photos form#select_photos .photoslist-user li label .license {
      grid-row: 1 / 2; }
  #page-select_photos .select_photos_description {
    font-weight: normal; }
    #page-select_photos .select_photos_description .key_info {
      font-weight: bold; }
  #page-select_photos .which_photos_can_be_uploaded {
    /* Tighten up the spacing */ }
    #page-select_photos .which_photos_can_be_uploaded p:not(:last-child) {
      margin-bottom: 0; }
    #page-select_photos .which_photos_can_be_uploaded p:not(:first-child) {
      margin-top: 0; }
  #page-select_photos #summary {
    /* Make the numeral bold in "2 photos selected" */
    /* Add some space between "2 photos selected" and the "Prepare Info" button */ }
    #page-select_photos #summary .count {
      font-weight: bold; }
    #page-select_photos #summary #selectedPhotosSummary {
      margin-right: 5px; }

/* Styles for the "prepare info" form
  *
  * Each photo is arranged into six primary areas:
  *
  *    +-------------------------+
  *    |                         |
  *    |      photo preview      |
  *    |                         |
  *    +-------------+-----------+
  *    | from Flickr |  to Wiki  |
  *    +-------------+-----------+
  *    | Flickr info | Wiki info |
  *    +-------------+-----------+
  *    |        SDC preview      |
  *    +-------------------------+
  *
  */
form#prepare_info {
  /* Styles for the photo preview area.
    *
    * If there's more than one photo on the page, we show a 1 of N indicator
    * in white-on-black in the top right-hand corner.
    *
    * To avoid photos completely dominating the page (especially portrait photos),
    * we put a max-height restriction and centre photos which are larger than that.
    */
  /* Grid positioning for the 2×2 grid of info boxes */
  /* Styles for the to/from labels at the top of the 2×2 grid. */
  /* Styles for the "from Flickr" sidebar down the left-hand side
   *
   * This contains a <dl> with Flickr metadata; no interactive elements.
   */
  /* Styles for the "Wiki info" panel on the lower right-hand side.
   *
   * This is a form with a number of validation elements.
   */
  /* Styles for the structured data preview at the bottom of the form */ }
  form#prepare_info li.photo {
    margin-bottom: 2em; }
  form#prepare_info h3 {
    font-weight: normal; }
  form#prepare_info .hidden {
    opacity: 0.5;
    background: #ccc; }
  form#prepare_info fieldset {
    border: 0;
    margin: 0;
    padding: 0; }
  form#prepare_info .no_js_language p {
    color: #575A5E;
    font-size: small;
    margin-top: 5px;
    margin-bottom: 0; }
  form#prepare_info .js_language {
    display: none;
    /* This ensures the input field fills the page */ }
    form#prepare_info .js_language .autocomplete {
      width: 100%; }
    form#prepare_info .js_language .secondary {
      color: #575A5E; }
  form#prepare_info .preview {
    position: relative;
    max-width: 100%;
    margin-bottom: 8px;
    /* This ensures that a landscape 4:3 photo will display at full size and fill
     * the screen, but portrait images will be resized. */ }
    form#prepare_info .preview, form#prepare_info .preview img {
      max-width: 100%;
      max-height: 637.5px; }
    form#prepare_info .preview img {
      margin-left: auto;
      margin-right: auto;
      display: block; }
  form#prepare_info .info {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 200px auto;
    grid-template-rows: 20px auto auto; }
  form#prepare_info .from_flickr {
    grid-column: 1 / 2;
    grid-row: 1 / 3; }
  form#prepare_info .to_wiki {
    grid-column: 2 / 2;
    grid-row: 1 / 3; }
  form#prepare_info .flickr_info {
    grid-column: 1 / 2;
    grid-row: 2 / 3; }
  form#prepare_info .wiki_info {
    grid-column: 2 / 2;
    grid-row: 2 / 3; }
  form#prepare_info .to_from_with_logo {
    display: grid; }
    form#prepare_info .to_from_with_logo, form#prepare_info .to_from_with_logo img {
      height: 25px; }
    form#prepare_info .to_from_with_logo.from_flickr {
      grid-template-columns: 30px auto; }
    form#prepare_info .to_from_with_logo.to_wiki {
      grid-template-columns: 24px auto; }
    form#prepare_info .to_from_with_logo div {
      font-size: small;
      line-height: 25px;
      color: #575A5E; }
  form#prepare_info .flickr_info {
    margin-top: 4px;
    /* Flickr descriptions can contain newlines, which we want to preserve
     * in the rendered output. */ }
    form#prepare_info .flickr_info dt {
      font-weight: bold; }
    form#prepare_info .flickr_info dt:not(:first-child) {
      margin-top: 1em; }
    form#prepare_info .flickr_info dd {
      margin-left: 0; }
    form#prepare_info .flickr_info .flickr_description {
      white-space: pre-line; }
      form#prepare_info .flickr_info .flickr_description .truncated_indicator {
        color: #575A5E; }
  form#prepare_info .wiki_info {
    /* Add vertical spacing between the different bits of the form */
    /* Styles for "N characters remaining" on the short caption field */
    /* Styles for the category selector */ }
    form#prepare_info .wiki_info label:not(:first-child), form#prepare_info .wiki_info .categories {
      margin-top: 1em; }
    form#prepare_info .wiki_info .required, form#prepare_info .wiki_info .validation_errors, form#prepare_info .wiki_info .too_many_characters, form#prepare_info .wiki_info .not_enough_characters {
      font-family: monospace;
      font-size: small;
      color: red; }
    form#prepare_info .wiki_info .validation_errors {
      margin-top: 7px;
      line-height: 1.4em; }
    form#prepare_info .wiki_info .validation_errors.hidden {
      display: none; }
    form#prepare_info .wiki_info textarea + .validation_errors {
      margin-top: 1px; }
    form#prepare_info .wiki_info label {
      display: flex; }
    form#prepare_info .wiki_info label .required, form#prepare_info .wiki_info label .charCounter {
      display: inline;
      margin-left: 1em;
      margin-top: auto;
      margin-bottom: 4.5px; }
    form#prepare_info .wiki_info .charCounter {
      font-family: monospace;
      font-size: small;
      color: #575A5E;
      margin-left: auto !important;
      margin-right: 1em; }
    form#prepare_info .wiki_info .charCounter .remainingCharacters {
      font-weight: bold; }
    form#prepare_info .wiki_info .category_inputs {
      display: grid;
      grid-gap: 10px;
      grid-template-columns: auto 40px;
      height: 50px; }
      form#prepare_info .wiki_info .category_inputs input[type="text"] {
        height: 28px; }
      form#prepare_info .wiki_info .category_inputs input[type="button"] {
        height: 49px;
        padding-top: 3px; }
    form#prepare_info .wiki_info .selected_categories {
      margin-top: 1em; }
      form#prepare_info .wiki_info .selected_categories .remove_category {
        margin-left: 5px;
        cursor: pointer;
        color: red;
        -webkit-touch-callout: none;
        /* iOS Safari */
        -webkit-user-select: none;
        /* Safari */
        -khtml-user-select: none;
        /* Konqueror HTML */
        -moz-user-select: none;
        /* Firefox */
        -ms-user-select: none;
        /* Internet Explorer/Edge */
        user-select: none;
        /* Non-prefixed version, currently
                                  supported by Chrome and Opera */ }
        form#prepare_info .wiki_info .selected_categories .remove_category:hover {
          background: none; }
  form#prepare_info .autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block; }
    form#prepare_info .autocomplete .autocomplete-items {
      position: absolute;
      border: 1px solid #d4d4d4;
      border-bottom: none;
      border-top: none;
      z-index: 99;
      /*position the autocomplete items to be the same width as the container:*/
      top: 100%;
      left: 0;
      right: 0;
      box-shadow: 0px 3px 5px -2px #575A5E; }
      form#prepare_info .autocomplete .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4; }
      form#prepare_info .autocomplete .autocomplete-items div:hover {
        /*when hovering an item:*/
        background-color: #e9e9e9; }
    form#prepare_info .autocomplete .autocomplete-focused {
      /*when navigating through the items using the arrow keys:*/
      background-color: #E36397 !important;
      color: #ffffff; }
      form#prepare_info .autocomplete .autocomplete-focused .secondary {
        color: #FFFCF2; }
  form#prepare_info .sdc {
    grid-column: 1 / span 2;
    grid-row: 3 / 3;
    background: #CCC5B9;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto; }
  form#prepare_info .pink_button {
    margin-left: auto;
    margin-right: 5px; }

ul.upload_progress {
  display: grid;
  grid-gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 4em;
  margin-top: 2em; }
  ul.upload_progress li {
    display: inline-block;
    /* This stops them appearing too big in the grid, even if there's just
     * one or two photos. */
    max-width: 250px; }
  ul.upload_progress img {
    width: 100%;
    display: block;
    /* I actually want a square, but an aspect ratio of 1 causes
     * a small amount of space below the image. */
    aspect-ratio: 1.01;
    object-fit: cover; }
  ul.upload_progress li[data-status="succeeded"] .container,
  ul.upload_progress li[data-status="failed"] .container {
    border-style: solid;
    border-width: 5px;
    padding: 0;
    margin: -5px;
    position: relative; }
  ul.upload_progress li[data-status="in_progress"] .container {
    border: 10px solid #08090A;
    padding: 0;
    margin: -10px;
    animation: Pulsate 2.5s linear infinite; }
    @media (prefers-reduced-motion: reduce) {
      ul.upload_progress li[data-status="in_progress"] .container {
        animation: none; } }
  ul.upload_progress .text {
    position: absolute;
    height: 30px;
    line-height: 30px;
    border-radius: 6px;
    text-align: center;
    color: white;
    font-weight: bold; }
  ul.upload_progress li[data-status="succeeded"] .container {
    border-color: #E36397; }
  ul.upload_progress li[data-status="succeeded"] .text {
    background: #E36397;
    bottom: -17px;
    width: 70px;
    left: calc(50% - 35px); }
  ul.upload_progress li[data-status="failed"] .container {
    border-color: red; }
  ul.upload_progress li[data-status="failed"] .text {
    background: red;
    bottom: -1px;
    right: -20px;
    width: 110px;
    rotate: -17deg; }
  ul.upload_progress li[data-status="waiting"] img {
    filter: saturate(0%); }

#page-wait_for_upload {
  /* Ensure that the animated "Uploading....." and "1 of N" are
   * vertically aligned with each other. */ }
  #page-wait_for_upload .title_container {
    line-height: 50px;
    margin-bottom: 1.5em; }
  #page-wait_for_upload .title_container, #page-wait_for_upload .image_counter {
    height: 50px; }

/* https://stackoverflow.com/q/34889902/1558022 */
@keyframes Pulsate {
  from {
    filter: saturate(0%); }
  50% {
    filter: saturate(100%); }
  to {
    filter: saturate(0%); } }

/*
 * This adds five animated dots on Uploading.....
 *
 * The dots gradually fill up and then reset.  For users who have
 * CSS disabled or the "reduce motion" preference, it just shows
 * a static five dots.
 *
 */
.animated_uploading:after {
  display: inline-block;
  vertical-align: bottom;
  animation: ellipsis 1.2s linear infinite;
  content: "....."; }
  @media (prefers-reduced-motion: reduce) {
    .animated_uploading:after {
      animation: none; } }
.animated_uploading .ellipsis {
  display: none; }

@keyframes ellipsis {
  0% {
    content: ""; }
  20% {
    content: "."; }
  40% {
    content: ".."; }
  60% {
    content: "..."; }
  80% {
    content: "...."; }
  100% {
    content: "....."; } }

#page-upload_complete .title {
  display: grid;
  grid-template-columns: auto 200px;
  height: 50px; }
  #page-upload_complete .title h2 {
    margin: 0;
    line-height: 50px; }
  #page-upload_complete .title a {
    text-align: center; }

#page-upload_complete .error_info {
  /* This causes the error information to fill all the remaining columns.
     * See https://stackoverflow.com/a/50612664/1558022 */
  grid-column: 2 / -1;
  max-width: 100%; }
  #page-upload_complete .error_info dl {
    font-family: monospace;
    line-height: 1.6em;
    margin-top: 0; }
    #page-upload_complete .error_info dl dt {
      font-weight: bold; }
    #page-upload_complete .error_info dl dt:not(:first-child) {
      margin-top: 1em; }
    #page-upload_complete .error_info dl dd {
      margin-left: 0; }

#page-upload_complete .text {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */ }

#page-post_comments .comment_info {
  grid-column: 2 / -1;
  max-width: 100% !important; }

#page-post_comments .comment_info p:first-child {
  margin-top: 0; }

#page-post_comments .comment_text {
  font-family: monospace;
  line-height: 1.3em;
  white-space: pre-line; }

#page-post_comments .which_user {
  height: 36px;
  display: grid;
  grid-template-columns: 36px auto;
  grid-gap: 15px; }
  #page-post_comments .which_user p {
    margin: 0;
    line-height: 36px; }

/* Temporary styles */
main {
  padding-bottom: 1em; }

img {
  max-width: 100%; }

figure {
  margin: 0; }

figcaption, figcaption a {
  color: #575A5E;
  font-size: small; }

.flashes {
  color: red; }
