Code Monkey home page Code Monkey logo

jb's Introduction

Jupyter Notebook Background Color Change - with Update for Jupyter 6.0


This code can be used to change the background color of most elements Jupyter Notebook.
It also contains a width modifier for widescreen monitors.
Feel free to use, modify and share.

How to install

1) Find the .jupyter folder. Default location would be C:\Users\YOURUSERNAME\.jupyter


2) Create a folder named "custom" inside that folder.


3) Download the custom.css file listed here.
4) Copy or move the custom.css file into your "custom" folder.



Voila! Now you can use your Jupyter Notebook with your custom background colors.



UPDATE: For Jupyter 6.0


If you have installed a Jupyter version beginning with the number '6', you need to follow these steps:
1) Use the "Run" application of Windows; type ".jupyter".
2) Double click on that folder, then find the folder named "custom" and double click that one too.
3) You'll find a css file named "custom". You may edit this file as you please - just copy the text located in the css file of this repository and paste it underneath the text of the original file.

How to edit colors

1) Open the custom.css file with Notepad, Wordpad or a similar text editor.
2) Locate all words that say "lightgrey".
3) Change them to any color you like.
    a) Defined colors:
      You can find a list of CSS defined colors here: https://www.w3schools.com/cssref/css_colors.asp
    b) Undefined colors:
      You can find use hex notation for any undefined colors. (Example: #ffffff is black)

How to edit width

1) Open the custom.css file with Notepad, Wordpad or a similar text editor.
2) Locate the word that says "1500px".
3) Change "1500" to any number you like.

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.