UNPKG

lettuce

Version:

Lettuce JS, Mini Mobile Framework for Romantic with DSL.

49 lines (40 loc) 950 B
html,body { height: 100% } body { background-color: #000; color: #fff; /* Allow mouse dragging. */ -moz-user-select: none; -ms-user-select: none; -o-user-select: none; -webkit-user-select: none; user-select: none; /* disable touch panning/zooming */ -ms-touch-action: none; touch-action: none; /* Allow canvas to hit the edges of the browser viewport. */ margin: 0; overflow-x: hidden; } #screen canvas { margin: auto; margin-top: 10px; /* Hide the gap for font descenders. */ display: block; /* disable scaling interpolation */ image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; -ms-interpolation-mode: nearest-neighbor; } .header { width: 600px; padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; display: block; }