-
Notifications
You must be signed in to change notification settings - Fork 2
/
example1.css
268 lines (226 loc) · 5.85 KB
/
example1.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
/*
Theme Name: ODN theme
Theme URI: http://wordpress.org/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: Remko Siemerink, Waag Society
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu
*/
/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
background: transparent;
border: 0;
margin: 0;
padding: 0;
vertical-align: baseline;
}
html, body {
/* height:100%;*/
line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
clear: both;
font-weight: normal;
}
ol, ul {
list-style: none;
}
blockquote {
quotes: none;
}
blockquote:before, blockquote:after {
content: '';
content: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
a img {
border: none;
}
html, body {
margin: 0;
padding: 0;
}
a {
text-decoration:none;
color:black;
}
pre {
font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
/*BOOOOKTYPE !!!!!!!!!!!!!!!*/
/*
o r i g i n a l
.example-text {
-webkit-flow-into: example-text-flow;
padding: 0;
margin: 0;
}
.regions {
-webkit-flow-from: example-text-flow;
border: 1px solid black;
padding: 2px;
margin: 5px;
width: 200px;
height: 50px;
}*/
@page {
size:492pt 684pt;
margin:0pt 0pt 0pt 0pt;
}
@media screen {.bt-page {
margin-top: 12pt ;
margin-bottom: 12pt;
}}
.content-text { -webkit-flow-into: content-text-flow; padding: 0; margin: 0; }
.content-text2 { -webkit-flow-into: content2-text-flow; padding: 0; margin: 0; }
.content-text3 { -webkit-flow-into: content3-text-flow; padding: 0; margin: 0; }
.content-text4 { -webkit-flow-into: content4-text-flow; padding: 0; margin: 0; }
.content-text5 { -webkit-flow-into: content4-text-flow; padding: 0; margin: 0; }
.footnotes { -webkit-flow-into: footnotes-text-flow; padding: 0; margin: 0; }
.bt-page {
position:relative;
z-index:1;
width:492pt;
height:684pt;
background-color:white;
margin-left: auto ;
margin-right: auto;
}
.repeating {
position:relative;
z-index:2;
width:100%;
height:100%;
background-color:white; /*make color for debug clarity, do not use border!*/
}
.redoutline {
border: 1px solid red ;
}
.region {
-webkit-flow-from: content-text-flow;
/* background-color:yellow;*/
position:absolute;
z-index:3;
}
.headermargincontainer {
width:420pt;
position:absolute;
font: 8pt / 12pt 'Un Dotum', Arial, sans-serif ;
text-transform: uppercase;
font-weight: bold;
top:24pt;
border-bottom:1pt solid black;
}
.footermargincontainer {
width:420pt;
height:1px;
position:absolute;
left:36pt;
bottom:36pt;
border-top:1pt solid black;
}
.pagenumber {
position:absolute;
font: 18pt / 19.6pt 'Inconsolata', Arial, sans-serif ;
top:50%;
}
.first .pagenumber, .second .pagenumber { display:none; }
.leftpage .headermargincontainer { left:36pt; }
.rightpage .headermargincontainer { right:36pt; }
.leftpage .pagenumber { left:5mm; }
.rightpage .pagenumber { right:5mm; }
.leftpage .headermargincontainer p:after {
content:'Open Design Now';
}
.rightpage .headermargincontainer p:after {
content:'Authors and owners'; /* var: this is the article title */
}
.fullpageboxhack {
position:relative;
width:420pt; /*= pagewidth - leftmarginwidth (36) - rightmarginwidth (36)*/
height:588pt; /* =pageheight - topmarginheight (36) - bottommarginheight (36) - top&bottompadding (24) */
page-break-after: always;
}
.chapter-title-page .title {
position:absolute;
font: 67pt 'Inconsolata', Arial, sans-serif ;
line-height:60pt;
text-transform: uppercase;
}
.chapter-title-page .author {
position:absolute;
bottom:0pt;
font: 67pt 'Inconsolata', Arial, sans-serif ;
line-height:60pt;
text-transform: uppercase;
}
.introduction {
font: 20pt 'Inconsolata', Arial, sans-serif ;
line-height:24pt;
}
.about-author {
height:120pt;
font: 8pt / 12pt 'Inconsolata', Arial, sans-serif ;
position:absolute;
bottom:0pt;
-webkit-column-count:2;
-webkit-column-gap:12pt;
}
.actual-text {
/* -webkit-column-count:2;
-webkit-column-gap:12pt;*/
}
.actual-text p {
font: 10pt 'Un Dotum', Arial, sans-serif ;
line-height:12pt;
margin-bottom:12pt;
}
.actual-text blockquote p {
font: 16pt / 18pt 'Inconsolata', Arial, sans-serif;
text-transform: uppercase;
margin-left: 12pt;
margin-right: 12pt;
margin-top: 12pt;
margin-bottom: 18pt;
}
.actual-text a {
font: 5pt / 12pt 'Inconsolata', Arial, sans-serif;
background: yellow;
text-decoration: none;
position: relative;
padding-left:5pt;
padding-right:5pt;
bottom: 1pt;
}
.actual-text h3 {
font: 11pt / 12pt 'Un Dotum', Arial, sans-serif ;
font-weight: bold;
margin-top: 12pt;
}
.subtext {
font: 10pt 'Un Dotum', Arial, sans-serif ;
line-height:12pt;
-webkit-column-count:3;
-webkit-column-gap:12pt;
}
#bodypreraw {
min-height: 300px;
}