body { background-color: #2b8856; } @font-face { font-family: 'Roboto Slab'; src: url(https://fonts.jimstatic.com/s/robotoslab/v11/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rj.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } #quiz { background-color: #fff; font-family: "Roboto Slab"; font-size: 16px; margin: 0 auto; width: 960px; } #quiz .store { border-bottom: 2px solid #000; padding: 5px; } #quiz .card { background-color: #eee; display: inline-block; margin: 5px; min-height: 50px; padding: 5px; vertical-align: top; width: 166px; } #quiz .store .card { cursor: pointer; } #quiz .store .card:hover { background-color: #c7dad0; } #quiz .card.selected { border: 3px solid #2b8856; padding: 2px; } #quiz .card.incorrect { background-color: #faa; } #quiz .state { border-bottom: 2px solid #000; padding: 5px; } #quiz .state .helptext { margin: 5px; } #quiz .state button { background-color: #e8912a; border-radius: 0; border-width: 0; cursor: pointer; font-family: "Roboto Slab"; font-size: 16px; margin: 5px; padding: 5px; } #quiz .state button:hover { background-color: #facc99; } #quiz .solution { padding: 20px 5px; } #quiz .row .card { position: relative; vertical-align: middle; } #quiz .row .card svg { cursor: pointer; position: absolute; right: 5px; top: 5px; visibility: hidden; } #quiz .row .card:hover svg { visibility: visible; } #quiz .arrow { height: 0; width: 0; } #quiz .arrow svg { cursor: pointer; left: 190px; position: relative; top: -10px; }