<?php
error_reporting(E_ALL);
header("Content-Type: text/css"); ?>
/* Comments work, -- David,
 $Id: site.css.php,v 1.9 2015/05/12 01:30:02 david Exp $
:set filetype=css
:set filetype=php
for css or php color scheam in vim
*/
<?php
 /*
 scheme
 0 white body background blue table data background
 1 white and blue switched from 0
 */
$scheme = 1;

$colors=array( 'lightblue' => '#d0edff', 'mediumblue' => '#2255aa',
	'lightyellow' => '#f2e8d0', 'hotpink' => '#ff00ff',
	'lightgray' => '#d3d3d3');

switch($scheme)
{
case 0:
	echo("BODY { background-color: white; }\n");
	break;
case 1:
	echo("BODY { background-color: " . $colors['lightblue'] . "; }\n");
	break;
}
?>
TABLE.pictures {background-image: url("images/ryb_background.jpeg");
	border-width: 2px;
	color: white;
	background-color: black;
	border-color: red;
	border-style: solid; }
IMG.noborder {
	border-style: none; }
IMG.border {
	border-width: 2px;
	border-style: solid; }
TH.ptitle {
	background-color: <?=$colors['mediumblue'] ?> ;
	color: white
	}
TH.ptitle A:link {
	color: <?=$colors['lightblue']?>;
	}
TH.ptitle A:visited {
	color: <?=$colors['hotpink']?>;
	}
DIV.navbar {
	text-align: center;
	font-size: 150%;
	font-weight: bold;
	font-family: Times, serif;
	}
DIV.navbar a {
	padding: 0 .5em 0 .5em;
	}
TABLE.ptable {
<?php
switch($scheme)
{
case 0:
	echo("\tbackground-color: " . $colors['lightblue'] . ";\n");
	break;
case 1:
	echo("\tbackground-color: white;\n");
	break;
}
?>
	border-style: solid;
	border-width: 1px;
	border-color: black;
	}
PRE.code {
	background-color: <?=$colors['lightgray']?>
	}
