html {
  overflow: hidden;
  height: 100%;
}

body {
  height: 100%;
  overflow-y: scroll;

  margin: 0;
  padding: 0;

  /* github font see http://markdotto.com/2018/02/07/github-system-fonts/ */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  color: rgb(35, 35, 35);
}

.smaller {
  font-size: 0.9em;
}

.book-list {
    line-height: 1.7em;
}

tr:nth-child(even) {
    background-color: #f3f3f3;
}

td.book-name {
  text-align: left;
  min-width: 320px;
}

.view-switch {
    margin-top: 8px;
    margin-bottom: 8px;
}

a {
  color: #4183c4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.blue {
  color: rgb(138, 178, 219);
}

a.blue:hover {
  color: #4183c4;
}

.github {
  width: 16px;
  height: 16px;
  fill: #4183c4;
  transform: translateY(3px);
}

#content {
  height: 200vh;
  padding-top: 16px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: row;
}

#left {
  padding-left: 8px;
  padding-right: 8px;

  text-align: center;
  min-height: 100%;
  min-width: 160px;
}

#middle {
  padding-left: 8px;
  padding-right: 8px;

  text-align: center;
  min-height: 100%;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
}

#right {
  padding-left: 8px;
  padding-right: 8px;

  text-align: center;
  min-height: 100%;
  min-width: 160px;
}

.img-cover-small-wrapper {
  margin-left: 8px;
  margin-right: 8px;
  margin-bottom: 16px;
  width: 140px;
  height: 198px;
  background-color: lightslategray;
}

.img-cover-small {
  width: 140px;
  transition: all 0.1s ease-in-out;
}

.img-cover-small:hover {
  transform: scale(1.05);
}

#footer {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background-color: #f5f5f5;
  font-size: 0.8em;
  padding: 4px 16px;
}

#footer-left {
  min-width: 180px;
}

#footer-center {
  min-width: 180px;
}

#footer-right {
  min-width: 180px;
  text-align: right;
}
