2
A
回答
2
您可以将custom.css
文件放在~/.jupyter/custom
文件夹中,这将影响CSS。
样式的输出,你需要使用一个选择,像这样:
.output_subarea * {
background-color: red;
}
根据您想要的风格是什么。 *
匹配所有元素,.output_subarea
和*
之间的空格表示我们要选择.output_subarea
的后代。 !important
表示我们想覆盖任何现有的样式,您可能需要使用它。如果它似乎并不奏效,试着加入上!important
像这样:
.output_subarea * {
background-color: red !important;
}
有一对夫妇输出选择,你应该尝试一下,直到你找到你想要使用的一个。
.output
选择整个输出的div .output_area
选择任何输出区域。通常造型.output
或.output_area
将做类似的事情。
.output_subarea
专门只针对实际产出的地区(即,它会排除提示)
玩弄它,使用浏览器找到你的网页的部分的类具有看看DOM检查想要影响
相关问题
- 1. Jupyter笔记本 - Python代码
- 2. 嵌入Jupyter/IPython笔记本信息的最佳方法
- 3. 无法集中输入Jupyter笔记本
- 4. 什么是在OSx上设置虚拟环境的Jupyter笔记本的最佳方法
- 5. Jupyter笔记本电脑显示代码
- 6. 在Jupyter笔记本
- 7. 推出Jupyter笔记本“
- 8. 为什么在IPython的Jupyter笔记本中,时间输出为Wall time:0 ns?
- 9. 为什么不Jupyter笔记本命令打开笔记本?
- 10. 在Jupyter笔记本中存储密码
- 11. npm run build:js在Jupyter笔记本代码上抛出错误
- 12. 在IPython中/ Jupyter笔记本
- 13. 生成bit.ly或twitpic风格id的最佳方法是什么?
- 14. jupyter: '笔记本' 不是Jupyter命令
- 15. 在Jupyter笔记本中刷新for循环的输出
- 16. R - 如何将HTML代码嵌入到Jupyter笔记本输出中?
- 17. 阅读图像中Jupyter笔记本Jupyter笔记本
- 18. jupyter笔记本中的cython
- 19. 在bash内核的jupyter笔记本中运行python代码
- 20. 如何在Jupyter笔记本中查看模块的源代码?
- 21. 提取进出ipython/jupyter笔记本的泡菜的方法
- 22. 记录f#代码的最佳方式是什么?
- 23. 什么是记录Perl代码的最佳方式?
- 24. Ipyton笔记本/ jupyter
- 25. ipywidgets jupyter笔记本
- 26. 如何将输出集中在Python Jupyter笔记本上?
- 27. 在Jupyter笔记本中从Python子进程生成stdout输出
- 28. 如何在Python/Jupyter笔记本中省略matplotlib打印输出?
- 29. d3.js在Jupyter笔记本
- 30. FileNotFoundError而在Jupyter笔记本