/* JSSpeccy: A ZX Spectrum emulator in Javascript Copyright (C) 2009 Matthew Westcott This program 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 3 of the License, or (at your option) any later version. This program 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 this program. If not, see . Contact details: Matthew Westcott, 14 Daisy Hill Drive, Adlington, Chorley, Lancs PR6 9NE UNITED KINGDOM */ body { width: 640px; margin: auto; position: relative; } #screen { border: 64px solid black; width: 512px; height: 384px; float: left; clear: both; margin-right: 32px; } #menu { clear: left; margin: 0; padding: 0; width: 640px; height: 56px; background-color: #ccc; list-style-type: none; } #menu li { float: left; margin: 4px; } #menu li a { display: block; text-indent: -5000px; width: 48px; height: 48px; outline: none; } #menu.stopped li#menu_run a { background-image: url(jsspeccy_icons/48x48_player_play.png); } #menu.running li#menu_run a { background-image: url(jsspeccy_icons/48x48_player_play_disabled.png); } #menu.running li#menu_stop a { background-image: url(jsspeccy_icons/48x48_player_pause.png); } #menu.stopped li#menu_stop a { background-image: url(jsspeccy_icons/48x48_player_pause_disabled.png); } #menu li#menu_reset a { background-image: url(jsspeccy_icons/48x48_kaboodleloop.png); } #menu li#menu_open a { background-image: url(jsspeccy_icons/48x48_folder_blue_open.png); } #menu li#menu_about { float: right; } #menu li#menu_about a { background-image: url(jsspeccy_icons/48x48_messagebox_info.png); } #menu li#menu_joystick a { background-image: url(jsspeccy_icons/48x48_package_games_arcade.png); } #snapshot_chooser { position: absolute; padding: 8px; left: 128px; top: 16px; width: 384px; background-color: white; height: 480px; overflow: auto; } #about { position: absolute; left: 64px; top: 32px; width: 512px; background-color: white; height: 420px; padding: 4px; text-align: center; overflow: auto; } a.close_button { display: block; border: 1px solid black; background-color: #ccc; margin: auto; padding: 4px; width: 200px; margin-bottom: 8px; margin-top: 8px; color: black; text-decoration: none; text-align: center; clear: both; } #snapshot_list { list-style-type: none; height: 320px; overflow: auto; margin: 0; border: 1px solid #ccc; padding: 0; } #snapshot_list li { line-height: 40px; border-bottom: 1px solid black; padding-left: 16px; } #snapshot_list li a { display: block; } #about h1 { font-size: 18pt; margin-bottom: 0; } #about h2 { font-size: 12pt; } #about #licence { font-size: 9pt; } #joystick_keys { position: absolute; left: 128px; top: 32px; width: 384px; background-color: white; height: 320px; overflow: auto; } #joystick_keys p { padding-left: 16px; padding-right: 16px; } #joystick_keys ul { list-style-type: none; } #joystick_keys li { height: 40px; line-height: 40px; border-bottom: 1px solid black; padding-left: 16px; clear: both; } #joystick_keys label { float: left; width: 60px; height: 40px; line-height: 40px; } #joystick_keys ul li div { float: left; line-height: 40px; }