.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-code-cell {
  margin-right: 10px !important;
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-code-cell pre {
  margin-right: 0 !important;
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell.commented {
  border-radius: var(--roundness);
  border-right: 8px solid #b2e3fa;
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell {
  position: relative;
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell > .icon {
  position: absolute;
  right: -13px;
  top: -3px;
  display: none;
  transition: all .1s ease-in-out;
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell:hover .icon {
  display: block;
  transform: scale(0.8, 0.8);
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell .icon:hover {
  cursor: pointer;
  transform: scale(1.1, 1.1);
  filter: brightness(1.17);
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell:hover,
.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell.target {
  border-radius: var(--roundness);
}

.ipython-notebook > .nb-notebook > .nb-worksheet > .nb-cell > .nb-output {
  overflow-y: hidden !important;
}

.handle {
  height: 25px;
  position: relative;
}

.handle::after {
  cursor: ns-resize;
  content: "\f338";
  font-size: 16px;
  position: absolute;
  height: 25px;
  width: 25px;
  text-align: center;
  bottom: 0px;
  right: 0px;
  background-color: #efefef;
  font-family: Icons;
  border-radius: var(--roundness);
}

.notebook-snippet .ipython-notebook pre {
  display: flex;
  justify-content: space-between;
}

.notebook-snippet .octicon.octicon-clippy:hover {
  opacity: 1;
  color: var(--dark-bg);
}

.notebook-snippet .nb-notebook {
  margin-top: 45px; /* make room for "open in colab" label */
}
