Mercurial > hg > mpdl-group
diff software/eXist/webapp/mpdl/presentation/pageHtml.css @ 7:5589d865af7a
Erstellung XQL/XSL Applikation
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 08 Feb 2011 15:16:46 +0100 |
parents | |
children | d6f528ad5d96 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/eXist/webapp/mpdl/presentation/pageHtml.css Tue Feb 08 15:16:46 2011 +0100 @@ -0,0 +1,245 @@ +/* general */ +.it { font-style:italic } /* DESpecs: _ _ and attribute "it" */ +.it span.it { font-style:normal } /* DESpecs: _ _ within a paragraph already in italics */ +.bf { font-weight:bold } /* DESpecs: <bf> */ +.sc { font-variant:small-caps } /* DESpecs: <sc> */ +.sub { vertical-align:sub; font-size:.8em } /* DESpecs: <_> */ /* line-height:1em; ? */ +.super { vertical-align:super; font-size:.8em } /* DESpecs: <^> */ +.sm { font-size:smaller } /* DESpecs: <sm>, if within <p> */ +.ul { text-decoration:underline } /* DESpecs: <ul> */ +.ol { text-decoration:overline } /* DESpecs: <ol> */ +.st { text-decoration:line-through } /* DESpecs: <st> */ +.red { color:red } /* DESpecs: <red> */ +.sp { letter-spacing:0.3em } /* DESpecs: <sp> */ /* "font-stretch:wider;" is deprecated */ +.center { text-align:center } +.fr { font-family:'Lucida blackletter'} /* preliminary representation of Fraktur */ + +/* unused */ +.setoff { margin-left:2cm; margin-right:2cm } + +/* xml presentation */ +span.xml.elementName { font-weight:bold;color:purple; } +span.xml.attributeName { font-weight:bold; } +span.xml.attributeValue { color:blue; } +ul.xml.element { margin-left:0px;padding-left:8px } +ul.xml.element.highlight { background-color:#D3D3D3; } /* LightGrey */ + +/* drop cap (Initiale) */ +span.dc { + float: left; + font-family: Georgia; + font-size: 250%; + line-height: 0.8em; + text-transform: uppercase; /* immer als Großbuchstabe */ + margin-right: 10px; + padding-top: 1px; +} + +/* variables and numbers */ +span.var { font-style:italic; } +span.var.segment { font-style:italic; text-decoration:overline; } +span.var.line { font-style:italic; text-decoration:underline; } +span.var.gnomon { font-style:italic; text-decoration:line-through; } +span.num { color:maroon } + +/* foreign languages */ +span.foreign { color:green; } +span.foreign a:link { color:green; } +span.foreign a:visited { color:green; } +span.foreign.el span.foreign.grc span.foreign.greek { color:green; } +span.foreign.en span.foreign.english { color:green; } +span.foreign.fr span.foreign.french { color:green; } +span.foreign.la span.foreign.latin { color:green; } +/* ..... */ + + +/* indentation at the beginning of a paragraph: <emph class="sc it"> */ +span.sc { font-weight:bold; } +span.sc.it {font-weight:bold; font-style:italic; } + +/* regularized words */ +span.reg { color:purple; } + +/* ref */ +span.ref { font-style:italic; } + +/* quotes */ +div.q { margin-left:10px; font-style:italic; } +div.quote { margin-left:10px; font-style:italic; } +div.blockquote { margin-left:10px; font-style:normal; } +div.set-off { margin-left:10px; font-style:italic; } + +/* notes */ +span.note { font-style:italic; } + +/* GIS elements */ +span.place { background-color:#87F717; color:black; } /* Lawn green */ +span.person { background-color:#87F717; color:black; } /* Lawn green */ +span.time { background-color:#87F717; color:black; } /* Lawn green */ +span.event { background-color:#87F717; color:black; } /* Lawn green */ + +/* preliminary representations of single/double/wavy/circled lines in Chinese text */ +span.sl { text-decoration:underline; } /* DESpecs for Chinese: <sl> */ +span.dl { text-decoration:underline; } /* DESpecs for Chinese: <dl> */ +span.wl { text-decoration:underline; } /* DESpecs for Chinese: <wl> */ +span.cl { text-decoration:underline; } /* DESpecs for Chinese: <cl> */ + +/* sentence */ +span.s.highlight { background-color:#D3D3D3; } /* LightGrey */ +span.s:hover { background-color:#D3D3D3; } /* LightGrey */ + +/* highlighting */ +span.hit.highlight { background-color:#77DD77; } /* pastell green */ + +/* Links +a:link {text-decoration: none;} +a:visited {text-decoration: none} +a:active {text-decoration: none} +a:hover {text-decoration: underline; color: red;} + */ + +/* table */ +table { margin-left:30px; } + +table.toc { width:100%; margin-left:1px; } + +/* page splittings: hr etc. */ +hr.notesBottom { + border:none; + border-top:2px dashed black; + height:2px; + color:#000000; + background:transparent; +} + +div.handwritten { + margin-left:10%; +} + +/* divs */ +div.float.none { + margin-left:10%; +} +div.float.right { + float:right; + clear:both; + margin-right:10% +} + +/* toc elements */ +div.toc.float.right { + text-align:center; + vertical-align:top; + top:10%; + clear:right; + font-style:normal; +} +div.toc.float.right a:link, a:visited { + text-decoration: none; + font-style: normal; +} +div.toc.one { + clear: left; + text-align: left; + vertical-align:top; + float:left; + margin-left:2%; + width:75%; +} +div.toc.two { + clear:left; + text-align: left; + vertical-align:top; + float:left; + margin-left:2%; + width:75%; +} +div.toc.three { + clear:left; + text-align: left; + vertical-align:top; + float:left; + margin-left:2%; + width:75%; +} +div.toc.four div.toc.five div.toc.six div.toc.seven { + clear:left; + text-align: left; + vertical-align:top; + float:left; + margin-left:2%; + width:75%; +} + + +/* page styling for generating PDF documents with Flying Saucer */ +div.pageNumber { + display:none; +} +div.pageNumberOrig { + display:none; +} +div.countPages { + display:none; +} +div.countPlaces { + display:none; +} +div.countTocEntries { + display:none; +} +div.countFigureEntries { + display:none; +} +div.pageHeaderTitle { + font-weight:bold; + text-align:center; +} +body { + counter-reset: pn; +} +div.page:before { + float:right; + font:11pt sans-serif; + font-weight:bold; + content:"[Page " counter(pn) "]"; + counter-increment:pn; + page:pdfPage; + clear:both; +} +div.page { + page-break-after:always; + page:pdfPage; + clear:both; +} +@page pdfPage { + size:A4; + margin-top:0.7cm; + margin-bottom:0.7cm; + margin-left:0.7cm; + margin-right:0.7cm; + padding:0.2cm; + border:thin solid #808080; + @top-left { font: 11pt sans-serif; padding-left: 0.2cm; padding-right: 1cm; font-weight:bold;}; + @top-right { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;}; + @bottom-left { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;}; + @bottom-right { font: 11pt sans-serif; white-space: nowrap; content: counter(page);}; +} + +div.tocPage { + page-break-after:always; + page:tocPage; +} +@page tocPage { + size:A4; + margin-top:0.7cm; + margin-bottom:0.7cm; + margin-left:0.7cm; + margin-right:0.7cm; + padding:0.2cm; + border:thin solid #808080; + @top-left { font: 11pt sans-serif; padding-left: 0.2cm; padding-right: 1cm; font-weight:bold;}; + @top-right { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;}; + @bottom-left { font: 11pt sans-serif; white-space: nowrap; font-weight:bold;}; + @bottom-right { font: 11pt sans-serif; white-space: nowrap; content: counter(page);}; +}