Last active
December 17, 2021 08:58
-
-
Save asbjornenge/6435702 to your computer and use it in GitHub Desktop.
Markdown css
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
.markdown { | |
background-color: white; | |
padding: 20px; | |
max-width: 800px; | |
margin: auto; | |
} | |
.markdown a { | |
color: #4183C4 !important; } | |
.markdown a.absent { | |
color: #cc0000 !important; } | |
.markdown a.anchor { | |
display: block !important; | |
padding-left: 30px !important; | |
margin-left: -30px !important; | |
cursor: pointer !important; | |
position: absolute !important; | |
top: 0 !important; | |
left: 0 !important; | |
bottom: 0 !important; } | |
.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { | |
margin: 20px 0 10px !important; | |
padding: 0 !important; | |
font-weight: bold !important; | |
-webkit-font-smoothing: antialiased !important; | |
cursor: text !important; | |
position: relative !important; } | |
.markdown h1:hover a.anchor, .markdown h2:hover a.anchor, .markdown h3:hover a.anchor, .markdown h4:hover a.anchor, .markdown h5:hover a.anchor, .markdown h6:hover a.anchor { | |
background: url(data:image/png !important;base64, .markdowniVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA09pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoMTMuMCAyMDEyMDMwNS5tLjQxNSAyMDEyLzAzLzA1OjIxOjAwOjAwKSAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUM2NjlDQjI4ODBGMTFFMTg1ODlEODNERDJBRjUwQTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUM2NjlDQjM4ODBGMTFFMTg1ODlEODNERDJBRjUwQTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QzY2OUNCMDg4MEYxMUUxODU4OUQ4M0REMkFGNTBBNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QzY2OUNCMTg4MEYxMUUxODU4OUQ4M0REMkFGNTBBNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsQhXeAAAABfSURBVHjaYvz//z8DJYCRUgMYQAbAMBQIAvEqkBQWXI6sHqwHiwG70TTBxGaiWwjCTGgOUgJiF1J8wMRAIUA34B4Q76HUBelAfJYSA0CuMIEaRP8wGIkGMA54bgQIMACAmkXJi0hKJQAAAABJRU5ErkJggg==) no-repeat 10px center !important; | |
text-decoration: none !important; } | |
.markdown h1 tt, .markdown | |
.markdown h1 code { | |
font-size: inherit !important; } | |
.markdown h2 tt, .markdown h2 code { | |
font-size: inherit !important; } | |
.markdown h3 tt, .markdown h3 code { | |
font-size: inherit !important; } | |
.markdown h4 tt, .markdown h4 code { | |
font-size: inherit !important; } | |
.markdown h5 tt, .markdown h5 code { | |
font-size: inherit !important; } | |
.markdown h6 tt, .markdown h6 code { | |
font-size: inherit !important; } | |
.markdown h1 { | |
font-size: 28px !important; | |
color: black !important; } | |
.markdown h2 { | |
font-size: 24px !important; | |
border-bottom: 1px solid #cccccc !important; | |
color: black !important; } | |
.markdown h3 { | |
font-size: 18px !important; } | |
.markdown h4 { | |
font-size: 16px !important; } | |
.markdown h5 { | |
font-size: 14px !important; } | |
.markdown h6 { | |
color: #777777 !important; | |
font-size: 14px !important; } | |
.markdown p, .markdown blockquote, .markdown ul, .markdown ol, .markdown dl, .markdown li, .markdown table, .markdown pre { | |
margin: 15px 0 !important; } | |
.markdown hr { | |
background: transparent url(data:image/png !important;base64, .markdowniVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0 !important; | |
border: 0 none !important; | |
color: #cccccc !important; | |
height: 4px !important; | |
padding: 0 !important; | |
} | |
.markdown a:first-child h1, .markdown a:first-child h2, .markdown a:first-child h3, .markdown a:first-child h4, .markdown a:first-child h5, .markdown a:first-child h6 { | |
margin-top: 0 !important; | |
padding-top: 0 !important; } | |
.markdown h1 p, .markdown h2 p, .markdown h3 p, .markdown h4 p, .markdown h5 p, .markdown h6 p { | |
margin-top: 0 !important; } | |
.markdown li p.first { | |
display: inline-block !important; } | |
.markdown li { | |
margin: 0 !important; } | |
.markdown ul, .markdown ol { | |
padding-left: 30px !important; } | |
.markdown ul :first-child, .markdown ol :first-child { | |
margin-top: 0 !important; } | |
.markdown dl { | |
padding: 0 !important; } | |
.markdown dl dt { | |
font-size: 14px !important; | |
font-weight: bold !important; | |
font-style: italic !important; | |
padding: 0 !important; | |
margin: 15px 0 5px !important; } | |
.markdown dl dt:first-child { | |
padding: 0 !important; } | |
.markdown dl dt > :first-child { | |
margin-top: 0 !important; } | |
.markdown dl dt > :last-child { | |
margin-bottom: 0 !important; } | |
.markdown dl dd { | |
margin: 0 0 15px !important; | |
padding: 0 15px !important; } | |
.markdown dl dd > :first-child { | |
margin-top: 0 !important; } | |
.markdown dl dd > :last-child { | |
margin-bottom: 0 !important; } | |
.markdown blockquote { | |
border-left: 4px solid #dddddd !important; | |
padding: 0 15px !important; | |
color: #777777 !important; } | |
.markdown blockquote > :first-child { | |
margin-top: 0 !important; } | |
.markdown blockquote > :last-child { | |
margin-bottom: 0 !important; } | |
.markdown table { | |
padding: 0 !important;border-collapse: collapse !important; } | |
.markdown table tr { | |
border-top: 1px solid #cccccc !important; | |
background-color: white !important; | |
margin: 0 !important; | |
padding: 0 !important; } | |
.markdown table tr:nth-child(2n) { | |
background-color: #f8f8f8 !important; } | |
.markdown table tr th { | |
font-weight: bold !important; | |
border: 1px solid #cccccc !important; | |
text-align: left !important; | |
margin: 0 !important; | |
padding: 6px 13px !important; } | |
.markdown table tr td { | |
border: 1px solid #cccccc !important; | |
text-align: left !important; | |
margin: 0 !important; | |
padding: 6px 13px !important; } | |
.markdown table tr th :first-child, .markdown table tr td :first-child { | |
margin-top: 0 !important; } | |
.markdown table tr th :last-child, .markdown table tr td :last-child { | |
margin-bottom: 0 !important; } | |
.markdown img { | |
max-width: 100% !important; } | |
.markdown span.frame { | |
display: block !important; | |
overflow: hidden !important; } | |
.markdown span.frame > span { | |
border: 1px solid #dddddd !important; | |
display: block !important; | |
float: left !important; | |
overflow: hidden !important; | |
margin: 13px 0 0 !important; | |
padding: 7px !important; | |
width: auto !important; } | |
.markdown span.frame span img { | |
display: block !important; | |
float: left !important; } | |
.markdown span.frame span span { | |
clear: both !important; | |
color: #333333 !important; | |
display: block !important; | |
padding: 5px 0 0 !important; } | |
.markdown span.align-center { | |
display: block !important; | |
overflow: hidden !important; | |
clear: both !important; } | |
.markdown span.align-center > span { | |
display: block !important; | |
overflow: hidden !important; | |
margin: 13px auto 0 !important; | |
text-align: center !important; } | |
.markdown span.align-center span img { | |
margin: 0 auto !important; | |
text-align: center !important; } | |
.markdown span.align-right { | |
display: block !important; | |
overflow: hidden !important; | |
clear: both !important; } | |
.markdown span.align-right > span { | |
display: block !important; | |
overflow: hidden !important; | |
margin: 13px 0 0 !important; | |
text-align: right !important; } | |
.markdown span.align-right span img { | |
margin: 0 !important; | |
text-align: right !important; } | |
.markdown span.float-left { | |
display: block !important; | |
margin-right: 13px !important; | |
overflow: hidden !important; | |
float: left !important; } | |
.markdown span.float-left span { | |
margin: 13px 0 0 !important; } | |
.markdown span.float-right { | |
display: block !important; | |
margin-left: 13px !important; | |
overflow: hidden !important; | |
float: right !important; } | |
.markdown span.float-right > span { | |
display: block !important; | |
overflow: hidden !important; | |
margin: 13px auto 0 !important; | |
text-align: right !important; } | |
.markdown code, .markdown tt { | |
margin: 0 2px !important; | |
padding: 0 5px !important; | |
white-space: nowrap !important; | |
border: 1px solid #eaeaea !important; | |
background-color: #f8f8f8 !important; | |
border-radius: 3px !important; } | |
.markdown pre code { | |
margin: 0 !important; | |
padding: 0 !important; | |
white-space: pre !important; | |
border: none !important; | |
background: transparent !important; } | |
.markdown .highlight pre { | |
background-color: #f8f8f8 !important; | |
border: 1px solid #cccccc !important; | |
font-size: 13px !important; | |
line-height: 19px !important; | |
overflow: auto !important; | |
padding: 6px 10px !important; | |
border-radius: 3px !important; } | |
.markdown pre { | |
background-color: #f8f8f8 !important; | |
border: 1px solid #cccccc !important; | |
font-size: 13px !important; | |
line-height: 19px !important; | |
overflow: auto !important; | |
padding: 6px 10px !important; | |
border-radius: 3px !important; } | |
pre code, .markdown pre tt { | |
background-color: transparent !important; | |
border: none !important; } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment