We don't want to use django style headlines and margins in the preview,
we want something that looks a bit more like the main site. It's not
going to be exact (e.g. the colors will still be wrong), but it will
be a lot closer than without this.
padding-left: 0px !important;
}
+/* Override some things from django admin interface */
+div.adminmarkdownpreview h2 {
+ background: none !important;
+ color: rgb(102, 102, 102) !important;
+ font-size: 22px !important;
+}
+
+div.adminmarkdownpreview ul,ol {
+ margin-left: 0px !important;
+}
\ No newline at end of file
obj.style.marginRight = '10px';
obj.style.width = newdiv.style.width = "400px";
obj.style.height = newdiv.style.height = "200px";
+ newdiv.className = newdiv.className + ' adminmarkdownpreview';
}
obj.preview_div = newdiv;