body {
  font-family: ui-monospace, 'Cascadia Code', SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10pt;
  color: #000;
  background: #f6f6ef;
  margin: 0;
  padding: 0;
}

#hnmain {
  background: #f6f6ef;
}

/* Header bar */
#hnmain > tbody > tr:first-child > td {
  background: #5c7a2e;
  padding: 2px 4px;
}

.hnname {
  color: #ffffff;
  font-size: 10pt;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #81c784;
  padding: 1px 4px;
}

a.hnname, a.hnname:visited {
  color: #ffffff;
  text-decoration: none;
}

/* Item table */
.athing .title {
  line-height: 1.35;
}

.rank {
  color: #828282;
  font-size: 10pt;
  padding-right: 4px;
}

.titlelink {
  color: #000;
  text-decoration: none;
  font-size: 10pt;
}

.titlelink:visited {
  color: #828282;
}

.titlelink:hover {
  text-decoration: underline;
}

.sitebit.comhead {
  color: #828282;
  font-size: 8pt;
}

/* Vote arrow */
.votelinks {
  padding: 0 3px;
  vertical-align: top;
}

.votearrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9e9e9e;
  font-size: 9pt;
  line-height: 1;
}

.votearrow:hover {
  color: #5c7a2e;
}

/* Subtext row */
.subtext {
  color: #828282;
  font-size: 7pt;
  padding-bottom: 2px;
}

.subtext a, .subtext a:visited {
  color: #828282;
  text-decoration: underline;
}

.subtext a:hover {
  color: #000;
}

.age {
  color: #828282;
}

.hnuser {
  color: #828282;
}

/* Detail page vote button */
.votebutton {
  background: #eef2e6;
  border: 1px solid #a0b878;
  color: #4a6224;
  font-family: inherit;
  font-size: 8pt;
  cursor: pointer;
  padding: 2px 8px;
}

.votebutton:hover {
  background: #dce8c4;
}

/* Footer */
.foot {
  color: #828282;
  font-size: 8pt;
}

.foot a, .foot a:visited {
  color: #828282;
  text-decoration: underline;
}

@media (max-width: 600px) {
  #hnmain {
    width: 100% !important;
  }
}
