![見出し画像](https://assets.st-note.com/production/uploads/images/81149467/rectangle_large_type_2_87c2ed05d37a464b5da7f214364ea46a.png?width=1200)
Photo by
askad
LogseqのCSSを変更してみた。
CSSとは、見た目を整えるもの。らしい。
ということで、今までのも気に入っていたのでが、カード風の表示にあこがれて、変更してみた。
変更前
![](https://assets.st-note.com/img/1655814764531-3s9imhoLPq.png?width=1200)
@import url('https://raw.githack.com/PiotrSss/logseq-bujo-theme/main/main.css');
@import url('https://raw.githack.com/PiotrSss/logseq-bujo-theme/main/dark-coffee.css');
@import url('https://raw.githack.com/PiotrSss/logseq-bujo-theme/main/light-sepia.css');
変更後
![](https://assets.st-note.com/img/1655814620208-Pesybh08L5.png?width=1200)
.ls-block {
font-family: "Hiragino Maru Gothic ProN";
font-size: 13px;
caret-color: red;
background: #f0f8ff;
border-radius: 8px;
margin-bottom: 7px !important;
}
.dark-theme .ls-block {
background: #D3D3D3 ;
}
h1, h2, h3, h4 {
font-size: 16px !important;
}
参考サイト
CSSを変更するにあたって、背景の色とか変えるのに色コードの知識が役に立った。
ダークモードだと、背景色のほうが選択色より上に来ているのか、見えにくいので、しばらくはライトモードだけの運用にしてみようと思う。
それにしてもCSSは沼かもしれん。