今回の変更は、サイトタイトルにグーグルフォントを適用(例 カスタマイザーで、サイトタイトルのクラスに google-font-lobster )した場合、ログアウトしてしまうと、フォントが適用されなくなるバグを修正しました。投稿のカスタムCSSメタボックスに指定可能な、ルールが増えました。
-Support @media rules
-Support @font-face
-Support @keyframes
@importは、サポートしていません。@raindrops というプライベートルールを追加しました。
-Support @media rules
-Support @font-face
-Support @keyframes
@importは、サポートしていません。@raindrops というプライベートルールを追加しました。
現在投稿のCSSメタボックスで指定可能なルールは、article要素および、その属性(class)以下だけが指定可能ですが、@raindrops を セレクタに追加した場合
@raindrops body.postid-xxxx #site-title span{ color:red; }
等とすると、article要素よりも上位の要素のスタイル指定が可能になります。
お勧めの機能ではありませんが、どうしても投稿からそのようなスタイル設定が必要な場合のために準備しました。
今回の変更により、特に、@font-faceが投稿内で記述できることになり、グーグルフォントのみならず
M+フォント等国内で提供されているWEBフォントも、投稿内で自由に利用できる環境が整いました。
その他、細かなバグの修正を含んでいます。
関連リンク
Fixed Google Fonts not apply when logged out@see Section Description of Code Changes ‘Font’Custom CSS for this Entry ( post metabox css editor )Support @media rules
Support @font-face
Support @keyframes
Not support @import
Add @raindrops private keyword for force handmade style rule( raindrops not adding post ID )
for example
Support @font-face
Support @keyframes
Not support @import
Add @raindrops private keyword for force handmade style rule( raindrops not adding post ID )
for example
@raindrops body.postid-xxxx #site-title span{
color:red;
}
This feature, so as to act is limited to a particular post,
carefully, please use only when absolutely necessary.
This is not a recommended feature
@see Section Description of Code Changes ‘CSS Editor’
Modify class RaindropsPostHelp