Notion-MW
Notion-MW
 
(同じ利用者による、間の2版が非表示)
98行目: 98行目:
== テーマ ==
== テーマ ==


「テーマフォルダを開く」とやると各テーマのCSSがみられるので好きに変えられる。ただ<code>&quot;C&#58;\Program Files\Typora\resources\DO NOT ADD FILES HERE&quot;</code>を見るとわかるがTyporaをアップデートするとまたもとに戻ってしまう。
[https://support.typora.io/Add-Custom-CSS/ Add Custom CSS &#45; Typora Support]にある通り、ユーザー独自のCSSを追加できる。「テーマフォルダを開く」とやるとフォルダが表示されるので、そこにCSSファイルを作る。<code>base.user.css</code>は全テーマ、<code>&#123;current&#45;theme&#125;.user.css</code>(例えば<code>github.user.css</code>)は特定のテーマに対してカスタムCSSを適用する。


==== 行間 ====
==== 行間 ====
109行目: 109行目:
     font-family: "TRIVFONT", "NazoMin", "NazoMin+", "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
     font-family: "TRIVFONT", "NazoMin", "NazoMin+", "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
     color: rgb(51, 51, 51);
     color: rgb(51, 51, 51);
     line-height: <strong>1.3;</strong>
     line-height: 1.3;
}</syntaxhighlight>
}</syntaxhighlight>
ここで変える。(もともとは1.6)
ここで変える。(もともとは1.6)
140行目: 140行目:
となっているので、それぞれ
となっているので、それぞれ


<syntaxhighlight lang="css">p<strong>{
<syntaxhighlight lang="css">p{
     margin: 0.4em 0;
     margin: 0.4em 0;
}</strong>
}
blockquote,
blockquote,
ul,
ul,
157行目: 157行目:
h6 {
h6 {
     position: relative;
     position: relative;
     margin-top: <strong>0.6rem</strong>;
     margin-top: 0.6rem;
     margin-bottom: <strong>0.6rem</strong>;
     margin-bottom: 0.6rem;
     font-weight: bold;
     font-weight: bold;
     line-height: 1.4;
     line-height: 1.4;