fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc0bb80
)
max width for images in html book view
author
Jan Szejko
<jan.szejko@gmail.com>
Tue, 5 Apr 2016 11:27:52 +0000
(13:27 +0200)
committer
Jan Szejko
<jan.szejko@gmail.com>
Tue, 5 Apr 2016 11:27:52 +0000
(13:27 +0200)
src/wolnelektury/static/css/master.book.css
patch
|
blob
|
history
diff --git
a/src/wolnelektury/static/css/master.book.css
b/src/wolnelektury/static/css/master.book.css
index
29c8476
..
1c615df
100644
(file)
--- a/
src/wolnelektury/static/css/master.book.css
+++ b/
src/wolnelektury/static/css/master.book.css
@@
-1,6
+1,6
@@
body {
font-size: 16px;
body {
font-size: 16px;
- font: Georgia, "Times New Roman", serif;
+ font
-family
: Georgia, "Times New Roman", serif;
line-height: 1.5em;
margin: 0;
}
line-height: 1.5em;
margin: 0;
}
@@
-28,6
+28,8
@@
a {
img {
border: none;
img {
border: none;
+ max-width: 36em;
+ margin-top: 1em;
}
#logo {
}
#logo {
@@
-39,8
+41,8
@@
img {
#menu {
position: fixed;
#menu {
position: fixed;
- left: 0
em
;
- top: 0
em
;
+ left: 0;
+ top: 0;
width: 100%;
height: 1.5em;
background: #333;
width: 100%;
height: 1.5em;
background: #333;
@@
-95,7
+97,7
@@
img {
#toc, #themes, #nota_red, #info, #other-versions, #objects {
position: fixed;
#toc, #themes, #nota_red, #info, #other-versions, #objects {
position: fixed;
- left: 0
em
;
+ left: 0;
top: 1.5em;
width: 37em;
padding: 1.5em;
top: 1.5em;
width: 37em;
padding: 1.5em;
@@
-111,7
+113,7
@@
img {
}
#download {
position: fixed;
}
#download {
position: fixed;
- left: 0
em
;
+ left: 0;
top: 1.5em;
width: 37em;
padding: 1.5em;
top: 1.5em;
width: 37em;
padding: 1.5em;