Skip to content

Instantly share code, notes, and snippets.

@jananiravi
Created November 7, 2018 19:45
Show Gist options
  • Save jananiravi/c89f81d709032a9a9d4e3a0fb1fa5162 to your computer and use it in GitHub Desktop.
Save jananiravi/c89f81d709032a9a9d4e3a0fb1fa5162 to your computer and use it in GitHub Desktop.
css customization for radix rmarkdown template
<style type="text/css">
body{ /* Normal */
font-size: 12px;
font-family: "Helvetica Neue", Helvetica, sans;
}
td { /* Table */
font-size: 8px;
font-family: "Helvetica Neue", Helvetica, sans;
}
h1.title {
font-size: 30px; color: DarkRed;
font-family: "Helvetica Neue", Helvetica, sans;
}
h1 { /* Header 1 */
font-size: 20px; color: Black;
font-family: "Helvetica Neue", Helvetica, sans;
}
h2 { /* Header 2 */
font-size: 13px; <!-- color: DarkRed; -->
font-family: "Helvetica Neue", Helvetica, sans;
}
h3 { /* Header 3 */
font-size: 13px; <!-- color: DarkBlue; -->
font-family: "Helvetica Neue", Helvetica, sans;
}
h4 { /* Header 4 */
font-size: 12px; <!-- color: DarkBlue; -->
font-family: "Helvetica Neue", Helvetica, sans;
}
code.r { /* Code block */
font-size: 12px; color: DarkRed;
}
code { /* Code block */
font-size: 12px; color: Blue;
}
.custom-inline {
color: red;
font-weight: 700
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment