Add icon to step by step guide

This commit is contained in:
Alex Cabal 2022-05-09 15:45:14 -05:00
parent bf4bce1445
commit 929371b82d
5 changed files with 42 additions and 29 deletions

View file

@ -551,7 +551,7 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll
<li> <li>
<h2>Create the cover image</h2> <h2>Create the cover image</h2>
<aside class="alert"> <aside class="alert">
<p class="warning">!!! STOP !!!</p> <p class="warning">STOP</p>
<p><strong>Do not commit cover art to your repositorys history until you have <a href="https://groups.google.com/g/standardebooks">cleared your selection with the S.E. Editor-in-Chief.</a></strong></p> <p><strong>Do not commit cover art to your repositorys history until you have <a href="https://groups.google.com/g/standardebooks">cleared your selection with the S.E. Editor-in-Chief.</a></strong></p>
<p>If you commit non-public-domain cover art, youll have to rebase your repository to remove the art from its history. This is complicated, dangerous, and annoying, and youll be tempted to give up.</p> <p>If you commit non-public-domain cover art, youll have to rebase your repository to remove the art from its history. This is complicated, dangerous, and annoying, and youll be tempted to give up.</p>
<p><a href="https://groups.google.com/g/standardebooks">Contact us first</a> with page scans verifying your cover arts public domain status before you commit your cover art!</p> <p><a href="https://groups.google.com/g/standardebooks">Contact us first</a> with page scans verifying your cover arts public domain status before you commit your cover art!</p>
@ -600,7 +600,10 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll
<h2>Complete content.opf</h2> <h2>Complete content.opf</h2>
<p><code class="path">content.opf</code> is the file that contains the ebook metadata like author, title, description, and reading order. Most of it will be filling in that basic information, and including links to various resources related to the text. We already completed the manifest and spine in an earlier step.</p> <p><code class="path">content.opf</code> is the file that contains the ebook metadata like author, title, description, and reading order. Most of it will be filling in that basic information, and including links to various resources related to the text. We already completed the manifest and spine in an earlier step.</p>
<p><code class="path">content.opf</code> is standardized. See the <a href="/manual/latest/9-metadata">Metadata section of the <abbr class="acronym">SEMoS</abbr></a> for details on how to fill it out.</p> <p><code class="path">content.opf</code> is standardized. See the <a href="/manual/latest/9-metadata">Metadata section of the <abbr class="acronym">SEMoS</abbr></a> for details on how to fill it out.</p>
<p>The last details to fill out here will be the short and long descriptions, verifying any Wikipedia links that <code class="bash"><b>se</b> create-draft</code> automatically found, adding cover artist metadata, filling out any missing author or contributor metadata, and adding your own metadata as the ebook producer. If you wrote the long description in unescaped HTML, run <code class="bash"><b>se</b> clean</code> to convert the long description to escaped HTML.</p> <p>The last details to fill out here will be the short and long descriptions, verifying any Wikipedia links that <code class="bash"><b>se</b> create-draft</code> automatically found, adding cover artist metadata, filling out any missing author or contributor metadata, and adding your own metadata as the ebook producer.</p>
<aside class="tip">
<p>The long description must be <em>escaped</em> HTML, which can be difficult to write by hand. Its much easier to write the long description in regular HTML, and then run <code class="bash"><b>se</b> clean</code>, which will escape the long description for you.</p>
</aside>
<p>Once youre done, commit:</p> <p>Once youre done, commit:</p>
<code class="terminal"><span><b>git</b> commit -am <i>"Complete content.opf"</i></span></code> <code class="terminal"><span><b>git</b> commit -am <i>"Complete content.opf"</i></span></code>
</li> </li>

View file

@ -51,14 +51,6 @@
font-display: swap; font-display: swap;
} }
@font-face{
font-family: "Bebas Neue";
src: url("/fonts/bebas-neue-subset.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root{ :root{
--light-body-bg: #e9e7e0; --light-body-bg: #e9e7e0;
--light-body-text: #222; --light-body-text: #222;
@ -2221,7 +2213,7 @@ aside header{
.progress > div{ .progress > div{
/* Animate the div instead of the bar itself, because animating the bar triggers an /* Animate the div instead of the bar itself, because animating the bar triggers an
FF bug that causes infinite requsts to stripes.svg */ FF bug that causes infinite requsts to stripes.svg */
background: url('/images/stripes.svg') transparent; background: url("/images/stripes.svg") transparent;
background-position: 0 0; background-position: 0 0;
animation: progress 2s linear infinite; animation: progress 2s linear infinite;
z-index: 3; z-index: 3;
@ -2298,7 +2290,7 @@ aside button.close{
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
background: url('/images/close.svg') transparent; background: url("/images/close.svg") transparent;
background-size: 1rem 1rem; background-size: 1rem 1rem;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -2381,12 +2373,12 @@ aside button.close:active{
} }
.ebook figure::after{ /* spine */ .ebook figure::after{ /* spine */
content: ''; content: "";
position: absolute; position: absolute;
width: calc(var(--size) + 2px); width: calc(var(--size) + 2px);
height: 100%; height: 100%;
left: calc(-1 * var(--size)); left: calc(-1 * var(--size));
background: no-repeat center center url('/images/logo-spine.svg') #222; background: no-repeat center center url("/images/logo-spine.svg") #222;
background-size: calc(var(--size) - .5rem) calc(var(--size) - .5rem); background-size: calc(var(--size) - .5rem) calc(var(--size) - .5rem);
transform-origin: right; transform-origin: right;
transform: skewY(45deg); transform: skewY(45deg);
@ -2398,11 +2390,11 @@ aside button.close:active{
} }
.ebook figure picture::before{ /* pages */ .ebook figure picture::before{ /* pages */
content: ''; content: "";
position: absolute; position: absolute;
width: var(--size); width: var(--size);
height: 235px; height: 235px;
background: url('/images/pages-texture.svg') #fff; background: url("/images/pages-texture.svg") #fff;
background-size: .5rem; /* needed to prevent visual glitch in FF */ background-size: .5rem; /* needed to prevent visual glitch in FF */
top: calc(-1 * (234px + (var(--size) / 2)) + 5px); top: calc(-1 * (234px + (var(--size) / 2)) + 5px);
left: calc(-1 * var(--size)); left: calc(-1 * var(--size));
@ -2414,7 +2406,7 @@ aside button.close:active{
} }
.ebook figure picture::after{ /* back board */ .ebook figure picture::after{ /* back board */
content: ''; content: "";
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -2428,7 +2420,7 @@ aside button.close:active{
} }
.ebook figure::before{ /* shadow */ .ebook figure::before{ /* shadow */
content: ''; content: "";
background: rgba(0, 0, 0, .5); background: rgba(0, 0, 0, .5);
position: absolute; position: absolute;
top: calc(353px - var(--size)); top: calc(353px - var(--size));

View file

@ -89,3 +89,7 @@ aside.donation .flipboard span{
border-color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.5);
box-shadow: none; box-shadow: none;
} }
label.email::before{
text-shadow: none;
}

View file

@ -60,7 +60,7 @@ main.manual{
} }
main.manual.outdated{ main.manual.outdated{
background: url('/images/outdated.svg'); background: url("/images/outdated.svg");
} }
main code:first-child{ main code:first-child{
@ -335,6 +335,20 @@ code.full .utf{
text-align: center; text-align: center;
} }
.alert p.warning::before,
.alert p.warning::after{
content: "\f071";
font-family: "Fork Awesome";
}
.alert p.warning::before{
margin-right: 1rem;
}
.alert p.warning::after{
margin-left: 1rem;
}
figure p.wrong{ figure p.wrong{
text-decoration-line: underline; text-decoration-line: underline;
text-decoration-style: wavy; text-decoration-style: wavy;

Binary file not shown.