aboutsummaryrefslogtreecommitdiff
path: root/mod/ckeditor/views/default/css/wysiwyg.php
diff options
context:
space:
mode:
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