style changes
This commit is contained in:
parent
0c718fd588
commit
272dc9e540
@ -12,21 +12,27 @@
|
||||
max-width: 800px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
code, #output {
|
||||
|
||||
code,
|
||||
#output {
|
||||
padding: 5px;
|
||||
background: #eee;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 800px;
|
||||
}
|
||||
input, textarea {
|
||||
|
||||
input,
|
||||
textarea {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
/*max-width: 800px;*/
|
||||
}
|
||||
|
||||
#genbutton {
|
||||
color: white;
|
||||
background: #01C106;
|
||||
@ -35,7 +41,6 @@
|
||||
font-size: 1em;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@ -66,8 +71,7 @@
|
||||
<p></p>
|
||||
<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 />
|
||||
|
||||
<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.">
|
||||
<p>Enter the links to generate according to this format:</p>
|
||||
<pre><code class="json">[
|
||||
{
|
||||
@ -84,13 +88,16 @@
|
||||
}
|
||||
]
|
||||
</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>
|
||||
<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" 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></h4></code> at the end of the line on the line that corresponds to the current page.
|
||||
<pre><code><span class="here">(You are here)</span></pre></code>
|
||||
<p><em> Don't forget:</em> For each page you embed on, add the following bit of code just before the <code></h4></code> at the end of the line on the line that corresponds to the current page.</p>
|
||||
<pre><code><span class="here">(You are here)</span></pre>
|
||||
</code>
|
||||
<p>The code generated will look roughly like this:</P>
|
||||
<div id="preview" style="max-width: 800px;"></div>
|
||||
<p>Gryphon overrides certain styles by default, so make sure to test on your article.</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user