fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7bbeecb
)
for bible
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 3 Dec 2024 14:49:29 +0000
(15:49 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 3 Dec 2024 14:49:29 +0000
(15:49 +0100)
requirements/requirements.txt
patch
|
blob
|
history
src/wolnelektury/static/2022/styles/layout/_text.scss
patch
|
blob
|
history
src/wolnelektury/static/js/book_text/references.js
patch
|
blob
|
history
diff --git
a/requirements/requirements.txt
b/requirements/requirements.txt
index
8c50854
..
f6fd085
100644
(file)
--- a/
requirements/requirements.txt
+++ b/
requirements/requirements.txt
@@
-39,7
+39,7
@@
mutagen==1.45.1
sorl-thumbnail==12.8.0
# home-brewed & dependencies
sorl-thumbnail==12.8.0
# home-brewed & dependencies
-librarian==24.5
+librarian==24.5
.1
# celery tasks
celery[redis]==5.2.7
# celery tasks
celery[redis]==5.2.7
diff --git
a/src/wolnelektury/static/2022/styles/layout/_text.scss
b/src/wolnelektury/static/2022/styles/layout/_text.scss
index
d744968
..
a41d943
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/layout/_text.scss
+++ b/
src/wolnelektury/static/2022/styles/layout/_text.scss
@@
-293,7
+293,7
@@
h2 {
h3, .subtitle2 {
font-size: 1.5em;
h3, .subtitle2 {
font-size: 1.5em;
- margin: 1.5em 0 0;
+ margin: 1.5em 0
1em
0;
font-weight: normal;
line-height: 1.5em;
}
font-weight: normal;
line-height: 1.5em;
}
@@
-471,6
+471,10
@@
p.paragraph {
margin: 0;
text-indent: 1.5em;
}
margin: 0;
text-indent: 1.5em;
}
+p.paragraph.werset {
+ text-indent: 0;
+ margin-bottom: 1em;
+}
.motto {
text-align: justify;
.motto {
text-align: justify;
@@
-530,6
+534,9
@@
p.place-and-time {
em.math, em.foreign-word, em.book-title, em.didaskalia {
font-style: italic;
}
em.math, em.foreign-word, em.book-title, em.didaskalia {
font-style: italic;
}
+em.foreign-word.foreign-word-protected {
+ font-style: normal;
+}
em.author-emphasis {
letter-spacing: 0.1em;
em.author-emphasis {
letter-spacing: 0.1em;
@@
-719,7
+726,11
@@
a.reference.interesting:after {
font-size: 18px;
font-style: normal;
font-weight: 400;
font-size: 18px;
font-style: normal;
font-weight: 400;
- line-height: 28px; /* 155.556% */
+ line-height: 28px; /* 155.556% */
+
+ em.foreign-word.foreign-word-protected {
+ font-style: normal;
+ }
}
#footnote-link {
}
#footnote-link {
diff --git
a/src/wolnelektury/static/js/book_text/references.js
b/src/wolnelektury/static/js/book_text/references.js
index
ef6c51c
..
fa4a35a
100644
(file)
--- a/
src/wolnelektury/static/js/book_text/references.js
+++ b/
src/wolnelektury/static/js/book_text/references.js
@@
-615,7
+615,7
@@
let range = document.createRange();
let $p = $(this).nextAll('.paragraph').first()
let range = document.createRange();
let $p = $(this).nextAll('.paragraph').first()
- range.selectNode($p[0]);
+ range.selectNode
Contents
($p[0]);
sel.addRange(range);
qbox.showForSelection(sel);
sel.addRange(range);
qbox.showForSelection(sel);