/* CSS file for Yuekai's jemdoc customizations. */

@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab);

html{
	border-top: 0.25em solid #305080;
}

html, html a {
	-webkit-font-smoothing: antialiased;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  margin: 0 auto;
  padding: 0 0.5em 0.5em;
  width: 720px;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    color: #305080;
    letter-spacing: 1px;
    margin-top: 0.3em;
    padding-top: 0.2em;
    padding-bottom: 0.3em;
    border-bottom: none;
}

h1 {
  font-size: 1.5em;
  line-height: 1em;
  padding-top: 0.5em;
}

h2 {
  font-size: 1.25em;
  line-height: 1.2em;
}

h3 {
  font-size: 1em;
  line-height: 1.3333em;
}

#layout-content {
	padding-left: 0;
	padding-right: 0;
}

pre, tt {
	font-size: 100%;
}

a, a > tt {
	color: #305080;
}
a:hover {
	border-bottom: 1px #305080 dotted;
}

p.scholar-button {
  background: url('scholar.png') no-repeat left top;
  padding-left: 30px;
}

div#toptitle {
    padding-top: 0.3em;
	border-bottom: none;
    margin-bottom: 0.6em;
}

div#toptitle + h2, div#toptitle + h3 {
	margin-top: -0.75em;
}

div#footer {
	border-top: 1px solid #c0c0c0;
	color: #c0c0c0;
    margin-top: 1.5em;
}

p {
	margin-top: 0.0em;
	margin-bottom: 0.3em;
	font-size: 1em;
    line-height: 1.5em;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
    padding-left: 1.5em;
}

p + ul, p + ol {
	margin-top: 0;
}

li ul, li ol {
	margin-bottom: 0;
}

li p, dd p {
	margin-bottom: 0;
}

div.blocktitle {
	color: #203070;
}

div.blockcontent {
	border: 1px solid #c0c0c0;
}

.small-caps {
	font-variant: small-caps;
}

table.imgtable {
	width: 100%;
}

table.imgtable td.nostretch {
	width: 1px;
	white-space: nowrap;
}