Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use correct styles in tinymce editor.

  • Loading branch information...
commit b1c69f618007bc57742751b3ef0c109179d5232e 1 parent cc15e49
Stefan Siebel authored
View
44 public/javascripts/tiny_mce/themes/advanced/skins/default/content.css
@@ -1,13 +1,43 @@
-body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
+body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10pt; margin:8px;}
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
-h1 {font-size: 2em}
-h2 {font-size: 1.5em}
-h3 {font-size: 1.17em}
-h4 {font-size: 1em}
-h5 {font-size: .83em}
-h6 {font-size: .75em}
+h1 {
+ font-size:22pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
+h2 {
+ font-size:20pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
+h3 {
+ font-size:18pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
+h4 {
+ font-size:16pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
+h5 {
+ font-size:14pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
+h6 {
+ font-size:12pt;
+ font-weight:bold;
+ text-decoration:underline;
+ margin-bottom:10px;
+}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat 0 0;}
span.mceItemNbsp {background: #DDD}
Please sign in to comment.
Something went wrong with that request. Please try again.