Created
November 25, 2014 01:18
-
-
Save madbook/9aa1cedb6fe74de598e3 to your computer and use it in GitHub Desktop.
old and new markdown styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.md | |
{ | |
max-width:60em | |
} | |
.md .-headers, | |
.md h1, | |
.md h2, | |
.md h3, | |
.md h4, | |
.md h5, | |
.md h6 | |
{ | |
border:0; | |
-webkit-font-smoothing:antialiased | |
} | |
.md .-headers code, | |
.md h1 code, | |
.md h2 code, | |
.md h3 code, | |
.md h4 code, | |
.md h5 code, | |
.md h6 code | |
{ | |
font-size:inherit | |
} | |
.md, | |
.md .-headers, | |
.md h1, | |
.md h2, | |
.md h3, | |
.md h4, | |
.md h5, | |
.md h6 | |
{ | |
color:#222222 | |
} | |
.md blockquote, | |
.md del | |
{ | |
color:#808080 | |
} | |
.md a | |
{ | |
color:#218bb2; | |
text-decoration:none | |
} | |
.md h6 | |
{ | |
text-decoration:underline | |
} | |
.md em | |
{ | |
font-style:italic | |
} | |
.md th, | |
.md strong, | |
.md .-headers, | |
.md h1, | |
.md h2, | |
.md h3, | |
.md h4, | |
.md h5, | |
.md h6 | |
{ | |
font-weight:600 | |
} | |
.md h2, | |
.md h4 | |
{ | |
font-weight:500 | |
} | |
.md, | |
.md h6 | |
{ | |
font-weight:400 | |
} | |
.md * | |
{ | |
margin-left:0; | |
margin-right:0 | |
} | |
.md > :first-child, | |
.md .-cells > :first-child, | |
.md .-blocks > :first-child, | |
.md .-headers > :first-child, | |
.md h1 > :first-child, | |
.md h2 > :first-child, | |
.md h3 > :first-child, | |
.md h4 > :first-child, | |
.md h5 > :first-child, | |
.md h6 > :first-child, | |
.md th > :first-child, | |
.md td > :first-child, | |
.md .-lists > :first-child, | |
.md pre > :first-child, | |
.md blockquote > :first-child, | |
.md table > :first-child, | |
.md p > :first-child, | |
.md ul > :first-child, | |
.md ol > :first-child | |
{ | |
margin-top:0 | |
} | |
.md > :last-child, | |
.md .-cells > :last-child, | |
.md .-blocks > :last-child, | |
.md .-headers > :last-child, | |
.md h1 > :last-child, | |
.md h2 > :last-child, | |
.md h3 > :last-child, | |
.md h4 > :last-child, | |
.md h5 > :last-child, | |
.md h6 > :last-child, | |
.md th > :last-child, | |
.md td > :last-child, | |
.md .-lists > :last-child, | |
.md pre > :last-child, | |
.md blockquote > :last-child, | |
.md table > :last-child, | |
.md p > :last-child, | |
.md ul > :last-child, | |
.md ol > :last-child | |
{ | |
margin-bottom:0 | |
} | |
.md tr, | |
.md code, | |
.md .-cells, | |
.md .-blocks, | |
.md .-headers, | |
.md h1, | |
.md h2, | |
.md h3, | |
.md h4, | |
.md h5, | |
.md h6, | |
.md th, | |
.md td, | |
.md .-lists, | |
.md pre, | |
.md blockquote, | |
.md table, | |
.md p, | |
.md ul, | |
.md ol | |
{ | |
margin:0; | |
padding:0 | |
} | |
.md hr | |
{ | |
border:0; | |
color:transparent; | |
background:#e5e3da; | |
height:2px; | |
padding:0 | |
} | |
.md tr | |
{ | |
background-color:#ffffff | |
} | |
.md tr:nth-child(2n) | |
{ | |
background-color:#fcfcf7 | |
} | |
.md blockquote | |
{ | |
border-left:2px solid #e5e3da | |
} | |
.md code, | |
.md pre | |
{ | |
border:1px solid #e5e3da; | |
background-color:#fcfcf7; | |
border-radius:2px | |
} | |
.md code | |
{ | |
margin:0 2px; | |
white-space:nowrap | |
} | |
.md pre | |
{ | |
overflow:auto | |
} | |
.md pre code | |
{ | |
white-space:pre; | |
background-color:transparent; | |
border:0; | |
display:block; | |
padding:0!important | |
} | |
.md td, | |
.md th | |
{ | |
border:1px solid #e5e3da; | |
text-align:left | |
} | |
.md td[align=center], | |
.md th[align=center] | |
{ | |
text-align:center | |
} | |
.md td[align=right], | |
.md th[align=right] | |
{ | |
text-align:right | |
} | |
.md img | |
{ | |
max-width:100% | |
} | |
.md ul | |
{ | |
list-style-type:disc | |
} | |
.md ol | |
{ | |
list-style-type:decimal | |
} | |
.md blockquote | |
{ | |
padding:0 8px | |
} | |
.md code | |
{ | |
padding:0 4px | |
} | |
.md pre, | |
.md .-cells, | |
.md th, | |
.md td | |
{ | |
padding:4px 8px | |
} | |
.md .-lists, | |
.md ul, | |
.md ol | |
{ | |
padding-left:24px | |
} | |
.md sup | |
{ | |
font-size:0.86em; | |
line-height:0 | |
} | |
.link .usertext .md | |
{ | |
padding:4px 8px | |
} | |
.commentarea .md | |
{ | |
margin:4px 0 | |
} | |
.md h1, | |
.md h2 | |
{ | |
font-size:18px; | |
line-height:1.3333333333333333em; | |
margin-top:0.8888888888888888em; | |
margin-bottom:0.8888888888888888em | |
} | |
.md h3, | |
.md h4 | |
{ | |
font-size:16px; | |
line-height:1.25em; | |
margin-top:0.75em; | |
margin-bottom:0.75em | |
} | |
.md h5, | |
.md h6 | |
{ | |
font-size:14px; | |
line-height:1.4285714285714286em; | |
margin-top:0.8571428571428571em; | |
margin-bottom:0.5714285714285714em | |
} | |
.md .-blocks, | |
.md .-lists, | |
.md pre, | |
.md blockquote, | |
.md table, | |
.md p, | |
.md ul, | |
.md ol | |
{ | |
font-size:14px; | |
line-height:1.4285714285714286em; | |
margin-top:0.5714285714285714em; | |
margin-bottom:0.5714285714285714em | |
} | |
.md li | |
{ | |
font-size:14px; | |
line-height:1.4285714285714286em; | |
margin-top:0.14285714285714285em; | |
margin-bottom:0.14285714285714285em | |
} | |
.md | |
{ | |
font-size:14px; | |
line-height:1.4285714285714286em | |
} | |
.wiki-page-content .md h1 | |
{ | |
font-size:32px; | |
line-height:1.25em; | |
margin-top:1.25em; | |
margin-bottom:0.75em | |
} | |
.wiki-page-content .md h2 | |
{ | |
font-size:24px; | |
line-height:1.3333333333333333em; | |
margin-top:1.3333333333333333em; | |
margin-bottom:0.6666666666666666em | |
} | |
.wiki-page-content .md h3 | |
{ | |
font-size:20px; | |
line-height:1.2em; | |
margin-top:1.2em; | |
margin-bottom:0.6em | |
} | |
.wiki-page-content .md h4 | |
{ | |
font-size:18px; | |
line-height:1.3333333333333333em; | |
margin-top:1.3333333333333333em; | |
margin-bottom:0.6666666666666666em | |
} | |
.wiki-page-content .md h5 | |
{ | |
font-size:16px; | |
line-height:1.5em; | |
margin-top:1.5em; | |
margin-bottom:0.5em | |
} | |
.wiki-page-content .md h6 | |
{ | |
font-size:16px; | |
line-height:1.5em; | |
margin-top:1.5em; | |
margin-bottom:0.5em | |
} | |
.wiki-page-content .md .-blocks, | |
.wiki-page-content .md .-lists, | |
.wiki-page-content .md pre, | |
.wiki-page-content .md blockquote, | |
.wiki-page-content .md table, | |
.wiki-page-content .md p, | |
.wiki-page-content .md ul, | |
.wiki-page-content .md ol | |
{ | |
font-size:16px; | |
line-height:1.5em; | |
margin-top:0.5em; | |
margin-bottom:0.75em | |
} | |
.wiki-page-content .md li | |
{ | |
font-size:16px; | |
line-height:1.5em; | |
margin-top:0.25em; | |
margin-bottom:0.25em | |
} | |
.wiki-page-content .md | |
{ | |
font-size:16px; | |
line-height:1.5em | |
} | |
.side .md .-blocks, | |
.side .md .-lists, | |
.side .md pre, | |
.side .md blockquote, | |
.side .md table, | |
.side .md p, | |
.side .md ul, | |
.side .md ol | |
{ | |
font-size:12px; | |
line-height:1.3333333333333333em; | |
margin-top:1.3333333333333333em; | |
margin-bottom:0.6666666666666666em | |
} | |
.side .md | |
{ | |
font-size:12px; | |
line-height:1.3333333333333333em | |
} | |
.wiki-page-content .md h1, | |
.wiki-page-content .md h6 | |
{ | |
color:#808080; | |
font-weight:300 | |
} | |
.wiki-page-content .md h2 | |
{ | |
color:#336699 | |
} | |
.wiki-page-content .md h2, | |
.wiki-page-content .md h3 | |
{ | |
font-weight:600 | |
} | |
.wiki-page-content .md h4 | |
{ | |
font-style:italic | |
} | |
.wiki-page-content .md h5 | |
{ | |
text-decoration:underline | |
} | |
.wiki-page-content .md h4, | |
.wiki-page-content .md h5 | |
{ | |
font-weight:400 | |
} | |
.wiki-page-content .md h6 | |
{ | |
text-decoration:none; | |
text-transform:uppercase; | |
letter-spacing:1px; | |
font-size:14px; | |
line-height:1.1428571428571428em; | |
margin-top:1.7142857142857142em; | |
margin-bottom:0.5714285714285714em | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.md | |
{ | |
max-width:60em; | |
overflow:auto; | |
font-size:small | |
} | |
.md p, | |
.md h1 | |
{ | |
margin:5px 0 | |
} | |
.md h1 | |
{ | |
font-weight:normal; | |
font-size:100% | |
} | |
.md > | |
* | |
{ | |
margin-bottom:0px | |
} | |
.md strong | |
{ | |
font-weight:bold | |
} | |
.md em | |
{ | |
font-style:italic | |
} | |
.md strong em | |
{ | |
font-style:italic; | |
font-weight:bold | |
} | |
.md img | |
{ | |
display:none | |
} | |
.md ol, | |
.md ul | |
{ | |
margin:10px 2em | |
} | |
.md ul | |
{ | |
list-style:disc outside | |
} | |
.md ol | |
{ | |
list-style:decimal outside; | |
margin-left:3em | |
} | |
.md pre | |
{ | |
margin:10px | |
} | |
.md blockquote, | |
.help blockquote | |
{ | |
border-left:2px solid #369; | |
padding-left:4px; | |
margin:5px; | |
margin-right:15px | |
} | |
.md td, | |
.md th | |
{ | |
border:1px solid #EEE; | |
padding:1px 3px | |
} | |
.md th | |
{ | |
font-weight:bold | |
} | |
.md table | |
{ | |
margin:5px 10px | |
} | |
.md center | |
{ | |
text-align:left | |
} | |
.wiki-page .wiki-page-content .md | |
{ | |
word-wrap:break-word; | |
max-width:none | |
} | |
.wiki-page .wiki-page-content .md.wiki h1, | |
.wiki-page .wiki-page-content .md.wiki h2, | |
.wiki-page .wiki-page-content .md.wiki h3, | |
.wiki-page .wiki-page-content .md.wiki h4, | |
.wiki-page .wiki-page-content .md.wiki h5, | |
.wiki-page .wiki-page-content .md.wiki h6 | |
{ | |
font-weight:bold; | |
color:black; | |
margin-bottom:.25em; | |
margin-top:.5em | |
} | |
.wiki-page .wiki-page-content .md.wiki h1 | |
{ | |
margin-top:.75em; | |
font-size:2.4em | |
} | |
.wiki-page .wiki-page-content .md.wiki ul:first-child+h1 | |
{ | |
margin-top:0 | |
} | |
.wiki-page .wiki-page-content .md.wiki h2 | |
{ | |
margin-top:.75em; | |
font-size:1.8em | |
} | |
.wiki-page .wiki-page-content .md.wiki h3 | |
{ | |
font-size:1.6em | |
} | |
.wiki-page .wiki-page-content .md.wiki h4 | |
{ | |
font-size:1.4em; | |
color:#333 | |
} | |
.wiki-page .wiki-page-content .md.wiki h5 | |
{ | |
font-size:1.2em; | |
color:#444 | |
} | |
.wiki-page .wiki-page-content .md.wiki h6 | |
{ | |
font-size:1.05em; | |
color:#666 | |
} | |
.wiki-page .wiki-page-content .md.wiki img | |
{ | |
display:block | |
} | |
.wiki-page .wiki-page-content .md.wiki blockquote | |
{ | |
padding-left:1em | |
} | |
.wiki-page .wiki-page-content .md.wiki p, | |
.wiki-page .wiki-page-content .md.wiki .md.wiki blockquote | |
{ | |
margin:.75em 0 | |
} | |
.wiki-page .wiki-page-content .md.wiki > | |
.toc > | |
ul | |
{ | |
padding:10px 25px; | |
margin-right:0 | |
} | |
.wiki-page .wiki-page-content .md.wiki > | |
.toc > | |
ul ul | |
{ | |
padding-left:25px | |
} | |
.link .usertext .md | |
{ | |
padding:0 5px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment