body { background-color: white; color: black; font-family: monospace; } section { border-top: 1px solid black; clear: both; padding: 1em; } table { border-collapse: collapse; } td { border: 1px solid black; padding: 0.2em 0.5em; } ul { list-style-type: none; } button { border-width: 1px; } .button { padding: 0.2em; } .red { background-color: red; color: white; } .yellow { background-color: yellow; color: black; } .blue { background-color: blue; color: white; } .green { background-color: green; color: white; } .white { background-color: white; border-color: black; color: black; } .black { background-color: black; color: white; } .litIndicator { color: white; border: 1px outset red; text-shadow: 0px 0px 3px yellow,0px 0px 3px yellow; background: black; padding: 0 3px 3px; } .litIndicator:before { content: '\2022\a0'; } .button.white { border: 1px solid black; } section .active { /* ugh, specificity */ opacity: 1; } .inactive { opacity: 0.3; } h2 { cursor: pointer; } .collapsed { padding: 0; } .collapsed * { display: none; } .collapsed h2 { display: block; font-size: small; margin: 0; } .jsResetSection { margin-top: 1em; } nav { background-color: white; border-left: 1px solid black; border-top: 1px solid black; position: fixed; bottom: 0; right: 0; } #navList { line-height: 150%; list-style-type: none; margin: 0; padding-left: 0.2em; } #sectionWires button { border-color: black; cursor: pointer; width: 2em; height: 2em; } #wireOptions li { display: inline-block; } #wireList { list-style-type: decimal; } .wireToCut:after { color: green; } .wireToCut:after, .wireToCut.odd.even:after { content: '\27fd'; } .wireToCut.odd:after { content: '\27fd\a0 odd'; } .wireToCut.even:after { content: '\27fd\a0 even'; } #sectionButton { line-height: 150%; } #sectionButton div { margin-bottom: 1em; } #sectionButton .buttonWhite { border-style: solid; border-width: 1px; } #buttonInstruction { background-color: #ddd; padding: 0.5em; } #sectionKeypads ul { display: inline-block; list-style-type: none; margin-right: 2em; padding-left: 0; } #sectionKeypads li { border: 1px solid black; border-bottom: 0; cursor: pointer; line-height: 0; } #sectionKeypads li:last-child { border-bottom: 1px solid black; } #sectionKeypads .selected { background: #ff6; } #sectionKeypads ul[data-count='4'] .selected { background: lightgreen; } #simonInputs { float: left; margin-right: 5em; } .collapsed #simonBoard { display: none; } #simonBoard { display: inline-block; padding-bottom: 40px; /* Compensate for height increase as a result of rotation */ position: relative; transform: rotate(45deg); } #simonBoard > div > div { border: 2px solid black; display: inline-block; height: 64px; width: 64px; } #simonBoard > .simonRow:first-child > div { border-top-width: 4px; } #simonBoard > .simonRow:first-child + div > div { border-bottom-width: 4px; } #simonBoard > .simonRow > div:first-child { border-left-width: 4px; } #simonBoard > .simonRow > div:last-child { border-right-width: 4px; } .simonRed { background: radial-gradient(#fb9a9a, #fc7373, red); } .simonYellow { background: radial-gradient(#fbfb9a, #fcfc73, yellow); } .simonBlue { background: radial-gradient(#9a9afb, #7373fc, blue); } .simonGreen { background: radial-gradient(#98c998, #72b772, green); } .arrow { background-color: black; height: 10px; width: 50px; opacity: 0; position: absolute; } .arrow::after { content: ''; border-top: 10px solid transparent; border-left: 20px solid black; border-bottom: 10px solid transparent; height: 0; width: 0; margin-left: 50px; position: absolute; top: -5px; } #arrowRB { top: 70px; left: 10px; transform: rotate(-90deg); } #arrowBR { top: 60px; left: 10px; transform: rotate(90deg); } #arrowBY { top: 30px; left: 45px; } #arrowYB { top: 30px; left: 45px; transform: rotate(180deg); } #arrowYG { top: 60px; left: 80px; transform: rotate(90deg); } #arrowGY { top: 70px; left: 80px; transform: rotate(-90deg); } #arrowGR { top: 100px; left: 45px; transform: rotate(180deg); } #arrowRG { top: 100px; left: 45px; } #arrowRY { top: 66px; left: 44px; transform: rotate(-45deg); } #arrowYR { top: 66px; left: 44px; transform: rotate(135deg); } #arrowBG { top: 64px; left: 44px; transform: rotate(45deg); } #arrowGB { top: 64px; left: 44px; transform: rotate(-135deg); } #sectionWof { white-space: nowrap; } #sectionWof dl, #sectionWof table { display: inline-block; margin-bottom: 1em; } #sectionWof.collapsed dl, #sectionWof.collapsed table { display: none; } #sectionWof dl { margin-right: 4em; } #sectionWof dt { background-color: black; clear: left; color: white; margin-right: 1em; text-align: center; width: 6em; } #sectionWof dd { margin-bottom: 0.4em; margin-left: 0; } #sectionWof dt, #sectionWof dd { display: inline-block; float: left; } #sectionWof dt.inactive + dd { opacity: 0; } #sectionWof table { margin-left: 0.5em; } #sectionWof th { border: 1px solid black; } #sectionMemory td { text-align: right; } #sectionMemory input { text-align: center; width: 5em; } #sectionMorse table { float: left; margin-bottom: 1em; margin-right: 1em; } #sectionSequence button { cursor: pointer; width: 2em; } #sequenceOptions { padding-left: 0; width: 7.9em; } #sequenceOptions li { display: inline-block; } #sequenceInstruction { list-style-type: decimal; } #sequenceInstruction button { margin-right: 0.2em; }