
div.homepage {
  text-align: center;
}
div.logo {
  height: 300px;
}
div.logo img {
  height: 100%;
}



.comment.selected {
  background-color: antiquewhite;
}



.vote-button {
  color: lightgrey;
}
.vote-button.upvote.selected {
  color: limegreen;
}
.vote-button.downvote.selected {
  color: red;
}
.vote-button.upvote:hover {
  text-decoration: none;
  color: green;
}
.vote-button.downvote:hover {
  text-decoration: none;
  color: palevioletred;
}


.like-button, .unlike-button {
  border-radius: 10px;
  padding: 1px 4px;
  display: block;
  min-width: 50px;
  max-width: 80px;
  text-align: center;
}
.like-button {
  color: white;
  background-color: lightskyblue;
}
.like-button:hover {
  color: white;
  background-color: lightgreen;
  text-decoration: none;
}
.unlike-button {
  color: green;
  background-color: palegreen;
}
.unlike-button:hover {
  color: red;
  background-color: ghostwhite;
  text-decoration: none;
}


.nounderline {
  text-decoration: none !important;
}
.custom-link {
  color: #333;
  text-decoration: none !important;
}
.custom-link:hover {
  color: #333;
}

.attachment-big {
  max-width: 100%;
  max-height: 500px;
}
.attachment-small {
  max-width: 100%;
  max-height: 250px;
}

/* ---- additions for the jsanker.com port ---- */

/* votes, subscribe and logout are POST forms now; make their buttons look like the old links */
.inline-form { display: inline; margin: 0; }
button.vote-button, button.like-button, button.unlike-button {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
button.vote-button { padding: 0 2px; }
button.like-button, button.unlike-button { border-radius: 10px; padding: 1px 8px; }
button.like-button { color: white; background-color: lightskyblue; }
button.like-button:hover { background-color: lightgreen; }
button.unlike-button { color: green; background-color: palegreen; }
button.unlike-button:hover { color: red; background-color: ghostwhite; }
.vote-button.upvote:hover i { color: green; }
.vote-button.downvote:hover i { color: palevioletred; }
/* the logout form sits in the navbar like any other link: same padding, line height and colour as `.navbar-nav > li > a` */
.navbar-nav > li > form.navbar-form { margin: 0; padding: 0; border: 0; box-shadow: none; }
.navbar-nav > li > form.navbar-form .nav-button {
  display: block;
  width: 100%;
  padding: 10px 15px;
  border: 0;
  border-radius: 0;
  line-height: 20px;
  text-align: left;
  color: #777;
}
.navbar-nav > li > form.navbar-form .nav-button:hover,
.navbar-nav > li > form.navbar-form .nav-button:focus { color: #333; text-decoration: none; }
@media (min-width: 768px) {
  .navbar-nav > li > form.navbar-form .nav-button { padding-top: 15px; padding-bottom: 15px; }
}

/* user text keeps its line breaks without any HTML injection */
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }

table.table td.narrow { width: 50px; }
table.table td.narrow-wide { width: 128px; }
table.table td.wide { width: 100%; }
table.table td.score, td.score-small { width: 30px; }
.avatar { border-radius: 4px; vertical-align: middle; }

.search-form { margin-bottom: 15px; }
.comment-table { margin-bottom: 0; }
.comment-table td.replies { padding-left: 25px; border-left: 2px solid #eee; }
details.reply summary { cursor: pointer; color: #337ab7; font-size: 12px; }
details.reply textarea { margin: 6px 0; }
.form-control-file { display: block; }
