Skip to content

Instantly share code, notes, and snippets.

@tillig
Created August 30, 2017 17:42
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 tillig/1f8b1b1996e156d219200a908db80b97 to your computer and use it in GitHub Desktop.
Save tillig/1f8b1b1996e156d219200a908db80b97 to your computer and use it in GitHub Desktop.
Simple Word CSS
<style type="text/css">
<!--
body
{
font-family: Calibri;
background-color: white;
color: black;
font-size: 11pt;
padding-left: 10pt;
padding-right: 10pt;
}
h1, h2, h3, h4, h5, h6
{
font-family: Cambria;
}
h1, h2, h3, h4
{
font-weight: bold;
}
h2, h3, h4
{
color: #4F81BD;
}
h3, h4, h5, h6
{
font-size: 11pt;
}
h4, h6
{
font-style: italic;
}
h5, h6
{
color: #17365D;
font-weight: normal;
}
h1
{
font-size: 14pt;
color: #365F91;
}
h2
{
font-size: 13pt;
}
h1.title
{
font-size: 26pt;
font-weight: normal;
color: #17365D;
border-bottom: 1px solid #4F81BD;
}
table
{
border-collapse: collapse;
border: 1px solid gray;
}
table thead th
{
padding: 2pt 4pt 2pt 4pt;
border-bottom: 1px solid gray;
}
table tbody td
{
padding: 2pt 4pt 2pt 4pt;
vertical-align: top;
border-bottom: 1px solid lightgray;
}
table tbody tr:last-child td
{
border-bottom: 1px solid gray;
}
div.callout
{
margin: 5pt 20pt 5pt 20pt;
padding-left: 5pt;
padding-right: 5pt;
border: 1px solid black;
background-color: lightgray;
}
.footnote
{
font-size: 8pt;
}
.footnote p
{
text-indent: -10pt;
padding-left: 10pt;
}
-->
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment