@import "pygmentize-vim.css";

img[src^="/image/"] {
	background: black;
}

a[href^="/gollum/history/"] {
	display: none;
}

a[href="/gollum/overview"] {
	display: none;
}

a[href="/gollum/latest_changes"] {
	display: none;
}

a[id="page-info-toggle"] {
	display: none;
}

input[id="search-query"] {
	display: none;
}

button[id="minibutton-overview"] {
	display: none;
}

button[id="minibutton-latest-changes"] {
	display: none;
}

button[id="minibutton-history"] {
	display: none;
}

body, html,
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6,
.history h1 strong,
.edit h1 strong,
.results h1 strong,
.compare h1 strong,
.highlight,
#gollum-editor textarea,
#wiki-history table tr td.author a {
	color: white;
	background-color: black;
}

.markdown-body pre {
	background-color: #202020;
}

.minibutton a,
#search-submit,
#gollum-editor #gollum-editor-function-bar a.function-button,
#gollum-editor input#gollum-editor-submit,
#gollum-editor #gollum-editor-preview {
	background-color: #4b4b4b;
	border-color: #9e9e9e;
	color: #fbfbfb;

	text-shadow: 0 1px 0 black;

	filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#707070', endColorstr='#575757');
	background: -webkit-gradient(linear, left top, left bottom, from(#707070, to(#575757)));
	background: -moz-linear-gradient(top, #707070, #575757);
}

#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector select {
	background-color: #4b4b4b;
	border-color: #9e9e9e;
	color: #fbfbfb;
}

#head #searchbar #searchbar-fauxtext input#search-query,
#gollum-editor .singleline input,
#head #searchbar #searchbar-fauxtext {
	background: black;
	border-color: #9e9e9e;
	color: white;
}

#head #searchbar #searchbar-fauxtext input#search-query.ph,
#gollum-editor .singleline input.ph,
#wiki-history table tr td.commit-name span.time-elapsed,
#footer p#last-edit,
#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector label,
.history h1 {
	color: #d7d7d7;
}

#head #searchbar #searchbar-fauxtext #search-submit span {
	background-position: -431px -28px;
}

#head #searchbar #searchbar-fauxtext #search-submit:hover span {
  background-position: -431px -3px;
  padding: 0;
}

.markdown-body code,
.markdown-body tt {
	border: 1px solid #909090;
	background-color: #202020;
}

#wiki-history table tr {
	/*background-color: #ebf2f6;*/
	/*background-color: #725e4f;*/
	background-color: #5f6362;
}

#wiki-history table tr:nth-child(2n),
#wiki-history table tr.alt-row {
	/*background-color: #f3f7fa;*/
	/*background-color: #5b4b3b;*/
	background-color: #4b4c4d;
}

#wiki-history table tr.selected {
	background-color: #000075 !important;
}

a:link,
a:hover,
a:visited {
	color: #68caff;
}

.highlight .err,
.highlight .gd,
.highlight .gd .x,
.highlight .gi,
.highlight .gi .x,
.highlight .gc {
	background-color: black;
}

.compare .data td.line_numbers {
	background: #4b4b4b;
	border-color: #d7d7d7;
	color: #d7d7d7;
}

.compare .data {
	border-color: #909090;
}

@media all and (min-width: 940px) {
	#gollum-editor {
		border: 1px solid #828282;
		background: #414141;
	}
}

@media all and (min-width: 940px) {
	a#function-bold:hover span { background-position: 0 0; }
	a#function-italic:hover span { background-position: -27px 0; }
	a#function-underline:hover span { background-position: -54px 0; }
	a#function-code:hover span { background-position: -82px 0; }
	a#function-ul:hover span { background-position: -109px 0; }
	a#function-ol:hover span { background-position: -136px 0; }
	a#function-blockquote:hover span { background-position: -163px 0; }
	a#function-hr:hover span { background-position: -190px 0; }
	a#function-h1:hover span { background-position: -217px 0; }
	a#function-h2:hover span { background-position: -244px 0; }
	a#function-h3:hover span { background-position: -271px 0; }
	a#function-link:hover span { background-position: -298px 0; }
	a#function-image:hover span { background-position: -324px 0; }
	a#function-help:hover span { background-position: -405px 0; }

	a#function-bold span { background-position: 0 -28px; }
	a#function-italic span { background-position: -27px -28px; }
	a#function-underline span { background-position: -54px -28px; }
	a#function-code span { background-position: -82px -28px; }
	a#function-ul span { background-position: -109px -28px; }
	a#function-ol span { background-position: -136px -28px; }
	a#function-blockquote span { background-position: -163px -28px; }
	a#function-hr span { background-position: -190px -28px; }
	a#function-h1 span { background-position: -217px -28px; }
	a#function-h2 span { background-position: -244px -28px; }
	a#function-h3 span { background-position: -271px -28px; }
	a#function-link span { background-position: -298px -28px; }
	a#function-image span { background-position: -324px -28px; }
	a#function-help span { background-position: -405px -28px; }
}

/* Don't let pygmentize's definitions mess up MathJax */
.MathJax * {
	color: white !important;
}
