/* vim: set ts=2 sts=2 sw=2 noet: */

body {
	padding-top: 50px;
}

.site-header {
	text-align: center;
}

.site-nav {
	font-family: monospace;
}

/* Keep long-form pages at a readable line length */
.prose {
	max-width: 70ch;
	margin: 0 auto;
}

/* Override bootstrap link color to be a little darker */
a {color: #004499;}

/* Override bootstrap font sizes to be less dramatic for classes */
.h1, h1 {font-size: 1.75rem;}
.h2, h2 {font-size: 1.50rem;}
.h3, h3 {font-size: 1.25rem;}
.h4, h4 {font-size: 1.15rem;}
.h5, h5 {font-size: 1.08rem;}

/* Grey-indent blockquotes */
blockquote {
	background: #f9f9f9;
	border-left: 10px solid #ccc;
	margin: 1.5em 10px;
	padding: 0.5em 10px;
}

/* Don't let img's overflow layout space */
img {
	max-width: 100%;
	height: auto;
}

/* Make video thumbnails look nice */
img.thumbnail {
	border-style: solid;
}

/* Have a non-comment way to keep stuff around */
.prep {
	display: none;
}

.grade-table {
	border-collapse: initial;
	padding: 10px;
	border: 1px solid;
	width: 100%;
	text-align: center;
	margin-bottom: 0;
}

/* Replacement for the obsolete <tt> element */
.tt {
	font-family: monospace;
}

/* Deadlines (agenda and project pages) */
.due {
	color: red;
	font-weight: bolder;
}

/* Per-week project pages: prev / Agenda / next links */
.project-nav {
	display: flex;
	justify-content: space-between;
	gap: 0.75em;
	margin: 1em 0;
}
/* Equal-width slots keep "Agenda" centered when week 1/11 lack prev/next */
.project-nav > * {
	flex: 1;
}
.project-nav > :nth-child(2) {
	flex: none;
	text-align: center;
}
.project-nav > :last-child {
	text-align: right;
}
.project-nav-top {
	font-size: 0.875rem;
}
.project-nav-top a {
	color: #6c757d;
}

/* Per-week project pages: title block */
.project-kicker {
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6c757d;
}
.project-title {
	margin-bottom: 0.25rem;
}
.project-dates {
	color: #555;
}
.project-dates .due {
	white-space: nowrap;
}

/* Per-week project pages: "at a glance" summary box */
.project-summary {
	margin-bottom: 2rem;
	background-color: #f9f9f9;
}
/* The columns supply the side padding, so the card body only pads top/bottom */
.project-summary .card-body {
	margin: 0;
	padding: 1.25rem 0 0.25rem;
}
.summary-heading {
	font-size: 1.08rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #ccc;
}
.summary-label {
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	font-weight: bold;
	color: #555;
}
.project-summary ul {
	padding-left: 1.25rem;
}

/* Per-week project pages: section links under the summary */
.project-toc {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #6c757d;
}

/* ISA scope page: a header row starts each week / level */
.isa-scope .isa-division th {
	padding-top: 1.25rem;
	border-top: 2px solid #999;
	background-color: #f9f9f9;
}
