Git Product home page Git Product logo

jupyter-notebook-material-theme's Introduction

Material Theme for Jupyter Notebook

Custom style sheet for Jupyter Notebook, using Chris Kempson's Base16 color scheme generator based on the beatiful Material Theme and Nate Peterson's Material Theme color palette

Screenshots

Original

Material Theme original screenshot

Darker

Material Theme darker screenshot

Installation

Your style sheet will need to be named custom.css and placed in the ~.jupyter/custom/. So you might grab the ocean-dark theme like so:

wget -O ~/.jupyter/custom/custom.css
https://raw.githubusercontent.com/flekschas/base16-ipython-notebook/master/ipython-2/output/base16-ocean-dark.css

Build

You can edit the templates (located in ./ipython-2/templates and ./ipython-3/templates) by running make.

Custom Theme

cd ./base16-builder && ./base16 -s https://rawgit.com/ntpeters/base16-materialtheme-scheme/master/material-darker.yaml

What happened to the toolbar?

You will probably notice that the top toolbar is gone in these styles. I've hidden it in the CSS by default, as I find it mostly useless. If you want it back, just comment out this line:

div#maintoolbar, div#header {display: none !important;}

Custom fonts

You can use custom fonts in IPython Notebook by uncommenting a block of code at the top, eg:

div#notebook, div.CodeMirror, div.output_area pre, div.output_wrapper, div.prompt {
  font-family: 'Inconsolata', monospace !important;
  font-size: 16px;
}

Credits

jupyter-notebook-material-theme's People

Contributors

flekschas avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

paw-lu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.