
/* Navbar logo should be round when navbar is big */
.navbar-custom .navbar-brand-logo img {
  border-radius: 50%;
  transition: border-radius 0.5s cubic-bezier(.45,.05,.55,.95);
  height: 50px;
  width: 50px;
}

/* Navbar should have full logo height when navbar is small */
.navbar-custom.top-nav-short .navbar-brand-logo {
  padding: 0;
  height: 50px;
}

/* HACK: Add text to logo (theme does not support to have both logo and text) */
.navbar-custom .navbar-brand-logo::after {
  padding-left: 15px;
  content: "Jagged Alliance 2 Stracciatella";
}

/* Navbar logo should be square when navbar is small */
.navbar-custom.top-nav-short .navbar-brand-logo img {
  border-radius: 0%;
  height: 50px;
}

/* Navbar links should be narrow */
.navbar-custom .navbar-nav .nav-link {
  letter-spacing: 0.5px;  
  padding: 10px 12px;
}

/* Navbar link hover should be red */
.navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus, .navbar-custom .navbar-nav .nav-link:hover, .navbar-custom .navbar-nav .nav-link:focus {
  color: #9c2111;
}

/* make the Download menu item stand out */
#main-navbar > ul > li:last-child a {
  color: #9d1e1c;
}

/* make read more when linking to a post less fat */
.post-preview .post-read-more, .post-preview a {
  font-weight: normal;
  color: #9c2111;
}

/* Set fonts for code snippets */
code {
  color: #404040;
  font-size: 85%;
}

/* position the avatar image on the home page */
.avatar-img-heading {
  text-align: center;
  margin-top: -1.25rem;
}

.avatar-img-heading img {
  border-radius: 50%;
  max-height: 200px;
  margin-top: 2em;
}

/* hack to properly space the autogenerated history TOC */
#timeline-of-the-jagged-alliance-series ~ ol > li > p {
  margin: 0px;
}

/* Styles for history page */
.hist-img, .hist-table, .hist-desc {
  float: left;
  max-width: 68%;
  padding-left: 2%;
}
.hist-img {
  max-width: 30%;
  padding: 0%;
}
.hist-goup {
  clear: both;
}
.hist-goup a::before {
  content: "▲ ";
}

/* fix lack of spacing between tables and other elements without top padding/margin, eg. h2 on Features */
table {
  margin-bottom: 1.875rem;
}
