Skip to content

Instantly share code, notes, and snippets.

@iansoper
Created December 9, 2010 20:27
Show Gist options
  • Save iansoper/735280 to your computer and use it in GitHub Desktop.
Save iansoper/735280 to your computer and use it in GitHub Desktop.
Custom HTML Template for Notational Velocity Alt
* {
text-rendering: optimizeLegibility;
}
body {
background: rgb(240,240,240);
/* background: rgba(255, 248, 237, 1);*/
padding: 1em;
/* width: auto;*/
}
body,p,td,div {
font-family: "Helvetica Neue", Helvetica,Arial,sans-serif;
line-height: 1.4em;
font-size: 13px;
color: #333;
}
p {
margin: 0 0 1.7em 0;
}
a {
color: rgba(46, 132, 217, 1);
text-decoration: none;
}
a:hover {
color: rgba(32, 93, 153, 1);
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
h1 {
font-size: 26px;
color: #000;
margin: 2em 0 1em 0;
border-bottom: 1px solid #aaa;
padding-bottom: 6px;
}
h2 {
font-size: 20px;
color: #111;
width: auto;
margin: 15px 0 10px 2px;
}
h2 em {
line-height: 1.6em;
font-size: 12px;
color: #111;
text-shadow: 0 1px 0 #FFF;
padding-left: 10px;
}
h3 {
font-size: 16px;
color: #111;
}
h4 {
font-size: 14px;
color: #111;
margin-bottom: 1.3em;
}
.alignleft {
text-align: left;
}
.alignright {
text-align: right;
}
table {
border-spacing: 0;
border-collapse: collapse;
margin: 0 0 1em 0;
border: 1px solid #ddd;
}
thead {
border: 0;
border-bottom: 1px solid #333;
-moz-border-radius: 6px 6px 0 0; /* FF1+ */
-webkit-border-radius: 6px 6px 0 0; /* Saf3+, Chrome */
border-radius: 6px 6px 0 0; /* Opera 10.5, IE 9 */
background: #ddd;
}
th {
padding: 6px;
border-spacing: 0;
border: 0;
border-bottom: 1px solid #333;
}
td {
padding: 6px;
border-spacing: 0;
border: 1px solid #ddd;
}
.footnote {
font-size: .8em;
vertical-align: super;
color: rgb(13,110,161);
}
<!DOCTYPE html>
<html>
<head>
<meta name="Format" content="complete" />
<meta name="format" content="complete" />
<style type="text/css">{%style%}</style>
</head>
<body>
{%content%}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment