/* Copyright 101Computing.net */ body { text-align: center; background-color: #111111; padding: 10px; } #header { background-color: black; color:white; padding: 4px; top: 0px; } #header A { color: white; } DIV { box-sizing: border-box; } #enigmaWrapper { background: url("./../images/wood-board-h.jpg"); width:720px; height: 790px; margin: 10px auto 20px auto; padding: 12px; border-radius: 8px; -webkit-user-select: none; /* Safari 3.1+ */ -moz-user-select: none; /* Firefox 2+ */ -ms-user-select: none; /* IE 10+ */ user-select: none; /* Standard syntax */ } #enigma { background-color: black; background-size: 100%; background-image: url("./../images/metallic-texture.jpg"); width: 100%; height: 100%; border-radius: 8px; } .line { width: 100%; margin: 0px auto; height: 4px; background-color:#333333; opacity: 0.5; -webkit-box-shadow: 0px 0px 5px 4px rgba(51,51,51,0.75); -moz-box-shadow: 0px 0px 5px 4px rgba(51,51,51,0.75); box-shadow: 0px 0px 5px 4px rgba(51,51,51,0.75); } .letter { font-family: Tahoma; color: #222222; font-size: 12pt; padding-top: 11px; padding-bottom: 11px; text-shadow: 0px 1px #AAAAAA; } #rotors { padding: 20px; margin: 0px auto; width: 230px; cursor: pointer; } .rotor { float: left; margin:0px 20px; width:23px; height:130px; border: 4px solid black; background: rgb(0,0,0); background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(142,142,142,1) 2%, rgba(245,245,245,1) 28%, rgba(52,52,52,1) 30%, rgba(216,216,216,1) 31%, rgba(255,255,255,1) 50%, rgba(212,212,212,1) 67%, rgba(45,45,45,1) 69%, rgba(226,226,226,1) 70%, rgba(115,115,115,1) 98%, rgba(0,0,0,1) 100%); } #lampboard { clear:both; margin: 0px auto; padding:20px; width: 660px; height: 180px; } .light, .lightOn { font-size: 16pt; font-family: Tahoma; color: #D0D0D0; float: left; border: 3px #040404 solid; width: 40px; height: 40px; margin: 4px 14px; padding: 3px; border-radius: 50%; } .light { background: #000000; background: -moz-linear-gradient(-45deg, #000000 0%, #0a0a0a 11%, #0a0a0a 21%, #4e4e4e 33%, #383838 37%, #383838 37%, #1b1b1b 43%, #1b1b1b 43%, #000000 100%); background: -webkit-linear-gradient(-45deg, #000000 0%,#0a0a0a 11%,#0a0a0a 21%,#4e4e4e 33%,#383838 37%,#383838 37%,#1b1b1b 43%,#1b1b1b 43%,#000000 100%); background: linear-gradient(135deg, #000000 0%,#0a0a0a 11%,#0a0a0a 21%,#4e4e4e 33%,#383838 37%,#383838 37%,#1b1b1b 43%,#1b1b1b 43%,#000000 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=1 ); } .lightOn { color: #333333; background: #fceabb; background: -moz-linear-gradient(-45deg, #fceabb 0%, #f8b500 40%, #f8b500 41%, #fccd4d 43%, #fbdf93 100%); background: -webkit-linear-gradient(-45deg, #fceabb 0%,#f8b500 40%,#f8b500 41%,#fccd4d 43%,#fbdf93 100%); background: linear-gradient(135deg, #fceabb 0%,#f8b500 40%,#f8b500 41%,#fccd4d 43%,#fbdf93 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=1 ); } #keyboard { clear:both; margin: 0px auto; padding:25px 20px; width: 660px; height: 200px; } .key, .keyOn { cursor: pointer; font-size: 16pt; font-family: Tahoma; color: #D0D0D0; float: left; border: 3px #AAAAAA solid; width: 40px; height: 40px; margin: 4px 14px; padding: 3px; border-radius: 50%; background: #4c4c4c; background: -moz-linear-gradient(-45deg, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); background: -webkit-linear-gradient(-45deg, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); background: linear-gradient(135deg, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=1 ); -webkit-box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.75); box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.75); } .key:active, .keyOn { border: 4px #AAAAAA solid; } .key:hover { color: white; border-color: white; } .plug:hover { border-color: white; text-shadow: 0px -30px #FFFFFF, -2px -30px #000000; } #plugboard { clear:both; margin: 5px auto; padding:30px 40px; width: 680px; height: 180px; } .plug { cursor: pointer; font-size: 12pt; font-family: Tahoma; color: rgba(0,0,0,0); float: left; border: 3px #AAAAAA solid; width: 26px; height: 26px; margin: 18px 20px; border-radius: 50%; background: #000000; text-shadow: 0px -30px #AAAAAA, -2px -30px #000000; background: #000000; background: -moz-radial-gradient(center, ellipse cover, #000000 16%, #636363 81%, #161616 98%); background: -webkit-radial-gradient(center, ellipse cover, #000000 16%,#636363 81%,#161616 98%); background: radial-gradient(ellipse at top right, #000000 16%,#636363 81%,#161616 98%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#161616',GradientType=1 ); } #enigma-book { background-color: black; background-size: 100%; background-image: url("./../images/enigma-book.png"); width:720px; height: 475px; margin: 30px auto; padding: 20px 100px; border-radius: 8px; } #plaintext, #ciphertext { width: 260px; padding:20px; text-align: left; float: left; font-family: courier new; font-size: 13pt; height: 400px; overflow: auto; word-wrap: break-word; } #plaintext H1, #ciphertext H1 { font-size: 14pt; text-decoration: underline; font-weight: bold; } #enigma-book A { dislplay: inline-block; padding: 2px 10px; float: right; cursor: pointer; text-decoration: underline; font-weight: bold; } #codebook { background-size: 100%; background-image: url("./../images/enigma-paper.png"); font-family: times new roman; width:700px; height: 1009px; margin: 30px auto; padding: 30px 30px; } #codebook H1 { margin: 10px auto; } #rotorSettings { display: none; position: absolute; top:60px; left: 50%; margin-left:-320px; width: 640px; height: 260px; color: white; text-align: center; border-radius: 12px; padding: 20px; background-color: rgba(0,0,0,0.8); } #rotorSettings SELECT { padding: 5px; cursor: pointer;} #rotorSettings BUTTON { margin: 6px; padding: 5px; cursor: pointer;}