/**
 * Courier v1.0.0 - custom CSS theme for TinyIB imageboard engine
 *
 * beach.de.cool, June 2025
 */

html {
  --font-size: 16px;

  --fg: #111111;
  --bg: #c1c1c1;

  --red: red;
  --green: green;
  --blue: blue;
}

html {
  background-color: var(--bg);
  color: var(--fg);

  margin: 0 auto;
  max-width: 800px;

  font-family: serif;
  font-size: var(--font-size);
}

a {
  color: var(--blue);
  text-decoration: solid underline 1px;
}

a:hover {
  color: var(--red) !important;
}

input,
select,
textarea {
  font-size: var(--font-size);
}

.message {
  margin: 12px 12px;

  line-height: 1.5;
  overflow-wrap: anywhere;
}

.logo {
  color: var(--fg);
}

.replymode {
  display: none;
}

.manageinfo {
  color: var(--bg);
  background-color: var(--fg);
  text-align: center;
  padding: 2px;
  width: 100%;
}

.catalogmode {
  color: var(--bg);
  background-color: var(--fg);
  text-align: center;
  padding: 2px;
  width: 100%;
}

.rules {
  width: 468px;
}

.rules li {
  margin-left: 1em;
}

.postblock {
  background-color: var(--bg);
}

.passvalid {
  text-align: center;
  width: 100%;
}

.dellist {
  font-weight: 600;
  text-align: center;
}

.delbuttons {
  text-align: center;
  padding-bottom: 4px;
}

.managehead {
  color: var(--bg);
  background-color: var(--fg);
  padding: 0;
}

.postlists {
  padding: 0;
  width: 100%;
}

.unkfunc {
  background-color: inherit;
  color: var(--green);

  font-style: italic;
}

.filesize {
  text-decoration: none;
}

.filetitle {
  background-color: inherit;
  font-weight: 600;
}

.postertrip {
  color: var(--green);
  font-style: italic;
}

.oldpost {
  font-weight: 600;
}

.omittedposts {
  display: inline-block;
  margin: 0 25px 8px;

  font-style: italic;
}

.message .omittedposts {
  margin: 0 0 0;
  padding: 8px 0 8px;

  width: 100%;
}

.reply {
  color: var(--fg) !important;
  background-color: #fefefe;
}

.message {
  margin: 8px 25px;
}

.replyhl {
  background-color: var(--bg);
}

.hoverpost {
  background-color: var(--bg);
}

.highlight {
  border: 2px dashed var(--fg);
}

.refop {
  font-style: italic;
}

.doubledash {
  display: none;
}

table,
td {
  border: none;
}

.postblock + td {
  width: 100%;
}

.postblock + td textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;

  resize: vertical;
}

.spoiler {
  text-decoration: unset;
  text-shadow: none;

  background-color: var(--fg);
  border-radius: 3px;

  transition: background-color 0.2s;
}

.spoiler:hover {
  background-color: var(--bg);
}
