.page-header h1 {
  padding-top: 55px;
  margin-top: -55px;
}

#sidebar li {
  border-left: 4px #fff solid;
}

#sidebar li.active {
  border-left: 4px #eee solid;
}

#sidebar li a {
  padding: 5px 15px;
}

#sidebar {
  width: 228px;
}

#sidebar.affix {
  position: fixed;
  top: 70px;
}

.github-badge {
  position: fixed;
  top: 70px;
  right: 0;
  border: 0;
  z-index: 9999;
}

@media all and (min-width: 768px) {

  .github-badge {
    top: 0;
  }

}

.page-header h1 {
  padding-top: 55px;
  margin-top: -55px;
}

#sidebar li {
  border-left: 4px #fff solid;
}

#sidebar li.active {
  border-left: 4px #eee solid;
}

#sidebar li a {
  padding: 5px 15px;
}

#sidebar {
  width: 228px;
}

#sidebar.affix {
  position: fixed;
  top: 70px;
}

.github-badge {
  position: fixed;
  top: 51px;
  right: 0;
  border: 0;
  z-index: 9999;
}

@media all and (min-width: 768px) {

  .github-badge {
    top: 0;
  }

}

Adjust GitHub badge offset top
Adjust GitHub badge offset top
