X-Git-Url: https://git.ucc.asn.au/?p=sjy%2Faustlii.git;a=blobdiff_plain;f=austlii.css;h=881ff336e3de1291492ef07f9185463ba44ee79b;hp=a9e0f8eed971757647d5d5d467515aa148fb1e0d;hb=754792fa8609f26573dc581b8dbbe05546e78074;hpb=cf335ab9c1d1f3f1b37e0b13367559714f408b45 diff --git a/austlii.css b/austlii.css index a9e0f8e..881ff33 100644 --- a/austlii.css +++ b/austlii.css @@ -1,24 +1,25 @@ -/* restyle austlii */ -body { +/* austlii content is wrapped in a container and restyled */ +#container { max-width: 40em; margin: 0 auto; font-family: Georgia; - padding: 2em; - border-left: 1px #ccc solid; - border-right: 1px #ccc solid; + padding: 0; } +#container h1 {border-bottom: 1px black solid;} +#container ol li {text-align: justify;} +#container a.section {font-weight: bold;} -h1 {border-bottom: 1px black solid;} - -ol li {text-align: justify;} - - -/* austlii.js special features */ -.citation {font-size: 150%; font-weight: bold;} - -#menu {position: fixed; top: 2em; left: 0; padding: 1em; width: 10em;} -#menu ol {list-style-type: none; padding: 0;} -#menu ol li {text-align: left; margin-bottom: 0.5em;} +/* floating menu added by austlii.js */ +#menu { + position: fixed; bottom: 0; left: 5px; right: 5px; + padding: 0.5em; + text-align: center; font-size: 75%; + background: #fff; border: 1px #ccc solid; border-top: none; + box-shadow: 2px -2px 2px #ccc; +} +#menu h2 {margin: 0.2em; font-size: 100%;} +#menu ol {list-style-type: none; padding: 0; margin: 0;} +#menu ol li {margin-bottom: 0.5em; display: inline; margin: 0;} #menu ol li a.current {font-weight: bold;} - -a.judge {font-weight: bold;} +#menu ol li .spacer {margin: 0 0.5em;} +#menu img {float: left; height: 3em;}