Skip to content

Instantly share code, notes, and snippets.

@aaguilera
Forked from elclanrs/retext.css
Created September 13, 2021 10:25
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 aaguilera/191f236cc86caf8a8f592bb52cfd8911 to your computer and use it in GitHub Desktop.
Save aaguilera/191f236cc86caf8a8f592bb52cfd8911 to your computer and use it in GitHub Desktop.
Markdown theme for ReText
body {
color: #333;
font: normal 16px/1.3 Arial, sans-serif;
max-width: 6.5in;
margin: 0 auto;
}
a:link, a:visited {
color: #1B70D1;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1,h2,h3,h4 {
font-family: Source Sans Pro, sans-serif;
padding: 0;
margin: .8em 0;
line-height: 1.2;
}
h2 {
margin-bottom: .5em;
}
h3 {
padding: .5em 0 0 0;
font-size: 14px;
text-transform: uppercase;
letter-spacing: .1em;
}
h2 + h3 {
padding-top: 0;
}
pre, code {
font: normal 16px/1.35 Inconsolata;
color: #022054;
background: #F0F5FA;
}
pre {
padding: 1em;
}
code {
text-indent: 0;
display: inline-block;
padding: .1em .25em;
}
blockquote {
margin: 15px 0;
font-style: italic;
border-left: 4px solid #F0F5FA;
}
ul {
list-style: none;
padding-left: 1em;
}
ul ul {
margin: .25em 0 .75em 0;
padding-left: .5em;
}
ul li {
margin: .5em 0;
padding-left: 16px;
background: url(http://www.websitebullets.com/bullet/402/1.gif) 0 .2em no-repeat;
}
ul li li {
margin: .25em 0;
}
p {
text-indent: 1.5em;
margin: 0 0 .5em 0;
}
p:first-child,
h2 + p,
h3 + p,
h4 + p,
pre + p,
blockquote + p {
text-indent: 0;
}
table {
width: 100%;
margin: 1em 0;
border-width: 1px;
border-color: #666666;
border-collapse: collapse;
font-size: inherit;
}
table th {
border-width: 1px;
padding: 8px 12px;
color: #666;
border-style: solid;
border-color: #999;
background-color: #F0F5FA;
font-family: Source Sans Pro, sans-serif;
font-size: 14px;
text-transform: uppercase;
letter-spacing: .1em;
}
table td {
border-width: 0 1px 0 1px;
padding: 8px 12px;
border-style: solid;
border-color: #999;
background-color: #ffffff;
}
table tr:nth-child(even) td {
background-color: #eee;
}
table tr:last-child td {
border-width: 0 1px 1px 1px;
}
table.last td:last-child {
text-align: right;
}
img {
display: block;
margin-top: 30px;
}
.break {
page-break-before: always;
}
@media print {
body {
font-size: 150%;
}
h3 {
font-size: 75%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment