aboutsummaryrefslogtreecommitdiff
path: root/mod/ckeditor/views/default/css/wysiwyg.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:05:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:05:42 -0300
commit82ca8e9f8839b98a5770a90027adcecbe603d06f (patch)
tree0f8e599218b8bcf1bb84d1defdeb8b5dd31b8a14 /mod/ckeditor/views/default/css/wysiwyg.php
parented3335df218dca6aa14f1686454b3e265339b729 (diff)
parent20f9884f9a52e810d7e3cdbdd92eabc64812e097 (diff)
downloadelgg-82ca8e9f8839b98a5770a90027adcecbe603d06f.tar.gz
elgg-82ca8e9f8839b98a5770a90027adcecbe603d06f.tar.bz2
Merge commit '20f9884f9a52e810d7e3cdbdd92eabc64812e097' as 'mod/ckeditor'
Diffstat (limited to 'mod/ckeditor/views/default/css/wysiwyg.php')
-rw-r--r--mod/ckeditor/views/default/css/wysiwyg.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/mod/ckeditor/views/default/css/wysiwyg.php b/mod/ckeditor/views/default/css/wysiwyg.php
new file mode 100644
index 000000000..f696729ab
--- /dev/null
+++ b/mod/ckeditor/views/default/css/wysiwyg.php
@@ -0,0 +1,36 @@
+/* CSS for CKEditor content iframe */
+
+<?php // The Elgg CSS reset forces the scrollbar which we don't want ?>
+html, body {
+ height: auto;
+ margin: 0;
+}
+
+body {
+ margin: 8px;
+}
+
+dt { font-weight: bold }
+dd { margin: 0 0 1em 1em }
+
+ul, ol {
+ margin: 0 1.5em 1.5em 0;
+ padding-left: 1.5em;
+}
+ul {
+ list-style-type: disc;
+}
+ol {
+ list-style-type: decimal;
+}
+table {
+ border: 1px solid #ccc;
+}
+table td {
+ border: 1px solid #ccc;
+ padding: 3px 5px;
+}
+img {
+ max-width: 100%;
+ height: auto;
+} \ No newline at end of file