Some style

This commit is contained in:
Chuck Dries 2017-03-20 22:50:57 -07:00
parent f5f78ab290
commit 2a632855d4

View File

@ -10,6 +10,7 @@
body{
margin: auto;
max-width: 800px;
line-height: 1.5;
}
code, #output {
padding: 5px;
@ -18,11 +19,22 @@
border-radius: 3px;
display: inline-block;
}
input {
width: 90%;
p{
max-width: 800px;
}
input, textarea {
width: 100%;
padding: 5px;
/*max-width: 800px;*/
}
#genbutton{
color: white;
background: #01C106;
padding: 1em;
border: 1px solid #1E7931;
font-size: 1em;
border-radius: 3px;
}
</style>
</head>
@ -52,9 +64,10 @@
</script>
<p></p>
Title of box: <input type="text" id="titleIn" placeholder="Investigating Hope: The Series"><br /> Description text:
<input
type="text" id="description" placeholder="This article is one in a series of investigative pieces about a complaint filed with ASU regarding accusations against on-campus ministry Hope Church."><br />
<p>Title of box:</p> <input type="text" id="titleIn" placeholder="Investigating Hope: The Series">
<p>Description text:</p>
<input type="text" id="description" placeholder="This article is one in a series of investigative pieces about a complaint filed with ASU regarding accusations against on-campus ministry Hope Church."><br />
<p>Enter the links to generate according to this format:</p>
<pre><code class="json">[
{
@ -72,8 +85,8 @@
]
</code></pre>
<p>This format is known as JSON, it's an internet standard that's supposed to be easy for humans and computers to read. Note how commas are used to separate multiple items but are never used after the last item in a set. This is important, it will not work if you include a trailing comma where there should not be one.</p>
<textarea name="input" id="in" cols="100" rows="30"></textarea>
<h2><a href="#output" onclick="generate()" placeholder="Please be careful, this will not work if you format the JSON incorrectly">click to generate</a></h2>
<textarea name="input" id="in" cols="100" rows="30" placeholder="Please be careful, this will not work if you format the JSON incorrectly"></textarea>
<p><a id="genbutton" href="#output" onclick="generate()">Generate Code</a></p>
<p>Paste the following code into a safeembed</p>
<textarea id="output" cols="100" readonly ></textarea>
<p><em> Don't forget:</em> For each page you embed on, add the following bit of code just before the <code>&lt;/h4&gt;</code> at the end of the line on the line that corresponds to the current page.