Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tomnagengast/4c8ac148886a87bbbe96730d540175d7 to your computer and use it in GitHub Desktop.
Save tomnagengast/4c8ac148886a87bbbe96730d540175d7 to your computer and use it in GitHub Desktop.
A jupyter notebook themes based of the tensorflow docs style https://www.tensorflow.org/guide
@import url("https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i");
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:100,100i,300,300i,400,400i,500,500i,700,700i");
.notebook_app {
background-color: #f7f7f7;
-webkit-font-smoothing: antialiased;
font-size: 16px;
}
#notebook-container {
background-color: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#menubar .navbar {
border: none;
border-radius: 0;
margin-bottom: 0px;
}
div.cell.selected:before,
div.cell.selected.jupyter-soft-selected:before {
background: #42a5f5;
}
.edit_mode div.cell.selected:before {
background: #fb8c00;
}
.edit_mode div.cell.selected {
border-color: #fb8c00;
}
div.cell.selected,
div.cell.selected.jupyter-soft-selected {
border-color: #42a5f5;
}
div.rendered_html {
font-family: Roboto, sans-serif;
}
.rendered_html :link:hover,
.rendered_html :visited:hover {
text-decoration: underline;
}
div.rendered_html h1 {
font: 300 34px/40px Roboto, sans-serif;
color: #757575;
letter-spacing: -0.01em;
}
div.rendered_html p,
div.rendered_html li {
font: 400 16px/24px Roboto, sans-serif;
color: #212121;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
}
div.rendered_html code {
font-family: Roboto Mono, monospace;
background-color: #eff0f1;
font-weight: 500;
}
div.rendered_html a code {
font-family: Roboto Mono, monospace;
color: #039be5;
background-color: #eff0f1;
font-weight: 500;
}
.CodeMirror {
font-family: Roboto Mono, monospace;
background: #f7f7f7;
color: #37474f;
}
div.code_cell * {
line-height: 2;
}
div.input_area {
background: #f7f7f7;
color: #37474f;
border: none;
border-radius: 2px;
line-height: 1.21429em;
padding: 1rem 3rem;
}
.rendered_html :link,
.rendered_html :visited {
color: #039be5;
outline: 0;
text-decoration: none;
}
/* Python Syntax Highlighting */
.cm-s-ipython span.cm-string {
color: #0d904f;
}
.cm-s-ipython span.cm-keyword {
color: #3b78e7;
font-weight: normal;
}
.cm-s-ipython span.cm-comment {
color: #d81b60;
font-style: normal;
}
.cm-s-ipython span.cm-def {
color: #37474f;
}
.cm-s-default .cm-header {
color: #37474f;
}
.cm-s-default .cm-link {
color: #3b78e7;
}
.cm-s-default .cm-comment {
color: #d81b60;
}
.cm-s-default .cm-string {
color: #0d904f;
}
.cm-s-default .cm-variable-2 {
color: #3b78e7;
}
code, kbd, pre, samp {
font-family: Roboto Mono, monospace;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment