シェフさん、こんばんは!
.article-body ul,.article-body ol {
color: red; /* 文字の色を赤にする */
}
を追加CSSに入れて下のCSSを入れてもダメでしたが、
.ul {
border: solid 2px #ffb03f;
padding: 0 0.5em;
position: relative;
}
.ul li {
line-height: 1.5;
padding: 0.5em 0 0.5em 1.4em;
border-bottom: dashed 1px silver;
list-style-type: none!important;
}
.ul li:before {
font-family: “Font Awesome 5 Free”;
content: “\f14a”;
position: absolute;
left : 0.5em; /*左端からのアイコンまで*/
color: #ffb03f; /*アイコン色*/
}
.ul li:last-of-type{
border-bottom: none;
}
ulの前に下のようにarticle-bodyを付けたら、投稿部分のみ変更できました。
.article-body ul {
border: solid 2px #ffb03f;
padding: 0 0.5em;
position: relative;
}
.article-body ul li {
line-height: 1.5;
padding: 0.5em 0 0.5em 1.4em;
border-bottom: dashed 1px silver;
list-style-type: none!important;
}
.article-body ul li:before {
font-family: “Font Awesome 5 Free”;
content: “\f14a”;
position: absolute;
left : 0.5em; /*左端からのアイコンまで*/
color: #ffb03f; /*アイコン色*/
}
.article-body ul li:last-of-type{
border-bottom: none;
}
ありがとうございました!