form { border: 1px DarkSlateGrey solid; padding: 1em; padding-left: 2em; padding-right: 2em; } button { margin-right: 10px; } .box { display: inline-block; width: 25px; height: 25px; text-align: center; font-weight: bold; font-size: 14px; border: 2px lightgrey solid; margin-right: 0px; margin-left: 0px; color: black; background-color: white; vertical-align: top; line-height: 25px; font-family: Cantarell; } .focus { background-color: #fff079; } .syllable .box:not(:first-child) { margin-left: -1px; border-left-style: dotted; } .syllable .box:not(:last-child) { margin-right: -1px; border-right-style: dotted; } .word .syllable:not(:first-child) { margin-left: -1px; } .word .syllable:not(:last-child) { margin-right: -1px; } .syllable.stress + .syllable .entrybox:first-child { border-left-color: darkslategrey; } .stress { z-index: 9999; } .syllable { display: inline-block; } .syllable-sep { display: inline-block; font-size: 30px; margin: 1px; } .word { display: inline-block; margin-right: 40px; margin-bottom: 5px; } .line { margin-bottom: 15px; } .stress>.entrybox { border-color: darkslategrey; } .green { background-color: rgb(106, 170, 100); color: white; border-color: rgb(106, 170, 100); } .yellow { background-color: rgb(201, 180, 88); color: white; /* border: 0; */ border-color: rgb(201,180,88); } .grey { background-color: rgb(120, 124, 126); color: white; /* border: 0; */ border-color: rgb(120,124,126); } hr { border: .1px DarkSlateGrey dashed; margin-top: 20px; } .poetry { font-size: 85%; font-family: EBGaramond; } .byline { font-style: italic; font-size: 75%; } #share { width: 90%; } .keyboard { display: inline-block; text-align: center; max-width: 40em; touch-action: manipulation; } @media only screen and (min-width: 600px) { .keyboard { border: 1px darkslategrey dotted; border-radius: 4px; padding: 1.2em; } } .kbrow { margin-bottom: 5px; } .key { font-family: Cantarell; display: inline-block; height: 35px; width: 30px; border-radius: 4px; border: 1px black solid; line-height: 33px; cursor: pointer; user-select: none; }