diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/style.css')
-rw-r--r-- | Master/texmf-dist/doc/latex/textpos/style.css | 297 |
1 files changed, 100 insertions, 197 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/style.css b/Master/texmf-dist/doc/latex/textpos/style.css index 8a6b4650b71..922fb17dc57 100644 --- a/Master/texmf-dist/doc/latex/textpos/style.css +++ b/Master/texmf-dist/doc/latex/textpos/style.css @@ -1,256 +1,159 @@ body { - color: #000; + color: #333; background: white; - margin-left: 10%; - margin-right: 10%; -} + margin-left: +30%; + margin-right: +20%; + padding: 0.5em; /* this will make a difference if I decide to + have the background a different colour */ + /* I can't decide on font: Optima's always nice, but Gill looks + agreeably intense. Helvetica's a decent fallback. */ + /* font-family: Optima, "Gill Sans", gill, Helvetica, sans-serif; */ + font-family: "Gill Sans", gill, Helvetica, sans-serif; + font-size: 11pt; + line-height: 150%; +} + +a:link { color: #66C; } +a:visited { color: #669; } +a[href]:hover { background: #EEE; } -/* Link colours should be specified, since text colour was in <body> */ -a:link { color: rgb(43,43,175); } -a:visited { color: rgb(43,43,175); } -a[href]:hover { background: rgb(175,175,43); } -/* -a:link { color: #009; } -a:active { color: #00C; } -a:visited { color: #600; } -a[href]:hover { background: #FF9; } /* CSS2 */ +div.abstract { + font-style: oblique; + text-align: left; +} +div.abstract em { font-style: normal; } +div.abstract code { + font-style: normal; + font-size: 80%; +} h1, h2, h3, h4, h5, h6 { - font-family: Optima, "Gill Sans", gill, sans-serif; + color: #822; + font-weight: 100; /* few fonts have ultra-light weights */ + line-height: 100%; /* no need to spread out titles */ } h1 { - background: rgb(175,43,43); - /* background: #C33; */ - padding: 1em; - border-style: none; - margin-left: -10%; - margin-right: -10%; - color: #FFF; + margin-left: -40%; + margin-right: -5%; + padding: 0.5em; + border: solid #666; text-align: right; - font: 24pt/30pt; } -h1 a:link { color: #99F; } -h1 a:visited { color: #99F; } -h1 a[href]:hover { background: #F43; } - h2 { - color: #C33; - margin-left: -5%; - /* clear: both; -- don't do this, or else initial toc no longer - looks floated */ + margin-left: -40%; + margin-right: -5%; + padding: 0.2em; + border-top: solid thin #666; + clear: both; } - -p.figure { - text-align: center; +h3 { + margin-left: -30%; + float: left; + width: 25%; + display: block; + text-align: right; + vertical-align: bottom; + padding-top: 0pt; + padding-right: 0.5em; + margin-top: 0pt; + line-height: 120%; } -p.copyright { - font-size: x-small; +/* +h4 { + color: #C66; } +*/ -dt { - margin-left: +5%; - font-style: italic; - margin-top: 0.5ex; -} -dd { - margin-bottom: 0.5ex; +pre, table { background: #dde; } + +pre { + padding: 1em; + line-height: 130%; } -li { - margin-top: 0.5ex; - margin-bottom: 0.5ex; +table { + font-size: smaller; } -li.current { - font-weight: bold; +td { + padding: 0.5ex; } +Q:before { content: "“"; } +Q:after { content: "”"; } + img.smallimage { float: right; margin: 24pt; + margin-right: -30%; } -img.smallimageleft { - float: left; - margin: 24pt; -} - -pre { - margin: +5%; - background: #FF9; +div.signature { + margin-left: -40%; + margin-right: -5%; + text-align: right; + border: solid #666; + padding: 0.3em; clear: both; } +/* ============================================================ + * Some other curiosities of my one-time formatting for web pages + */ pre.doc-history { - margin-left: 30%; - font-family: Optima, Arial, sans-serif; - font-size: x-small; - background: #EEE; + font-size: xx-small; + background #eee; + line-height: 100%; } -table { - /* background-color: #CCF; */ - background-color: white; -} -td { - /* Hmmm, I still get the background showing through... */ - border-style: none; - padding: 4px; - margin: 2px; -} -/* header can be indiated two ways, either with <th>, - or with <tr class='header'> */ -tr.header { - background-color: #C33; - color: white; -} -th { - background-color: #C33; - color: white; -} -/* Odd and even table rows */ -tr.r0 { - background-color: #FBA; -} -tr.r1 { - background-color: #D99; -} +div.subtoc, div.subsubtoc { display: none; } + +/* ============================================================ + * Special formatting for ToC + */ -q:before { content: "`"; } -q:after { content: "\'"; } /* -q:before { content: open-quote; } -q:after { content: close-quote; } + If there's significant amount of text in front of the first subsection, + then the following are good to put in the per-document stylesheet: + width: 25%; + float: right; */ - -div.abstract { - margin-left: 30%; - margin-right: 0%; - font-style: oblique; - text-align: left; -} -div.abstract em { font-style: normal; } -div.abstract code { - font-style: normal; - font-size: 80%; -} - -/* TOC element. Note -5%+35% = 30%, which is the left-margin of the - abstract, above. */ div#toc { - float: left; - width: 35%; - margin: 1em 0pt 0pt -5%; + color: #888; padding: 0; font-size: smaller; - text-align: left; + text-align: right; } - +div#toc a:link { color: #888; } div#toc > ul { - padding: 0.5em 0.5em 0.5em 0pt; + padding: 0pt; margin: 0pt; - list-style: decimal inside; + list-style: none; } div#toc li { padding: 0pt; - padding-left: 1em; + display: inline-block; +} +div#toc li:before { + content: "§ "; + margin-left: 1em; } +/* the following elements aren't currently generated by structure.lx */ div#toc li ul { padding-left: 1em; margin-left: 0; font-style: italic; + display: inline; } div#toc li ul:before { - content: "[ "; + content: "( "; } div#toc li ul:after { - content: " ]"; + content: " ) "; } div#toc li li { - display: inline; padding-left: 0pt; } div#toc li li:after { content: "; "; } -/* Avoid displaying the <p> which contains the "Contents" */ -/* -div#toc>p { - display: none; -} - */ - -div.subtoc { - float: right; - width: 35%; - margin: 0 0 0 0.3em; - padding: 0.5em; - /* background: rgb(235,200,200); */ - padding: 0px 0px 0px 0.3em; - border-left: solid thin red; - font-size: smaller; - text-align: left; -} -div.subtoc ul { - padding: 0; - margin: 0; - list-style: none; -} - -div.subsubtoc { - display: none; -} -/* -div.subsubtoc { - float: right; - width: 35%; - margin: 0 0 0 0.3em; - padding: 0.5em; - background: rgb(255,255,127); - font-size: smaller; - text-align: left; -} -div.subsubtoc p { - margin: 0; -} -div.subsubtoc ul { - padding: 0; - margin: 0; - list-style: none; -} -div.subsubtoc p { - font-weight: bold; -} -div.subsubtoc p:after { - content: "..."; -} -div.subsubtoc li:before { - content: "..."; -} -*/ - -div.signature { - font-style: oblique; - text-align: right; - margin-left: -10%; - margin-right: -10%; - /* background: #006; */ - background: #C33; - color: #FFF; - clear: both; - - padding: 1em; - border: none; - /* - border-width: thin; - border-top: ridge; - border-left: none; - border-right: none; - border-bottom: none; - border-color: black; - */ -} - -div.signature a:link { color: #99F; } -div.signature a:visited { color: #99F; } -div.signature a[href]:hover { background: #F43; } |