Skip to content

Commit

Permalink
all formats
Browse files Browse the repository at this point in the history
  • Loading branch information
a-pub committed Oct 31, 2024
1 parent 53abc87 commit 0fd1cb4
Show file tree
Hide file tree
Showing 135 changed files with 7,591 additions and 894 deletions.
Binary file modified book.epub
Binary file not shown.
25 changes: 25 additions & 0 deletions epub/EPUB/copyright.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en" lang="en">
<head>
<title>Generate Lorem Ipsum placeholder text. Select the number of characters, words, sentences or paragraphs, and hit generate!</title>
<meta charset="utf-8" />
</head>
<body class="epub copyrightpage">
<section epub:type="frontmatter copyright-page">
<div id="copyright">
<p>
Generate Lorem Ipsum placeholder text. Select the number of characters, words, sentences or paragraphs, and hit generate!
by The Author; Author; Author; Author
</p>
<p>Creative Commons International 4.0</p>
<p>Title: Generate Lorem Ipsum placeholder text. Select the number of characters, words, sentences or paragraphs, and hit generate!</p>
<p>Author: The Author; Author; Author; Author</p>
<p>Published by: The Publisher</p>
<p>Last updated: 2024-10-31</p>
<p>Created: 2023-06-13</p>
<p>Language: English (United States)</p>
<p>Created by: The Editor</p>
</div>
</section>
</body>
</html>
239 changes: 239 additions & 0 deletions epub/EPUB/css/document.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
#document-editable,
#footnote-box-container {
counter-reset: cat-figure cat-equation cat-photo cat-table footnote-counter footnote-marker-counter;
}

/* CSL */

.csl-bib-body {
padding-top: .5em;
padding-bottom: .5em;
}

.csl-left-margin {
padding-right: 1ch;
clear: left;
float: left;
white-space: pre;
}

.csl-entry i {
font-style: italic;
}

.csl-entry b {
font-weight: bold;
}

.csl-entry sup {
vertical-align: super;
font-size: smaller;
}

.csl-entry sub {
vertical-align: sub;
font-size: smaller;
}

.csl-indent {
padding-left: .5in;
}

.csl-entry {
clear: left;
}

.csl-right-inline {
padding-left: 20px;
}

span.anchor {
text-decoration: underline;
color: var(--cs-4-text);
}

figure figcaption {
margin-top: 10px;
font-size: .9em;
}

figure img {
max-width: 100%;
}

figure {
width: calc(80% - 12px);
border: 1px solid black;
padding: 5px;
text-align: center;
break-inside: avoid;
cursor: pointer;
margin: 10%;
clear: none;
}

.aligned-right {
float: right;
}

.aligned-left {
float: left;
}

.aligned-center {
float: none;
display: block;
margin-left: auto;
margin-right: auto;
align-content: center;
}

.image-width-100 {
width: 80%;
box-sizing: border-box;
}

.image-width-75 {
width: 55%;
box-sizing: border-box;
}

.image-width-50 {
width: 40%;
box-sizing: border-box;
}

.image-width-25 {
width: 21%;
box-sizing: border-box;
}

figure[data-category='figure'] figcaption span.label::after {
counter-increment: cat-figure;
content: ' ' counter(cat-figure);
}

figure[data-category='equation'] figcaption span.label::after {
counter-increment: cat-equation;
content: ' ' counter(cat-equation);
}

figure[data-category='photo'] figcaption span.label::after {
counter-increment: cat-photo;
content: ' ' counter(cat-photo);
}

figure[data-category='table'] figcaption span.label::after,
table[data-category='table'] caption span.label::after {
counter-increment: cat-table;
content: ' ' counter(cat-table);
}

#footnote-box-container figure[data-category='figure'] figcaption span.label::after {
content: ' ' counter(cat-figure) 'A';
}

#footnote-box-container figure[data-category='photo'] figcaption span.label::after {
content: ' ' counter(cat-photo) 'A';
}

#footnote-box-container figure[data-category='table'] figcaption span.label::after,
#footnote-box-container table[data-category='table'] caption span.label::after {
content: ' ' counter(cat-table) 'A';
}

figure[data-category='table'] figcaption span.text::before,
figure[data-category='photo'] figcaption span.text::before,
figure[data-category='figure'] figcaption span.text::before,
table[data-category='table'] caption span.text::before {
content: ': ';
}

table {
clear: both;
}

.table-25 {
width: 25%;
}

.table-50 {
width: 50%;
}

.table-75 {
width: 75%;
}

.table-100 {
width: 100%;
}

.table-center {
margin-left: auto !important;
margin-right: auto !important;
clear: both;
}

.table-left {
float: left;
}

.table-right {
float: right;
}

.user-contents a {
text-decoration: underline;
}

.article table[data-layout='fixed'] {
table-layout: fixed !important;
}

.article table[data-layout='auto'] {
table-layout: auto !important;
}

.article-title {
font-size: 48px;
}

.article .table-of-contents h1,
.article .table-of-contents h2,
.article .table-of-contents h3,
.article .table-of-contents h4,
.article .table-of-contents h5,
.article .table-of-contents h6 {
font-size: 1em;
font-weight: normal;
margin-bottom: unset;
}

.article .table-of-contents h2 {
padding-left: 1em;
}

.article .table-of-contents h3 {
padding-left: 2em;
}

.article .table-of-contents h4 {
padding-left: 3em;
}

.article .table-of-contents h5 {
padding-left: 4em;
}

.article .table-of-contents h6 {
padding-left: 5em;
}

.article .table-of-contents h1.toc {
font-style: italic;
}

.underline {
text-decoration: underline;
}
Loading

0 comments on commit 0fd1cb4

Please sign in to comment.