Commit 81e620d1 authored by gijs's avatar gijs

Some styles

parent c1aa878d
......@@ -16,12 +16,12 @@
@I-2-6: @I-2-5 + 11;
@I-2-7: @I-2-6 + 9;
@II-1: @I-2-7 + 12;
@II-2: @II-1 + 24;
@II-2: @II-1 + 22;
@II-3: @II-2 + 40;
@II-4: @II-3 + 26;
@II-5: @II-4 + 12;
@II-6: @II-5 + 28;
@III: @II-6 + 32;
@III: @II-6 + 30;
body#I-1-1 {
#pages {
......
......@@ -455,6 +455,11 @@
page-break-inside: avoid;
-webkit-region-break-inside: avoid;
&.stacked {
clear: none;
margin-right: 9mm;
}
&.full {
max-width: @page-width;
}
......@@ -564,9 +569,18 @@
font-family: 'Dauphine';
font-size: 80%;
}
}
/* Specific modifications */
#I-1-4 {
#main {
p:nth-of-type(2) {
-webkit-region-break-before: always;
}
}
}
span.img_ref, #main section.excursion span.img_ref{
display: none;
}
......
This diff is collapsed.
......@@ -315,7 +315,6 @@ em {
// text-decoration: underline;
font-weight: 400;
text-shadow: 0 1px 0 #fff, 0 2px 0 #fff, 0 -1px 0 #fff, 0 -2px 0 #fff, -1px 1px 0 #fff, -1px 2px 0 #fff, 1px 1px 0 #fff, 1px 2px 0 #fff, -1px 0 0 #fff, 0 -3px 0 #fff;
background: linear-gradient(#000000, #000000);
background-size: 1px 1px;
background-position: 0 92%;
......@@ -336,55 +335,61 @@ strong::after {
content: "\00a0 \00a0 \00a0 \00a0"!important;
}
h1 {
font-family: "dauphine";
font-size: 16pt !important;
border-right: 2px solid black;
border-right: 2px solid black;
border-bottom: 2px solid black;
text-align: center;
margin-bottom: -9pt;
margin-right: 6px;
float: left;
position: relative;
display: block;
}
h1, h1 span {
font-family: "dauphine";
font-size: 16pt !important;
text-align: center;
text-transform: uppercase;
letter-spacing: 1pt;
line-height: 21pt;
display: block;
padding:3px 13px 0px 10pt;
color:black;
float: left;
position: relative;
display: block;
}
.page:nth-of-type(1) {
h2 {
margin-top: 7px;
}
}
h2 {
}
h2, h2 span {
font-family: "dauphine" !important;
margin-top: -3px;
font-weight: "regular";
font-size: 23pt !important;
line-height: 21pt;
letter-spacing: -0.02em;
text-align: left;
}
h2 {
margin-top: -3px;
padding: 8pt 8pt 8pt 18pt;
text-align: left;
border-top: 3px solid black !important;
}
h2:first-line::before {
content: "\00a0" !important;
}
h4{
h4 {
padding : 0px 18px;
margin-top : 16px;
margin-bottom : 6px;
font-family: "dauphine" !important;
// font-family: 'Garamond12' !important;
}
h4, h4 span {
font-family: "dauphine" !important;
font-size: 13.5pt !important;
line-height: 13.25pt;
text-align: left !important;
......@@ -443,8 +448,6 @@ blockquote {
font-size: 10pt !important;
font-style: italic;
text-decoration: none;
text-shadow: none;
background: none;
}
}
......
......@@ -3,7 +3,7 @@
bookfolder=${1%/}
total=0
for pdffile in $bookfolder/pdfs/*-downsampled.pdf; do
for pdffile in $bookfolder/pdfs/*.pdf; do
pages=$(pdfinfo "${pdffile}" | awk '/Pages/ {print $2}')
echo "${pdffile} - ${pages}"
let total+=pages
......
......@@ -11,7 +11,7 @@ for bookfolder in $storiesfolder/book*; do
mkdir $chaptersfolder/$bookname
fi
for storypath in $bookfolder/*.html; do
\I+\.\d+
# \I+\.\d+
storyname=$(basename "${storypath}")
if [ ! -f "${chaptersfolder}/${bookname}/${storyname}" ]; then
echo "Making chapter for ${storyname}"
......
......@@ -20,5 +20,6 @@ python big_break_paragraphs.py $storiesfolder
python transform_keywords.py $storiesfolder
# python reintroduce_image_references.py $storiesfolder
python modify_images.py $storiesfolder
python wrap_last_sentence_paragraphs.py $storiesfolder/$book
bash build_src.sh $chaptersfolder ../js/src.js
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment