/*
 * site-theme.css: rnbqkbnr.com's own values. Loaded AFTER shioh-style.css, which stays an unchanged
 * copy of the Shioh base (updating the look = replacing that file).
 */

:root {
	/* A palette taken from the chess board (wood, felt, slate, brass). */
	--ss-p1: #d8c3a5; /* light-square tan */
	--ss-p2: #b7c9a5; /* sage felt */
	--ss-p3: #aab8cc; /* slate */
	--ss-p4: #d6a49a; /* rose */
	--ss-p5: #d9c07a; /* brass */
	--ss-accent: #5c3317; /* dark walnut */
	--ss-red: #7a1f12;
	--ss-link: #4a2410;

	/* The site's chess-piece tile (built with make-pattern.mjs). */
	--ss-pattern: url('/pattern.svg');
	--ss-pattern-size: 240px 48px;
}

/* The diagonal band pattern only on a card's main title (and the logo band at the top of the
   nav card); section headings inside a card are plain. */
.ss-section { background: var(--ss-band); }

/* The logo image (logo.png, 688x117, about twice its shown size): centred on the sidebar's band, and a
   slim one in the phone bar and in the autostereogram page's header bar. */
.ss-logo img { display: block; margin: 0 auto; max-width: 215px; }
.mg-bar .ss-logo img { width: auto; height: 26px; max-width: none; }
@media (max-width: 860px) {
	.ss-navcell .ss-logo img { width: auto; height: 26px; max-width: none; margin: 0; }
	.mg-bar .ss-logo img { height: 20px; }
}
