a few more markdown style updates

This commit is contained in:
Devin Howard 2016-10-30 12:26:25 +08:00
parent d7b179e348
commit 543fe098a1

View file

@ -138,25 +138,35 @@
resize: none; resize: none;
} }
.CardOnGraph .desc p { /*
* Styling for Markdown in topic cards
*/
.CardOnGraph .desc {
p, ol, ul {
padding: 0.15em 0; padding: 0.15em 0;
} }
.CardOnGraph .desc h3 { h1, h2, h3, h4, h5, h6 {
font-style:normal; font-style: normal;
margin-top:5px; padding: 0.25em 0;
} }
.CardOnGraph .desc ol, ol,
.CardOnGraph .desc ul { ul {
margin-left: 1em; margin-left: 1em;
padding: 0.15em 0; }
}
.CardOnGraph .desc a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
opacity: 0.9; opacity: 0.9;
}
} }
/*
* End Markdown styling
*/
.CardOnGraph .best_in_place_desc { .CardOnGraph .best_in_place_desc {
display:block; display:block;
margin-top:2px; margin-top:2px;