Files
postgres-web/media/css/showdown_preview.css
Magnus Hagander 6f96c14452 Override some CSS classes from django-admin in the markdown previews
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.
2013-02-12 17:57:34 +01:00

22 lines
461 B
CSS

div.markdownpreview {
margin-top: 2px;
border: 1px solid black;
float: left;
overflow: auto;
}
div.markdownpreview p {
margin-left: 0px !important;
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;
}