├── .gitignore ├── README.md ├── package.json ├── schema └── plugin.json ├── src └── index.ts ├── style └── index.css ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | *.bundle.* 2 | lib/ 3 | node_modules/ 4 | *.egg-info/ 5 | .ipynb_checkpoints 6 | tsconfig.tsbuildinfo 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # custom-css 2 | 3 | Add custom CSS rules to JupyterLab 4 | 5 | ## Usage 6 | 7 | After install the plugin, you should see an item called "Custom CSS" in the settings in "Advanced Settings Editor". 8 | Here you can specify any CSS rules you want. 9 | 10 | ```javascript 11 | { 12 | "rules": [ 13 | { 14 | "selector": ".cls-parent .cls-child", 15 | "styles": [ 16 | "max-height: 100px", 17 | "font-size: 14px" 18 | ] 19 | }, 20 | ... 21 | ] 22 | } 23 | ``` 24 | 25 | This will create an inline `