change styles for rendered page

pull/1/head
ansuz 9 years ago
parent 2adfeaaaaa
commit 266e5eccce

@ -8,15 +8,13 @@
html, body { html, body {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
box-sizing: border-box;
} }
#target { #target {
position: fixed; position: fixed;
box-sizing: border-box;
border: 1px solid blue;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
font-size: 15px; font-size: 15px;
top: 0px; top: 0px;
left: 0px; left: 0px;
@ -32,6 +30,13 @@
img { img {
max-width: 100%; max-width: 100%;
} }
/* monospace for code */
code {
font-family: monospace;
}
/* TODO
bump up text size on mobile
*/
</style> </style>
</head> </head>
<body> <body>

@ -120,8 +120,6 @@ define([
return rt; return rt;
})[0]; })[0];
window.rts = rts;
$textarea.on('change keyup keydown', function () { $textarea.on('change keyup keydown', function () {
redrawTimeout && clearTimeout(redrawTimeout); redrawTimeout && clearTimeout(redrawTimeout);
redrawTimeout = setTimeout(function () { redrawTimeout = setTimeout(function () {

Loading…
Cancel
Save