152 lines
4.0 KiB
Cheetah
152 lines
4.0 KiB
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Trunkless</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta charset="utf-8">
|
|
<style>
|
|
@font-face {
|
|
font-family: "cutive";
|
|
src: url("/cutive.ttf");
|
|
}
|
|
|
|
body {
|
|
font-family: "cutive", monospace;
|
|
font-size:125%;
|
|
background-color: black;
|
|
color: white;
|
|
/* background-image: url("/bg_dark.gif");*/
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
div.line:not(.unpinned) > .linetext {
|
|
font-weight: bold;
|
|
}
|
|
|
|
button.pinned {
|
|
font-weight:bold;
|
|
}
|
|
|
|
span.linetext {
|
|
background-color: black;
|
|
}
|
|
.controls {
|
|
margin: 0;
|
|
margin-bottom:4px;
|
|
font-size:80%;
|
|
}
|
|
|
|
.rainbow {
|
|
animation-name: rainbow;
|
|
animation-duration: 1s;
|
|
}
|
|
|
|
@keyframes rainbow {
|
|
20%{color: red;}
|
|
40%{color: orange;}
|
|
60%{color: yellow;}
|
|
80%{color: green;}
|
|
100%{color: blue;}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<template id="line-editor-tmpl">
|
|
<form style="display:inline">
|
|
<input type="text" name="editedLine" style="min-width: 50em">
|
|
<input type="submit" style="display: none">
|
|
</form>
|
|
</template>
|
|
<template id="linetmpl">
|
|
<style>
|
|
div.linetext {
|
|
font-size: 100%;
|
|
}
|
|
div.rightside {
|
|
}
|
|
div.source {
|
|
font-size: 50%;
|
|
font-style: oblique;
|
|
padding-left: 10px;
|
|
text-align: right;
|
|
}
|
|
div.cont:hover {
|
|
background-color: rgba(255,255,255,.05);
|
|
}
|
|
.linectrl button {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
</style>
|
|
<div style="display: grid; grid-template-columns: 80% 20%">
|
|
<div>
|
|
<div class="linetext"></div>
|
|
<div class="source"></div>
|
|
</div>
|
|
<div class="linectrl">
|
|
<button is="line-pinner">P</button><button is="line-editor">E</button><button>M</button><button is="line-remover">X</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--
|
|
<div class="cont" style="display: grid; grid-template-columns: 80% 20%">
|
|
<div class="linetext"></div>
|
|
<div class="rightside">
|
|
<div style="display: grid; grid-template-columns: 50% 50%">
|
|
<div class="linectrl">
|
|
<div style="display: grid; grid-template-columns: 2em 2em">
|
|
<div>
|
|
<button is="line-pinner">pin</button><button is="line-editor">✎</button>
|
|
</div>
|
|
<div>
|
|
<button>M</button><button is="line-remover">X</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="source"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-->
|
|
<!--
|
|
<span class="linectrl">
|
|
<button is="line-pinner">pin</button><button is="line-editor">✎</button><button is="line-upper">↑</button><button is="line-downer">↓</button><button is="source-shower"></button><button is="line-remover">X</button>
|
|
</span>
|
|
<span class="linetext"></span>
|
|
<p is="source-text"></p>
|
|
-->
|
|
</template>
|
|
<h1 style="display:block;margin:0">Trunkless</h1>
|
|
<p style="margin-top:0;font-size:80%">
|
|
<a href="/about">about</a>
|
|
<a is="theme-toggler"></a>
|
|
</p>
|
|
<div class="controls">
|
|
<button is="poem-resetter"></button>
|
|
|
|
<form is="poem-saver" style="border: 1px solid grey; display:inline; padding:4px;">
|
|
<button class="copy" type="submit">copy</button>
|
|
<button class="save" type="submit">save</button>
|
|
<input name="type" value="text" type="radio" checked />as text
|
|
<input name="type" value="image" type="radio"/>as image
|
|
<input name="sources" type="checkbox"/>include sources
|
|
</form>
|
|
</div>
|
|
<div style="border: 1px solid grey; padding: 5px">
|
|
<div style="margin-bottom: 5px">
|
|
<button is="poem-regenner">↺</button>
|
|
</div>
|
|
<div is="poem-lines"></div>
|
|
<div>
|
|
<button is="line-adder" title="add line">+</button>
|
|
</div>
|
|
</div>
|
|
<script src="/html2canvas.min.js"></script>
|
|
<script src="/main.js"></script>
|
|
</body>
|
|
</html>
|