Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
/* RESET
=============================================================================*/
html, body, div, span, applet, object, iframe,
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%;
	font: inherit;
	vertical-align: baseline;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* BODY
=============================================================================*/
body {
  font-family: Vollkorn, serif;
  font-size: 16px;
  background-color: #fff;
  margin: 0 auto;
  max-width: 960px;
  line-height: 1.6;
  color: #454545;
  padding: 0 1em
}

body>*:first-child {
  margin-top: 0 !important;
}

body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/
p, blockquote, ul, ol, dl, table, pre {
  margin: 1em 0;
}

/* HEADERS
=============================================================================*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 1em 0 .5em;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code,
h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: .5em;
}

/* LINKS
=============================================================================*/
a {
  color: #0077aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* BULLET LISTS
=============================================================================*/
ul, ol {
  display: block;
  list-style: disc outside none;
  margin: 1em 0;
  padding: 0 0 0 2em;
}

ol {
 list-style-type: decimal;
}

ul ul, ol ul,
ol ol, ul ol {
 list-style-position: inside;
 margin-left: 1em;
}

ul ul, ol ul {
 list-style-type: circle;
}

ol ol, ul ol {
 list-style-type: lower-latin;
}

/* DEFINITION LISTS
=============================================================================*/
dl {
  /** Horizontal scroll bar from appears if set to 100%. */
  width: 99%;
  overflow: hidden;
  padding-left: 1em;
}

dl dt {
  font-weight: bold;
  float: left;
  width: 20%;
  clear: both;
  position: relative;
}

dl dd {
  float: right;
  width: 79%;
  padding-bottom: .5em;
  margin-left: 0;
}

dl dd {
  *float: none;
  *width: auto;
  *margin-left: 20%;
}

/* CODE
=============================================================================*/
pre, code, tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
  white-space: nowrap;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  background-color: #f8f8f8;
  border: .125em solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: .25em .5em;
  border-radius: .25em;
}

pre code, pre tt {
  background-color: transparent;
  border: none;
}

kbd {
  background-color: #ccc;
  background-image: linear-gradient(#F1F1F1, #DDDDDD);
  background-repeat: repeat-x;
  border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
  border-image: none;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  line-height: 10px;
  padding: 1px 4px;
}

/* QUOTES
=============================================================================*/
blockquote {
  border-left: .25em solid #ccc;
  padding: 0 1em;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/
hr {
  clear: both;
  margin: 1.5em 0 1.5em;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: .125em solid #ccc;
}

/* TABLES
=============================================================================*/
table {
  width: 100%;
}

tr:nth-child(odd) {
  background-color: #eee;
}

th {
  background-color: #454545;
  color: #fff;
}

th, td {
  text-align: left;
  padding: 0 1em;
}

/* IMAGES
=============================================================================*/
img {
  max-width: 100%;
}