富文本编辑器字体优化

This commit is contained in:
life
2015-11-11 14:56:16 +08:00
parent 940a4b69a8
commit 7db67107e4

View File

@@ -1,3 +1,52 @@
@font-face {
font-family: 'OpenSans';
src: local("OpenSans");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-Italic");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-Bold");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-BoldItalic");
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather Light");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-Italic");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-Bold");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-BoldItalic");
font-weight: bold;
font-style: italic;
}
* {
outline: 0px solid transparent;
-webkit-tap-highlight-color: rgba(0,0,0,0);
@@ -11,7 +60,8 @@ html {
html, body {
margin:0;
/*font-family:OpenSans, sans-serif;*/
font-family: OpenSans, 'Source Sans Pro', 'Lucida Grande', sans-serif;
font-weight: normal;
font-size:1em;
color:#2D2D2D;
}
@@ -348,7 +398,7 @@ div.field[placeholderText][contenteditable=true]:empty:focus:before {
}
#zss_field_title, #zss_field_title p {
font-family:'Merriweather', serif;
font-family:'Merriweather', sans-serif;
font-weight: bold;
font-size: 18px;
margin-bottom: 0px;