UNPKG

kjua

Version:

Dynamically generated QR codes for modern browsers.

109 lines (91 loc) 1.7 kB
* { margin: 0; padding: 0; } body { font-family: 'Ubuntu Mono', 'monospace'; text-align: center; background: repeat url('back.png'); } #banner { display: block; text-decoration: none; color: rgb(29, 119, 194); padding: 12px 0 0; text-align: center; } #banner:hover { color: #333; } #container { display: inline-block; margin: 20px auto; box-shadow: 0 0 16px rgba(0,0,0,0.5); -webkit-print-color-adjust: exact; } #container > * { display: block; } .control { position: absolute; background-color: #f8f8f8; top: 0; width: 190px; box-shadow: 0 0 32px rgba(0,0,0,0.5); overflow: hidden; text-align: left; } .control.left { left: 0; } .control.right { right: 0; } hr { margin: 12px 0 0; padding: 0; border: none; height: 1px; background-color: rgba(0,0,0,0.1); } label { display: block; font-size: 12px; color: #555; padding: 12px 4px 4px 4px; } input, textarea, select { font-family: 'Ubuntu Mono', 'monospace'; display: block; background-color: #fff; margin: 2px; padding: 0 2px; border: 1px solid #ddd; width: 180px; height: 22px; } #text { height: 48px; } #img-buffer { display: none; } input[type='range'] { -webkit-appearance: none; cursor: pointer; } input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 3px; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #aaa), color-stop(1, #aaa)); } @media print { #container { box-shadow: none; } .control { display: none; } }