view style-rlg.css @ 90:6c6a6e4f1e5b

RLG-Web client: distinguish playing and watching in UI. Don't show the keyboard when watching games, and display appropriate messages when playing or watching.
author John "Elwin" Edwards <elwin@sdf.org>
date Tue, 10 Jul 2012 13:53:38 -0700
parents 6145e1ea7ace
children e84a99712c62
line wrap: on
line source

html {
	background-color: #C0FFC0;
	color: #101040;
	font-family: sans-serif;
}

h1 {
	text-align: center;
}

div.modal {
	clear: both;
}

div.rfloat {
	float: right;
	clear: right;
	margin: 0.2em;
	font-size: 1.2em;
	padding: 0.4em;
}

div.centerb {
	clear: both;
	margin: 0.2em;
	padding: 0.4em;
	text-align: center;
}

div.formtable {
	display: table;
	margin: 1em auto;
	border: 2px solid #101040;
}

div.formtable > div {
	display: table-row;
}

div.formtable > div > div {
	display: table-cell;
	padding: 0.4em 2em;
}

div.formtable > div > div:first-child {
	font-weight: bold;
	text-align: center;
}

div.formtable > div.tcapt {
	display: table-caption;
	caption-side: top;
	margin: 0 auto;
	padding: 0.4em;
	font-weight: bold;
	text-align: center;
}

span.ibutton {
	background-color: #D0D0D0;
	border: 2px solid #101040;
	border-radius: 0.3em;
	padding: 0.2em 0.5em;
}

div#register div.formtable span.ibutton {
	font-weight: bold;
}

div#nogames {
	display: none;
	margin-top: 2em;
	margin-bottom: 3em;
	font-weight: bold;
	text-align: center;
}

div#keys {
	display: none;
	font-size: 12px;
}

div#messages {
	width: 100%;
	max-height: 10em;
	overflow: scroll;
	clear: both;
}

div#messages div {
	margin: 0.4em 0.8em;
	padding: 0.4em 0.4em;
	font-weight: bold;
	background-color: white;
}

div#debug {
	display: none;
}