TOPページ >CSSで文字サイズの設定
CSSで文字サイズの設定
CSSで文字サイズを設定する。
- 7段階サイズ指定
私は中心文字を「small」で設定しています。 - 数値+単位でサイズ指定
多く使われている「px」、「em」のサイズって、こんなもんです。 - %表示
デフォルト値に対して何%の大きさかという設定 - 比較指定
xx-small
x-small
small
medium
large
x-lager
xx-large
10px
12px=1em
14px
16px
18px
20px
22px
24px=2em
70%
100%
200%
smaller
larger
ということで、Movable Type のエントリー部の初期設定を見てみると次のようになっています。ここで、「font-size: x-small;」の「x-small」を変更すればエントリー内の文字サイズが変わります。
.content p {
color: #666666;
font-family: Verdana, Arial, sans-serif;
font-size: x-small;
font-weight: normal;
line-height: 150%;
text-align: left;
margin-bottom: 10px;
}