UNPKG

facta

Version:

Sudoku-like integer factoring game

52 lines (51 loc) 786 B
:root { font-size: 12px; } table { margin-left: 10%; transform:rotate(45deg); border-spacing: 1rem; } .cell, .cell > * { display: inline-block; } .cell { width: 3rem; font-size: 0; } .cell > * { font-size: 1rem; } .cell > select { width: 1.5rem; font-size: 1rem; -moz-appearance: none; -webkit-appearance: none; appearance: none; text-align: right; text-align-last: right; } .cell > a , .cell:not(.factor-unit) > button { width: 3rem; user-select: none; font-size: 0.5rem; line-height: 0.5rem; padding-top: 1px; padding-bottom: 1px; } .factor-unit > button { font-size: 0.5rem; width: 1rem; height: 1rem; vertical-align: top; padding: 0.25em; margin: 0.25em; } .cell > a { text-align: left; } td { transform: rotate(-45deg); }