forked from Treesaver/treesaver.walkthrough
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
185 lines (160 loc) · 2.99 KB
/
style.css
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
.treesaver body {
/* Hide scrollbars */
overflow: hidden;
/* Use full body canvas */
margin: 0;
border: 0;
padding: 0;
}
body {
font-family: Georgia, Serif;
font-size: 16px;
color: #434;
}
h2 {
font-size: 36px;
line-height: 48px;
font-weight: normal;
margin: 24px 0;
color: #666;
}
h2 .chapter {
display: block;
font-size: 16px;
line-height: 24px;
color: #999;
}
p {
margin: 0;
text-indent: 24px;
}
hr {
margin: 24px 0;
border: none;
padding: 0;
height: 24px;
background: url('../img/horizontal-rule.png') 50% 50% no-repeat;
}
.chrome, .viewer, .grid, .column, .container {
/* Manually position everything */
position: absolute;
/* Make sure seams aren't visible */
overflow: hidden;
/* Set the base vertical grid */
line-height: 24px;
}
/* Stretch the viewer to fill the screen */
.viewer {
top: 0;
bottom: 40px;
left: 0;
right: 0;
}
.grid {
width: 280px;
margin: 0 72px;
opacity: .25;
min-height: 30px;
}
.cols-2 {
width: 590px;
}
.cols-3 {
width: 910px;
}
.column, .container {
width: 280px;
top: 15px;
bottom: 15px;
left: 0;
}
.col-2 {
left: 305px;
}
.col-3 {
left: 615px;
}
.container.cols-2 {
width: 600px;
}
.container.cols-3 {
width: 920px;
}
#currentPage {
opacity: 1;
}
.controls {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
height: 30px;
line-height: 30px;
font-family: Helvetica, Sans-Serif;
}
.pagenumbers {
display: block;
text-align: center;
color: #999;
font-size: 12px;
font-weight: bold;
}
.controls .pagewidth {
margin: 0 auto;
position: relative;
}
.controls .next {
position: absolute;
right: 0;
top: 0;
}
.controls .prev {
position: absolute;
left: 0;
top: 0;
}
/* Button styling from ubuwaits' css3-buttons
* http://github.com/ubuwaits/css3-buttons
*/
button {
font-family: Helvetica, Sans-Serif;
font-size: 14px;
line-height: 20px;
height: 30px;
box-sizing: border-box;
font-weight: bold;
padding: 4px 12px;
color: #666;
background: #eee;
background: -moz-linear-gradient(0% 100% 90deg, #ccc, #eee);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ccc));
border: 1px solid #ccc;
border-bottom: 1px solid #bbb;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
margin: 0;
}
button:hover {
background: #ddd;
background: -moz-linear-gradient(0% 100% 90deg, #bbb, #ddd);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddd), to(#bbb));
border: 1px solid #bbb;
border-bottom: 1px solid #999;
cursor: pointer;
text-shadow: 0 1px 0 #ddd;
}
button:active {
border: 1px solid #aaa;
border-bottom: 1px solid #888;
-moz-box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
-webkit-box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
box-shadow: inset 0 0 5px 2px #aaa, 0 1px 0 0 #eee;
}
button:disabled, button:disabled:hover, button:active:disabled {
color: #ccc;
background: #f6f6f6;
border-color: #eee;
text-shadow: none;
box-shadow: none;
}