blob: 6c45816fec94ace1c0f11a16e163334ebfdb2a3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
.book {
.book-header {
font-family: @font-family-sans;
position: fixed;
overflow: hidden;
top: 0px;
right: 0px;
left: 0px;
height: @header-height;
z-index: 2;
font-size: 0.85em;
color: @header-color;
background: @header-background;
box-shadow: 0 1px 2px hsla(200,10%,80%,0.6);
.btn {
display: block;
height: @header-height;
padding: 0px 15px;
border-bottom: none;
color: @header-button-color;
text-transform: uppercase;
line-height: @header-height;
.box-shadow(none) !important;
&:hover {
position: relative;
text-decoration: none;
color: @header-button-hover-color;
background: @header-button-hover-background;
}
}
h1 {
margin: 0px;
font-size: 20px;
text-align: center;
line-height: @header-height;
padding-left: 200px;
padding-right: 200px;
.transition(margin-left 0.5s ease);
a, a:hover {
color: inherit;
text-decoration: none;
}
@media (max-width: 800px) {
display: none;
}
}
}
&.with-summary {
.book-header h1 {
margin-left: 250px;
}
}
&.without-animation {
.book-header h1 {
.transition(none) !important;
}
}
}
|