/*
 *	Copyright (c) 2011 Daniel Phillimore
 *	
 *	This file is part of SynLite.
 *	
 *	SynLite 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 2 of the License, or (at your option)
 *	any later version.
 *	
 *	SynLite 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 SynLite; if not, write to the Free Software Foundation, Inc., 59
 *	Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

/* Both modes */
.synlite {
	border: solid silver 1px;
	
	/* Leave space on left-side for line numbers */
	margin: 0; padding: 2px 2px 2px 2.8em;
	
	display: block;
	
	font-family: monospace;
	font-size: 12px;
	color: #100;
	background-color: #F9F9F9;
	
	/* Put back to "decimal" when line numbers needed
		- see below */
	list-style-type: none;
}
/* Inline mode */
.synlite_inline {
	padding-left: 2px;
	
	/* Could try to make all children of code block display:inline,
		but this is a much better solution: see IE fixes though */
	display: inline-block;
	
	/* (Attempt to) line up with surrounding text */
	vertical-align: middle;
}
/* Block mode */
.synlite_block {}

/* Each line of code is wrapped ... */
.synlite .line {
	/* Render these as a list */
	display: list-item;
	
	/* Only specify this on each line, to prevent
		any extra newlines in source from creating blank lines */
	white-space: pre;
	white-space: pre-wrap; /* Wrap text to fit if supported */
}

/* Show line numbers if enabled */
.synlite_line_numbers { list-style-type: decimal; }











