X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/7884f69eaf4eb7416306a47c3bcb7d717443ac56..80b0165ff81a91cc7b32fb2cf057c045352f7849:/doc/style.css diff --git a/doc/style.css b/doc/style.css index ef0cb9e57..6fdb76ac0 100644 --- a/doc/style.css +++ b/doc/style.css @@ -35,20 +35,22 @@ padding: .2em .4em; } -#backlinks { - margin: 1em 0; +.tags { + clear: both; } -.tags { +#footer { clear: both; + margin: 1em 0; + border-top: 1px solid #000; } div.tags { - border-top: 1px solid #000; + margin-top: 1em; } -#footer { - margin: 1em 0; +#backlinks { + margin-top: 1em; } #searchform { @@ -60,6 +62,10 @@ div.tags { width: 100%; } +img { + border: 0px; +} + /* Stuff for the RecentChanges table. */ tr.changeheader { background: #eee; @@ -107,6 +113,7 @@ td.changelog { clear: both; font-style: italic; display: block; + margin-top: 1em; } /* Used for invalid form fields. */ @@ -161,25 +168,6 @@ td.changelog { padding: 2ex 2ex; } -.infobox { - float: right; - margin-left: 2ex; - margin-top: 1ex; - margin-bottom: 1ex; - padding: 1ex 1ex; - border: 1px solid #aaa; -} - -.notebox { - float: right; - margin-left: 2ex; - margin-top: 1ex; - margin-bottom: 1ex; - padding: 1ex 1ex; - border: 1px solid #aaa; - width: 25% -} - /* outlines */ li.L1 { list-style: upper-roman; @@ -226,3 +214,58 @@ input#openid_url { color: #000; padding-left: 18px; } + +/* Things to hide in printouts. */ +@media print { + .actions { display: none; } + .tags { display: none; } + .feedbutton { display: none; } + #searchform { display: none; } + #blogform { display: none; } + #backlinks { display: none; } +} + +/* Provided for use by template plugin for floating info boxes. */ +.infobox { + float: right; + margin-left: 2ex; + margin-top: 1ex; + margin-bottom: 1ex; + padding: 1ex 1ex; + border: 1px solid #aaa; +} + +/* Provided for use by template plugin for floating note boxes. */ +.notebox { + float: right; + margin-left: 2ex; + margin-top: 1ex; + margin-bottom: 1ex; + padding: 1ex 1ex; + border: 1px solid #aaa; + width: 25% +} + +/* Used by the popup template and for backlinks hiding. */ +.popup { + border-bottom: 1px dotted #366; + color: #366; +} +.popup .balloon, +.popup .paren, +.popup .expand { + display: none; +} +.popup:hover .balloon, +.popup:focus .balloon { + position: absolute; + display: inline; + margin: 1em 0 0 -2em; + padding: 0.625em; + border: 2px solid; + background-color: #dee; + color: black; + opacity: 0.95; + -moz-opacity: 0.95; + filter: alpha(opacity=95); +}