Skip to content

Instantly share code, notes, and snippets.

@monzou
Created November 16, 2011 12:14
Show Gist options
  • Save monzou/1369944 to your computer and use it in GitHub Desktop.
Save monzou/1369944 to your computer and use it in GitHub Desktop.
Nottingham Web Preview Template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{html-title}}</title>
<style>
@charset "UTF-8";
/* begin: This code block is released into public domain */
html, body, div, span, applet, object, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn,
em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%; }
article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
display: block; }
body {
line-height: 1; }
blockquote, q {
quotes: none; }
blockquote::before, blockquote::after, q::before, q::after {
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
address, caption, cite, code, dfn, em, strong, th, h1, h2, h3, h4, h5,
h6, input, select, textarea {
font-family: inherit;
font-style: inherit;
font-weight: inherit;
font-size: inherit; }
li {
list-style: none; }
caption, th {
text-align: left; }
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0; }
/* end */
body {
margin: 30px;
color: #082443;
background-color: #f7f7f7;
font: 14px/1.75 "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Pゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; }
a {
color: #3286e5;
text-decoration: none;
-moz-transition-duration: 0.22s;
-webkit-transition-duration: 0.22s;
-o-transition-duration: 0.22s;
transition-duration: 0.22s; }
a:hover {
background: #3286e5;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
padding: 4px;
color: #f7f7f7; }
em {
font-style: normal;
font-weight: bold; }
strong {
color: #051425;
font-weight: bold; }
code, samp, var {
font-family: "Menlo", "Andale Mono", monospace; }
abbr, acronym {
border-bottom: 1px dotted #082443;
cursor: help; }
q:before {
content: "¥201C¥0020"; }
q:after {
content: "¥0020¥201D"; }
ins {
border-bottom: 3px double #104987;
text-decoration: none; }
del {
text-decoration: line-through; }
img {
max-width: 100%;
vertical-align: text-bottom;
box-sizing: border-box; }
h1 {
margin: 28px 0;
font-size: 200%;
font-weight: bold; }
h2 {
margin: 28px 0;
font-size: 180%;
border-bottom: 1px dotted #082443;
pardding: 4px 0; }
h3 {
margin: 21px 0;
font-size: 160%; }
h4 {
margin: 21px 0;
font-size: 140%; }
h5 {
margin: 21px 0;
font-size: 120%; }
h6 {
margin: 21px 0;
font-size: 100%; }
p {
margin: 21px 0; }
pre {
margin: 28px 0;
padding: 14px;
line-height: 1.25;
background-color: #efefef;
font-family: "Menlo", "Andale Mono", monospace;
white-space: pre-wrap;
word-wrap: break-word; }
blockquote {
margin: 28px 35px; }
dl dt {
margin: 28px 0;
font-weight: bold; }
dl dd {
margin: 28px 0 28px 35px; }
ul, ol {
margin: 28px 0; }
ul ul, ul ol, ol ul, ol ol {
margin: 0; }
ul li, ol li {
margin-left: 35px;
list-style-type: inherit; }
table {
margin: 28px 0;
border-bottom: 1px solid #848484;
border-left: 1px solid #848484;
border-collapse: separate; }
table th {
padding: 7px;
border-top: 1px solid #848484;
border-right: 1px solid #848484;
color: #082443;
background-color: #d1d1d1;
font-weight: bold;
text-align: left; }
table td {
padding: 7px;
border-top: 1px solid #848484;
border-right: 1px solid #848484;
color: #082443;
background-color: #efefef; }
hr {
margin: 28px auto;
border-top: none;
border-right: none;
border-bottom: 3px double #ababab;
border-left: none;
width: 50%;
height: 0; }
</style>
</head>
<body>
{{note}}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment