Files
ktane-helper/src/App.css
T
2019-11-26 10:29:37 -05:00

189 lines
2.8 KiB
CSS
Executable File

body {
background-color: white;
color: black;
font-family: monospace;
}
section {
border-top: 1px solid black;
clear: both;
padding: 1em;
}
h2 {
margin-top: 0;
}
table {
border-collapse: collapse;
}
td {
border: 1px solid black;
padding: 0.2em 0.5em;
}
ul {
list-style-type: none;
}
button {
border-width: 1px;
}
.instruction {
background-color: #eee;
padding: 0.5em;
}
.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;
}
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: 0.1em 0.5em;
}
#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 table {
margin-top: 1em;
}
#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: 9.5em;
}
#sequenceOptions li {
display: inline-block;
}
#sequenceInstruction {
list-style-type: decimal;
}
#sequenceInstruction button {
margin-right: 0.2em;
}
#sectionVenn2 td {
height: 1.5em;
width: 1em;
}