[英]How to aligne text in a table using HTML in a Jupyter Notebook markdown cell?
[英]Override html blue font color in Jupyter markdown cell using custom.css
我有幾個以下 Jupyter markdown 細胞
markdown 單元格中的一些文本
使用 html 強制使用藍色字體顏色:
<font color='blue'> Some text in markdown cell </font>
我想使用 custom.css 覆蓋這個藍色字體顏色
我需要更改的元素是我的 custom.css
div.text_cell_render{
margin:0
}
.rendered_html pre code {
color: #444 !important;
font-family: monospace;
}
盡管!important附加到顏色以進行覆蓋,但這不起作用。 我是 css 新手。 我怎樣才能實現這種藍色字體顏色覆蓋。
下面應該覆蓋它,
html:
<div class="selector"><font color="blue">hello</font></div>
和 css 以它為目標:
.selector font {
color: red!important;
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.