added assets

This commit is contained in:
Hazel Noack 2025-06-10 14:32:01 +02:00
parent f46c0a1711
commit ee0cbf597e
2 changed files with 139 additions and 1 deletions

View File

@ -32,7 +32,7 @@ build-backend = "hatchling.build"
directory = "dist" directory = "dist"
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]
include = ["scribble_to_epub/*.py"] include = ["scribble_to_epub/*.py", "scribble_to_epub/*.css"]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["scribble_to_epub"] packages = ["scribble_to_epub"]

View File

@ -0,0 +1,138 @@
.epub-author {
color: #555;
}
.epub-link {
margin-bottom: 30px;
}
.epub-link a {
color: #666;
font-size: 90%;
}
.toc-author {
font-size: 90%;
color: #555;
}
.toc-link {
color: #999;
font-size: 85%;
display: block;
}
hr {
border: 0;
border-bottom: 1px solid #dedede;
margin: 60px 10%;
}
ol {
list-style-type: none;
}
li {
margin: 10px 0;
}
span[property="genre"] {
margin-right: 10px;
}
span[property="genre"]:last-child {
margin-right: inherit;
}
.fic_row.details>div {
margin-top: 10px;
margin-bottom: 10px;
}
.sp-head::before {
content: "⚠";
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wi_news,
.sp-wrap,
.wi_authornotes {
display: block;
}
.wi_novel_title,
.wi_news_title,
.sp-head {
margin-top: 10px;
margin-bottom: 10px;
font-size: 1.3em;
font-weight: bold;
}
.wi_news,
.wi_authornotes {
padding: 15px 35px;
border-radius: 5px;
position: relative;
}
.an_username a {
font-weight: 600;
}
.wi_authornotes_body {
padding-top: 10px;
}
blockquote {
margin: 20px auto;
padding: 1.2em 30px 1.2em 75px;
border-left: 8px solid #333;
line-height: 1.6;
position: relative;
background: #f2f2f2;
}
blockquote::before {
content: "\201C";
font-size: 4em;
position: absolute;
left: 10px;
top: -10px;
}
blockquote::after {
content: "";
}
blockquote span {
display: block;
font-style: normal;
margin-top: 1em;
}
.spdiv {
display: none;
}
i.fa {
font-style: normal;
}
.fa-exclamation-triangle::before {
content: "⚠";
}
.sp-body {
display: block !important;
}
img:not([id="acc_ava_change profile"]) {
max-width: 100%;
height: auto;
}