style changes

This commit is contained in:
Chuck Dries 2017-03-20 22:53:34 -07:00
parent 2a632855d4
commit e0ee02c44c

View File

@ -12,21 +12,27 @@
max-width: 800px; max-width: 800px;
line-height: 1.5; line-height: 1.5;
} }
code, #output {
code,
#output {
padding: 5px; padding: 5px;
background: #eee; background: #eee;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 3px; border-radius: 3px;
display: inline-block; display: inline-block;
} }
p { p {
max-width: 800px; max-width: 800px;
} }
input, textarea {
input,
textarea {
width: 100%; width: 100%;
padding: 5px; padding: 5px;
/*max-width: 800px;*/ /*max-width: 800px;*/
} }
#genbutton { #genbutton {
color: white; color: white;
background: #01C106; background: #01C106;
@ -35,7 +41,6 @@
font-size: 1em; font-size: 1em;
border-radius: 3px; border-radius: 3px;
} }
</style> </style>
</head> </head>
@ -66,8 +71,7 @@
<p></p> <p></p>
<p>Title of box:</p> <input type="text" id="titleIn" placeholder="Investigating Hope: The Series"> <p>Title of box:</p> <input type="text" id="titleIn" placeholder="Investigating Hope: The Series">
<p>Description text:</p> <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> <p>Enter the links to generate according to this format:</p>
<pre><code class="json">[ <pre><code class="json">[
{ {
@ -84,13 +88,16 @@
} }
] ]
</code></pre> </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> <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><a id="genbutton" href="#output" onclick="generate()">Generate Code</a></p>
<p>Paste the following code into a safeembed</p> <p>Paste the following code into a safeembed</p>
<textarea id="output" cols="100" readonly></textarea> <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. <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.</p>
<pre><code>&lt;span class="here"&gt;(You are here)&lt;/span&gt;</pre></code> <pre><code>&lt;span class="here"&gt;(You are here)&lt;/span&gt;</pre>
</code>
<p>The code generated will look roughly like this:</P> <p>The code generated will look roughly like this:</P>
<div id="preview" style="max-width: 800px;"></div> <div id="preview" style="max-width: 800px;"></div>
<p>Gryphon overrides certain styles by default, so make sure to test on your article.</p> <p>Gryphon overrides certain styles by default, so make sure to test on your article.</p>