/* tilde.town stylesheet for ~brennan */

/* Override default body styles */
body {
  background-color: #282828 !important;
  color: #ebdbb2 !important;
  font-family: monospace !important;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
  max-width: 80ch;
  margin: 0 auto;
}

/* Override default meta styles */
#meta {
  background-color: #282828 !important;
  color: #ebdbb2 !important;
  padding-bottom: 1rem;
}

/* Override default tlogs styles */
#tlogs {
  margin-top: 0 !important;
  width: 80ch !important;
  max-width: 100% !important;
}

.entry {
  border: 1px dotted white;
  padding: 1rem;
  text-align: justify;
}

.entry p {
  padding: 0 !important;
  color: #ebdbb2 !important;
}

.entry p.permalink {
  font-size: .8em !important;
  color: #a89984 !important;
  text-align: right !important;
  margin-top: 1em !important;
}

.entry h5 {
  text-align: right !important;
  margin-top: .2em !important;
  color: #ebdbb2 !important;
}

/* Pre/code blocks stay inside the column; scroll horizontally on overflow */
pre {
  max-width: 100% !important;
  overflow-x: auto !important;
}

/* Clean blockquotes */
blockquote {
  background-color: transparent !important;
  color: #928374 !important;
  font-size: 90% !important;
  border-left: 2px solid #d79921 !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 1em !important;
  margin: 1em 0 !important;
}

/* Links with wavy underline */
a {
  color: #83a598 !important;
  text-decoration: wavy underline !important;
  text-decoration-thickness: 1px !important;
}

a:hover {
  text-decoration: underline !important;
  color: #fabd2f !important;
}

/* ASCII art with rainbow background */
.ascii-art {
  background: linear-gradient(90deg, #fb4934, #fe8019, #fabd2f, #b8bb26, #8ec07c, #83a598, #d3869b);
  color: #111111 !important;
  white-space: pre !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: bold !important;
  width: auto !important;
  padding: 10px;
  margin: 10px 0;
  margin-top: 2rem;
}

/* Headers */
.header {
  color: #ebdbb2 !important;
  font-weight: bold !important;
  padding: 3px !important;
}

/* Bio text */
.bio {
  color: #ebdbb2 !important;
  margin: 15px 0 !important;
}

/* Links section */
.links {
  margin: 15px 0 !important;
}

.link-item {
  margin: 5px 0 !important;
}

/* Now section items */
.now-item {
  margin: 8px 0 !important;
  color: #ebdbb2 !important;
}

/* Footer */
.footer {
  margin-top: 40px !important;
  padding-top: 20px !important;
  border-top: 1px solid #665c54 !important;
  color: #a89984 !important;
  font-size: 12px !important;
}

/* Rainbow link colors */
.link-item:nth-child(odd) a { color: #8ec07c !important; }
.link-item:nth-child(even) a { color: #fabd2f !important; }
.link-item:nth-child(3n) a { color: #fe8019 !important; }
.link-item:nth-child(4n) a { color: #d3869b !important; }
.link-item:nth-child(5n) a { color: #83a598 !important; }
.link-item:nth-child(6n) a { color: #fb4934 !important; }
.link-item:nth-child(7n) a { color: #b8bb26 !important; }
