/* from: https://about.front-end.social/css/override.css */

body {
  --trans:
    powderblue 1em,
    pink 1em 2em,
    white 2em 3em,
    pink 3em 4em,
    powderblue 4em 5em,
    transparent 5em;
  background-image: linear-gradient(-0.375turn, var(--trans));
}

a:any-link {
  text-decoration: underline !important;
}

a:focus-visible {
  outline: medium dotted !important;
}

/* Form highlights when media is missing description. */
/* Originally contributed by @kizu */
/* The edit button (for fixing the error) */
.compose-form__upload__actions:not(:last-child) .icon-button:last-child {
  background-color: darkgreen;
}

/* The warning itself */
.compose-form__upload__warning button {
  background-color: maroon;
  text-align: left;
  width: 100%;
}

/* The upload area */
.compose-form__upload:has(.compose-form__upload__warning) {
  outline: medium dashed red;
}

/* The form submission */
.compose-form:has(.compose-form__upload__warning) .compose-form__publish [type=submit] {
  border: medium solid red;
}
.compose-form:has(.compose-form__upload__warning) .compose-form__publish [type=submit]::before {
  content: "⚠️ ";
}


.user-role-1 {
  --user-role-accent: #000000;
}

