Skip to content

Instantly share code, notes, and snippets.

@zgulde
Created July 19, 2022 23:04
Show Gist options
  • Save zgulde/e7fb747e243a30420cb1f2608060daf0 to your computer and use it in GitHub Desktop.
Save zgulde/e7fb747e243a30420cb1f2608060daf0 to your computer and use it in GitHub Desktop.
/* Custom Styles */
/* goes in ~/.jupyter/custom/custom.css */
/* import fonts -- see https://fonts.google.com/ */
@import url('//fonts.googleapis.com/css?family=Crimson+Text');
@import url('//fonts.googleapis.com/css?family=Gloria+Hallelujah');
@import url('//fonts.googleapis.com/css?family=Indie+Flower');
@import url('//fonts.googleapis.com/css?family=Lora');
@import url('//fonts.googleapis.com/css?family=Open+Sans');
@import url('//fonts.googleapis.com/css?family=Montserrat');
@import url('//fonts.googleapis.com/css?family=Merriweather');
/* font families */
h1, h2 { font-family: 'Crimson Text'; }
h3, h4, h5, h6, .cm-header { font-family: 'Open Sans'; }
.CodeMirror pre, div.output pre, .CodeMirror-code { font-family: 'Monaco'; }
body { font-family: 'Lora'; }
/* custom spacing around headings */
.rendered_html h1, .rendered_html h2, .rendered_html h3,
.rendered_html h4, .rendered_html h5, .rendered_html h6 {
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
}
/* font sizes */
div#notebook { font-size: 16px; }
table.dataframe { font-size: 14px; }
.CodeMirror pre, div.output pre { font-size: 14px; }
/* increase whitespace around lists and paragraphs */
ol, ul { margin: 0.25em 0 !important; }
p { margin-bottom: 1em; }
/* allow "scroll past end" */
#notebook-container { padding-bottom: 95vh; }
/* hide the menubar */
#menubar-container { display: none; }
.underline { text-decoration: underline; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment