fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix section counting/targetting from search snippet
[wolnelektury.git]
/
wolnelektury
/
static
/
css
/
book_box.css
diff --git
a/wolnelektury/static/css/book_box.css
b/wolnelektury/static/css/book_box.css
index
f54f5ff
..
0ba168c
100755
(executable)
--- a/
wolnelektury/static/css/book_box.css
+++ b/
wolnelektury/static/css/book_box.css
@@
-124,7
+124,7
@@
.book-box-body {
height: 17em;
.book-box-body {
height: 17em;
- overflow:
hidden;
+ overflow:hidden;
position: relative;
}
position: relative;
}
@@
-134,7
+134,7
@@
.book-box-head {
min-height: 7em;
.book-box-head {
min-height: 7em;
-
margin
-top: 1.4em;
+
padding
-top: 1.4em;
margin-bottom: 1em;
}
.book-box-head a {
margin-bottom: 1em;
}
.book-box-head a {
@@
-142,9
+142,12
@@
}
.book-box-head .author {
font-size: 1.1em;
}
.book-box-head .author {
font-size: 1.1em;
+ max-width: 24em;
}
.book-box-head .title {
font-size: 2.4em;
}
.book-box-head .title {
font-size: 2.4em;
+ height: 2.4em;
+ overflow:hidden;
margin-top: .3em;
}
.book-box-body .tags {
margin-top: .3em;
}
.book-box-body .tags {
@@
-160,7
+163,7
@@
.book-box-download a {
position: relative;
.book-box-download a {
position: relative;
- z-index: 1;
+ z-index: 1
01
;
}
.book-box-formats {
}
.book-box-formats {
@@
-175,7
+178,7
@@
-webkit-box-shadow: 2px 2px 2px #ddd;
box-shadow: 2px 2px 2px #ddd;
-webkit-box-shadow: 2px 2px 2px #ddd;
box-shadow: 2px 2px 2px #ddd;
- z-index: 0;
+ z-index:
10
0;
top: -1.454em;
left: -1.727em;
}
top: -1.454em;
left: -1.727em;
}
@@
-193,15
+196,18
@@
}
.book-box-tools {
}
.book-box-tools {
+ width: 46em;
font-size: 1.1em;
}
.book-wide-box .book-box-tools {
margin-left: 14em;
font-size: 1.1em;
}
.book-wide-box .book-box-tools {
margin-left: 14em;
+ width: 32em;
}
}
-.book-wide-box #themes-list-wrapper {
- margin-left: 14em;
+.book-wide-box #theme-list-wrapper {
+ margin-left: 15.4em;
+ width: 30em;
}
}
@@
-269,17
+275,24
@@
ul.inline-items li {
.book-wide-box .other-tools {
float: left;
width: 14.5em;
.book-wide-box .other-tools {
float: left;
width: 14.5em;
- margin:
6
em 0 0 1.5em;
+ margin:
5
em 0 0 1.5em;
}
.book-wide-box .other-download {
float: left;
width: 22em;
}
.book-wide-box .other-download {
float: left;
width: 22em;
- margin: 6em 1.5em 0em 1.5em;
+ margin: 5em 1.5em 0em 1.5em;
+}
+.book-wide-box .other-tools h2,
+.book-wide-box .other-download h2,
+.book-wide-box .other-tools ul,
+.book-wide-box .other-download ul {
+ font-size: 1.1em;
}
}
+
.star {
font-size: 2.25em;
margin-right: .5em;
.star {
font-size: 2.25em;
margin-right: .5em;
@@
-319,8
+332,10
@@
ul.inline-items li {
}
.snippets .snippet-text {
}
.snippets .snippet-text {
+ background: #f7f7f7;
font-size: 1.2em;
margin: 1.083em 0em;
font-size: 1.2em;
margin: 1.083em 0em;
+ padding: 1em;
}
.snippets .anchor {
}
.snippets .anchor {