/* Copyright (C) Duncan Macleod (2014-2020)
 *
 * This file is part of GWpy.
 *
 * GWpy is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * GWpy is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GWpy.  If not, see <http://www.gnu.org/licenses/>.
 */

/*
 * This file contains sphinx-specific extensions to the core GWpy CSS
 */

/* remove top-margin from h1 */
.md-typeset h1 {
		margin: 0;
}

/* insert top padding for captions in left bar */
.caption {
		padding: 1em 0 .1em 0;
}

/* formatting for classes and functions */
.sig {
		font-family: "Roboto Mono", "Courier New", Courier, monospace;
}
.sig-name,
.sig-prename {
		font-weight: bold;
}
.sig-param {
		font-style: normal;
}
.field-list p {
		margin: 1em 0 0;
}
.field-list p strong {
		font-family: "Roboto Mono", "Courier New", Courier, monospace;
}
.field-list blockquote {
		margin: 0;
		border-left: 0;
}
dl.field-list > dt {
		padding-left: 0;
}
.md-typeset blockquote {
		padding-left: 1em;
}
dl .attribute,
dl .method {
		border-top: 1px solid #ecf0f1;
		padding-top: 1em;
}

/* formatting for tables */
.longtable tr,
.longtable tr:first-child {
		border: solid;
		border-width: 1px 0;
		border-color: #ecf0f1;
}
.longtable tr td {
		padding: 8px;
}
.longtable tr td:first-child {
		width: auto;
}

/* formatting for code blocks */
.literal-block-wrapper.container {
		margin: 1em 0;
		padding-left: 0;
		padding-right: 0;
}
.literal-block-wrapper .highlight {
		margin: 0;
}
.code-block-caption {
		font-size: .64rem;
		text-align: -webkit-center;
}
