/* synced from drakes-website@5520a2d */
/* style.css - 2010, but the good parts. Times New Roman, black on white,
   one accent color, buttons that look pressable. Still one file. */

:root {
  --brand: 28px;
  --brand-small: 22px;
  --h1: 24px;
  --title: 18px;
  --text: 16px;
  --ui: 13px;
  --meta: 11px;
  /* Type scale: every size on the site is one of the seven above. */
  --ink:    #111111;
  --muted:  #6f6f6f;
  --rule:   #d5d5d5;
  --hair:   #e6e6e6;
  --accent: #c8501e;
  --link:   #0b3d91;
  --pulse:  #0a7d00;
  --alarm:  #cc0000;
}

html { background-color: #ffffff; }

body {
  font-family: "Times New Roman", Times, serif;
  font-size: var(--text);
  line-height: 1.55;
  color: var(--ink);
  background-color: #ffffff;
  margin: 0 auto;
  padding: 0 22px 60px 22px;
  max-width: 760px;
}

/* ---------- links ---------- */

a         { color: var(--link); }
a:visited { color: #5a3d84; }
a:hover   { color: var(--accent); }

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 12px 0;
  border-bottom: 2px solid #000000;
  margin-bottom: 16px;
}

.brand {
  font-size: var(--brand);
  font-weight: bold;
  letter-spacing: -0.5px;
  color: #000000;
  text-decoration: none;
}
.brand:visited { color: #000000; }
.brand:hover   { color: #000000; text-decoration: none; }

.pill {
  font-size: var(--meta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222222;
  border: 1px solid #999999;
  border-radius: 10px;
  padding: 2px 9px 3px 9px;
  white-space: nowrap;
}

/* the dot bounces. it costs nothing and the page feels awake. */
.pill:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: var(--pulse);
  animation: pill-bounce 1.4s ease-in-out infinite;
}

@keyframes pill-bounce {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  30%      { transform: translateY(-3px) scale(1.15); opacity: 0.75; }
  60%      { transform: translateY(0) scale(0.9); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pill:before { animation: none; }
}

.spacer { flex: 1; }

/* ---------- 2010 buttons ---------- */

.btn,
.nav a {
  display: inline-block;
  font-family: "Times New Roman", Times, serif;
  font-size: var(--ui);
  line-height: 1.1;
  text-decoration: none;
  color: #111111;
  padding: 6px 12px;
  border: 1px solid #9a9a9a;
  border-radius: 3px;
  background-image: linear-gradient(#fdfdfd, #e4e4e4);
  background-color: #f0f0f0;
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 1px rgba(0, 0, 0, 0.12);
}
.btn:visited, .nav a:visited { color: #111111; }
.btn:hover, .nav a:hover {
  color: #000000;
  border-color: #555555;
  background-image: linear-gradient(#ffffff, #ededed);
}
.btn:active, .nav a:active {
  background-image: linear-gradient(#e0e0e0, #f2f2f2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav {
  margin: 0 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nav a.here {
  font-weight: bold;
  border-color: #333333;
  background-image: linear-gradient(#efefef, #dcdcdc);
}

/* ---------- headings ---------- */

h1 {
  font-size: var(--h1);
  font-weight: bold;
  letter-spacing: -0.3px;
  margin: 18px 0 4px 0;
  line-height: 1.2;
}

h2 {
  font-size: var(--title);
  margin: 32px 0 12px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #000000;
}

h3 { font-size: var(--title); margin: 24px 0 6px 0; }

.tagline { color: var(--muted); font-style: italic; margin: 0 0 6px 0; }

/* ---------- body copy ---------- */

p  { margin: 0 0 14px 0; }
ul, ol { margin: 0 0 14px 0; padding-left: 22px; }
li { margin: 3px 0; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 26px 0; }

blockquote {
  margin: 18px 0;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
  color: #333333;
}

code, pre {
  font-family: "Courier New", Courier, monospace;
  font-size: var(--ui);
  background-color: #f6f6f6;
  border: 1px solid var(--hair);
}
code { padding: 1px 4px; }
pre  { padding: 10px 12px; overflow-x: auto; }

.date { color: var(--muted); font-size: var(--meta); }

/* ---------- tables in posts ---------- */

table { border-collapse: collapse; margin: 0 0 18px 0; }
table[border] th, table[border] td {
  border: 1px solid #c9c9c9;
  padding: 5px 10px;
  text-align: left;
}
table[border] th { background-color: #f4f4f4; }

/* a boxed aside */
.note {
  border: 1px solid #e2d5cd;
  border-left: 3px solid var(--accent);
  background-color: #fffaf7;
  padding: 10px 14px;
  margin: 18px 0;
}

/* ---------- post lists ---------- */

.posts ul { list-style: none; margin: 0; padding: 0; }
.posts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  padding: 9px 2px;
  border-bottom: 1px solid var(--hair);
}
.posts li a { text-decoration: none; }
.posts li a:hover { text-decoration: underline; }
.posts .date { margin-left: auto; white-space: nowrap; }

/* ---------- forms ---------- */

label { display: block; margin: 12px 0 3px 0; font-weight: bold; font-size: var(--ui); }

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  font-family: "Times New Roman", Times, serif;
  font-size: var(--text);
  width: 100%;
  max-width: 420px;
  padding: 5px 7px;
  border: 1px solid #999999;
  border-radius: 2px;
  background-color: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus { outline: 0; border-color: #333333; }

.check { font-weight: normal; font-size: var(--text); margin: 6px 0; }
.check input { margin-right: 7px; }

button {
  font-family: "Times New Roman", Times, serif;
  font-size: var(--ui);
  cursor: pointer;
  color: #111111;
  padding: 7px 16px;
  border: 1px solid #9a9a9a;
  border-radius: 3px;
  background-image: linear-gradient(#fdfdfd, #e4e4e4);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 1px rgba(0, 0, 0, 0.12);
}
button:hover { border-color: #555555; background-image: linear-gradient(#ffffff, #ededed); }
button:active { background-image: linear-gradient(#e0e0e0, #f2f2f2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2); }
button[disabled] { color: #888888; cursor: default; box-shadow: none; }

.result { margin: 16px 0; padding: 10px 14px; border: 1px solid var(--hair); background-color: #fafafa; }
.result.good { border-left: 3px solid var(--pulse); }
.result.bad  { border-left: 3px solid var(--alarm); color: #7a0000; }
.hidden { display: none; }

/* ---------- the banhammer ---------- */

.banner-ban {
  color: var(--alarm);
  font-size: 64px;
  font-weight: bold;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 30px 0 10px 0;
  text-align: center;
}
.banner-sub {
  color: var(--alarm);
  font-size: 22px;
  text-align: center;
  margin: 0 0 26px 0;
}
.ban-box {
  border: 3px double var(--alarm);
  padding: 18px 22px;
  margin: 24px 0;
  background-color: #fff8f8;
}
@media (max-width: 640px) {
  .banner-ban { font-size: 40px; }
  .banner-sub { font-size: 18px; }
}

/* ---------- signatory list ---------- */

.signers { list-style: none; margin: 0; padding: 0; }
.signers li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 7px 2px;
  border-bottom: 1px solid var(--hair);
}
.signers .date { margin-left: auto; white-space: nowrap; }
.signers .flag { color: var(--alarm); font-size: var(--meta); }

/* ---------- pictures ---------- */

img { max-width: 100%; height: auto; }
.pics td { padding: 0 14px 14px 0; vertical-align: top; }
.pics img { border: 1px solid #000000; display: block; margin-bottom: 5px; }

/* ---------- footer ---------- */

.footer {
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: var(--meta);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  body { font-size: var(--text); }
  .brand { font-size: var(--brand-small); }
  .pics, .pics tbody, .pics tr, .pics td { display: block; width: 100%; }
  .pics td { padding-right: 0; }
  .posts li { flex-wrap: wrap; gap: 4px; }
  .posts .date { margin-left: 0; width: 100%; }
}
