diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-06-23 02:24:09 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-06-23 02:24:09 -0400 |
| commit | 59d07c5058fe0e93fd9b6ebdbd725bbecb91b069 (patch) | |
| tree | b371fdf347c707906a7f9116344b13abd508d051 /css | |
| parent | 3f1b27a8e876f3e3c21f3449f6fc571d5381faa6 (diff) | |
rotate button
Diffstat (limited to 'css')
| -rw-r--r-- | css/sally.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/css/sally.css b/css/sally.css index b08ed8a..4acd3a7 100644 --- a/css/sally.css +++ b/css/sally.css @@ -88,6 +88,20 @@ textarea { font-size:12pt; width: 37vw; height: 300px; background: #333; color: box-shadow: 0 0 2px rgba(255,255,255,0.3); margin: 3px; } +div.rotated { + width: 100%; +} +.rotated #canvas_rapper { + white-space: pre; + transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(-90deg); + transform-origin: 50% 50%; + position: absolute; + left: 50%; +} +canvas_rapper.parentNode.style.height = (canvas_rapper.offsetWidth+20)+ "px" +canvas_rapper.style.top = + "%" + top: 35%; + #tools_block > * { cursor: crosshair; } |
