/* gotweb.css — rsap.sh, minimal */

html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body {
	font-family: serif;
	max-width: 700px;
	margin: 0 auto;
}

h1, h2 {
	margin-bottom: .2em;
}

h2 {
	margin-top: 1.5em;
}

nav {
	margin-top: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #00e;
}
a:visited {
	color: #551a8b;
}

pre {
	overflow-x: auto;
}

footer img {
	height: 40px !important;
	width: auto !important;
	max-width: none !important;
}

/* strip gotwebd's colored bars/gradients */
#header { background: none; margin: 0; padding: 0; }
#site_path, #site_owner_wrapper, .navs_wrapper, #index_header,
#summary_wrapper, header.subtitle, .page_header_wrapper, #np_wrapper {
	background: none;
	color: #000;
	width: auto;
}
#site_link { padding: 0; }
header.subtitle h2 { margin: 0; padding: .2em 0; font-size: 1.1em; font-weight: normal; }

/* diffs */
.diff_minus { color: #a00; }
.diff_plus { color: #060; }
.diff_chunk_header { color: #444; }

/* let wide content scroll */
#diff, #blame, #blob, #tree, #tag_commit { overflow: auto; }

/* phone view */
@media (max-width: 600px) {
	body {
		max-width: 100%;
		padding-left: 5%;
		padding-right: 5%;
	}
	table {
		width: 100% !important;
		max-width: 100% !important;
	}
	table td {
		display: block;
		width: 100% !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
}
