サイトの話あれこれ

Max Magazine カスタマイズ4;フォントを変更&リンク色を変更

フォント変更

好きなフォントに変更してみました。

style.css を変更します。

メンドクサイので、親のstyle.cssをコピーして子テーマのstyle.cssにコピーしました。
カスタマイズ①で書いたところは消さないで。
親のstyle.cssの上の部分だけ消しちゃって、あくまでcssの中身だけコピーして☆。

 

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif font-size: 100%;(←ここを変更)
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}

リンク色を変更

記事内のリンク色だけ変更したかったのでcssに追加

p a:link {
color: #0000ff;
text-decoration:none;
}

p a:visited {
color: #0000ff;
}

p a:active {
color: #0000ff;
}

p a:hover {
color: #8080ff;
}

-サイトの話あれこれ
-,

© 2024 6歳差姉妹のEnjoyLife