Skip to content

Instantly share code, notes, and snippets.

@ziishaned
Created November 5, 2019 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ziishaned/22e63dd17cf5fbc6b05ad9c8c420205c to your computer and use it in GitHub Desktop.
Save ziishaned/22e63dd17cf5fbc6b05ad9c8c420205c to your computer and use it in GitHub Desktop.
Intellij Markdown Github css
body {
font-family: "Operator Mono" !important;
font-size: 16px !important;
line-height: 1.5 !important;
}
h1 {
font-size: 2em !important;
margin: .67em 0 !important;
}
h1,
h2 {
font-weight: 600 !important;
}
h2 {
font-size: 24px !important;
}
hr {
box-sizing: content-box !important;
height: 0 !important;
overflow: visible !important;
}
a {
color: #0366d6 !important;
text-decoration: none !important;
}
a:hover {
text-decoration: none !important;
}
strong {
font-weight: 600 !important;
}
hr {
background: transparent !important;
border: 0 !important;
border-bottom: 1px solid #dfe2e5 !important;
height: 0 !important;
margin: 15px 0 !important;
overflow: hidden !important;
}
details {
display: block !important;
}
summary {
display: list-item !important;
}
a {
background-color: transparent !important;
}
a:active,
a:hover {
outline-width: 0 !important;
}
strong {
font-weight: inherit !important;
font-weight: bolder !important;
}
h1 {
font-size: 2em !important;
margin: .67em 0 !important;
}
img {
border-style: none !important;
}
code,
kbd,
pre {
font-family: monospace,monospace !important;
font-size: 1em !important;
}
hr {
box-sizing: content-box !important;
height: 0 !important;
overflow: visible !important;
}
input {
font: inherit !important;
margin: 0 !important;
}
input {
overflow: visible !important;
}
[type=checkbox] {
box-sizing: border-box !important;
padding: 0 !important;
}
* {
box-sizing: border-box !important;
}
input {
font-family: inherit !important;
font-size: inherit !important;
line-height: inherit !important;
}
a {
color: #0366d6 !important;
text-decoration: none !important;
}
a:hover {
text-decoration: underline !important;
}
strong {
font-weight: 600 !important;
}
hr {
background: transparent !important;
border: 0 !important;
border-bottom: 1px solid #dfe2e5 !important;
height: 0 !important;
margin: 15px 0 !important;
overflow: hidden !important;
}
hr:before {
content: "" !important;
display: table !important;
}
hr:after {
clear: both !important;
content: "" !important;
display: table !important;
}
table {
border-collapse: collapse !important;
border-spacing: 0 !important;
}
td,
th {
padding: 0 !important;
}
details summary {
cursor: pointer !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0 !important;
margin-top: 0 !important;
}
h1 {
font-size: 32px !important;
}
h1,
h2 {
font-weight: 600 !important;
}
h2 {
font-size: 24px !important;
}
h3 {
font-size: 20px !important;
}
h3,
h4 {
font-weight: 600 !important;
}
h4 {
font-size: 16px !important;
}
h5 {
font-size: 14px !important;
}
h5,
h6 {
font-weight: 600 !important;
}
h6 {
font-size: 12px !important;
}
p {
margin-bottom: 10px !important;
margin-top: 0 !important;
}
blockquote {
margin: 0 !important;
}
ol,
ul {
margin-bottom: 0 !important;
margin-top: 0 !important;
padding-left: 0 !important;
}
ol ol,
ul ol {
list-style-type: lower-roman !important;
}
ol ol ol,
ol ul ol,
ul ol ol,
ul ul ol {
list-style-type: lower-alpha !important;
}
dd {
margin-left: 0 !important;
}
code,
pre {
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace !important;
font-size: 12px !important;
}
pre {
margin-bottom: 0 !important;
margin-top: 0 !important;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
-webkit-appearance: none !important;
appearance: none !important;
margin: 0 !important;
}
blockquote,
dl,
ol,
p,
pre,
table,
ul {
margin-bottom: 16px !important;
margin-top: 0 !important;
}
hr {
background-color: #e1e4e8 !important;
border: 0 !important;
height: .25em !important;
margin: 24px 0 !important;
padding: 0 !important;
}
blockquote {
border-left: .25em solid #dfe2e5 !important;
color: #fff !important;
padding: 0 1em !important;
}
blockquote>:first-child {
margin-top: 0 !important;
}
blockquote>:last-child {
margin-bottom: 0 !important;
}
kbd {
background-color: #fafbfc !important;
border: 1px solid #c6cbd1 !important;
border-bottom-color: #959da5 !important;
border-radius: 3px !important;
box-shadow: inset 0 -1px 0 #959da5 !important;
color: #444d56 !important;
display: inline-block !important;
font-size: 11px !important;
line-height: 10px !important;
padding: 3px 5px !important;
vertical-align: middle !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600 !important;
line-height: 1.25 !important;
margin-bottom: 16px !important;
margin-top: 24px !important;
}
h1 {
font-size: 2em !important;
}
h1,
h2 {
border-bottom: 1px solid #eaecef !important;
padding-bottom: .3em !important;
}
h2 {
font-size: 1.5em !important;
}
h3 {
font-size: 1.25em !important;
}
h4 {
font-size: 1em !important;
}
h5 {
font-size: .875em !important;
}
h6 {
color: #6a737d !important;
font-size: .85em !important;
}
ol,
ul {
padding-left: 2em !important;
}
ol ol,
ol ul,
ul ol,
ul ul {
margin-bottom: 0 !important;
margin-top: 0 !important;
}
li {
word-wrap: break-all !important;
}
li>p {
margin-top: 16px !important;
}
li+li {
margin-top: .25em !important;
}
dl {
padding: 0 !important;
}
dl dt {
font-size: 1em !important;
font-style: italic !important;
font-weight: 600 !important;
margin-top: 16px !important;
padding: 0 !important;
}
dl dd {
margin-bottom: 16px !important;
padding: 0 16px !important;
}
table {
display: block !important;
overflow: auto !important;
width: 100% !important;
}
table th {
font-weight: 600 !important;
}
table td,
table th {
border: 1px solid #dfe2e5 !important;
padding: 6px 13px !important;
}
table tr {
background-color: #fff !important;
border-top: 1px solid #c6cbd1 !important;
}
table tr:nth-child(2n) {
background-color: #f6f8fa !important;
}
img {
background-color: #fff !important;
box-sizing: content-box !important;
max-width: 100% !important;
}
img[align=right] {
padding-left: 20px !important;
}
img[align=left] {
padding-right: 20px !important;
}
code {
color: #fff !important;
background-color: #ffffff20 !important;
border-radius: 3px !important;
font-size: 85% !important;
margin: 0 !important;
padding: .2em .05em !important;
}
pre {
word-wrap: normal !important;
}
pre>code {
background: transparent !important;
border: 0 !important;
font-size: 100% !important;
margin: 0 !important;
padding: 0 !important;
white-space: pre !important;
word-break: normal !important;
}
.highlight {
margin-bottom: 16px !important;
}
.highlight pre {
margin-bottom: 0 !important;
word-break: normal !important;
}
.highlight pre,
pre {
color: #fff !important;
background-color: #ffffff20 !important;
border-radius: 3px !important;
font-size: 85% !important;
line-height: 1.45 !important;
overflow: auto !important;
padding: 16px !important;
}
pre code {
background-color: transparent !important;
border: 0 !important;
display: inline !important;
line-height: inherit !important;
margin: 0 !important;
max-width: auto !important;
overflow: visible !important;
padding: 0 !important;
word-wrap: normal !important;
}
kbd {
background-color: #fafbfc !important;
border: 1px solid #d1d5da !important;
border-bottom-color: #c6cbd1 !important;
border-radius: 3px !important;
box-shadow: inset 0 -1px 0 #c6cbd1 !important;
color: #444d56 !important;
display: inline-block !important;
font: 11px SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace !important;
line-height: 10px !important;
padding: 3px 5px !important;
vertical-align: middle !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment