From c46d3f8c79eac18d8aec6d658319f4aa6be13caf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 26 Mar 2009 14:11:51 -0400 Subject: [PATCH] update zack.css from gitweb and repoint link to it --- doc/css_market.mdwn | 2 +- doc/css_market/zack.css | 264 ++++++++++++++++++++++++---------------- 2 files changed, 162 insertions(+), 104 deletions(-) diff --git a/doc/css_market.mdwn b/doc/css_market.mdwn index e9409e55e..15e147513 100644 --- a/doc/css_market.mdwn +++ b/doc/css_market.mdwn @@ -7,7 +7,7 @@ dir with a filename of `local.css`. Feel free to add your own stylesheets here. (Upload as wiki pages; wiki gnomes will convert them to css files..) -* **[zack.css](http://git.upsilon.cc/cgi-bin/gitweb.cgi?p=zack-homepage.git;a=blob_plain;f=local.css;hb=HEAD)**, contributed by [[StefanoZacchiroli]], +* **[[css_market/zack.css]]**, contributed by [[StefanoZacchiroli]], customized mostly for *blogging purposes*, can be seen in action on [zack's blog](http://upsilon.cc/~zack/blog/) [[!meta stylesheet="zack"]] diff --git a/doc/css_market/zack.css b/doc/css_market/zack.css index dbc2e5c44..5a0521d54 100644 --- a/doc/css_market/zack.css +++ b/doc/css_market/zack.css @@ -14,122 +14,180 @@ */ body { - font-family: sans; - width: 760px; - margin-left: 20px; + font-family: sans-serif; + font-size: medium; } +h1, h2, h3, h4 { + font-weight: normal; +} +h1 { font-size: 140%; } +h2 { font-size: 120%; } +h3 { font-size: 110%; } +h4 { font-size: 105% } -div#content { - font-size: 11pt; -} +a { text-decoration: none; } +a:hover { text-decoration: underline; } -.header span { - font-size: 14pt; - font-weight: normal; -} - -div.actions ul { - font-size: 10pt; -} - -h1 { - font-weight: normal; - font-size: 17pt; -} -h2 { - font-weight: normal; - font-size: 16pt; -} -h3 { - font-weight: normal; - font-size: 15pt; -} -h4 { - font-weight: normal; - font-size: 14pt; -} -h5 { - font-weight: normal; - font-size: 13pt; -} -h6 { - font-weight: normal; - font-size: 12pt; -} - -div.inlinepage > span.header > a { +.flow { float: right; - display: block; - font-size: 11pt; - font-weight: normal; - margin: 0; - padding: 0; + margin-left: 10px; + margin-bottom: 10px; + text-align: center; } -div.inlinepage > span.header > a:before { - content: "permalink: "; - font-size: smaller; - text-decoration: none; + +.attrib-caption { + font-size: xx-small; font-style: italic; } -div.inlinepage { +input { + border: solid 1px; + border-color: #aaa; +} + +.header { font-weight: normal; } + +.selflink { text-decoration: underline; } + +.pageheader .actions ul, +#sitemeta { + border-top: solid 1px; + border-bottom: solid 1px; + font-size: small; + border-color: #aaa; + background: #eee; +} +.actions ul { + padding: 1px; + margin-top: 5px; +} +#sitemeta { + padding: 0; + margin-bottom: 5px; +} +#backlinks, +.tags { + margin-top: 0; + margin-bottom: 0; +} + +#pageinfo { + border: none; +} + +#searchform div:before { + font-size: small; + content: "search:"; +} +#searchform input { + border-top: none; + border-bottom: none; + vertical-align: bottom; + margin-right: 7px; +} + +#sidebar { + border: solid; + border-width: 1px; + padding: 0; + margin-top: 15px; + border: 1px solid; + border-color: #aaa; + background: #eee; + width: 16ex; +} +#sidebar ul { + margin: 0; + padding-left: 1em; + list-style-type: none; +} +#sidebar ul ul { + padding-left: 1.5em; + font-size: 90%; +} + +#pageinfo, +#footer { + margin: 0; +} +#pageinfo { + font-size: small; +} +.pagecopyright, +.pagelicense, +.pagedate { + margin: 0; + display: inline; +} +#backlinks { + margin-top: 5px; margin-bottom: 10px; + font-size: larger; } - -div.inlinepage h1 { - font-weight: normal; - font-size: 14pt; - margin: 0; -} -div.inlinepage h2 { - font-weight: normal; - font-size: 13pt; - margin: 0; -} -div.inlinepage h3 { - font-weight: normal; - font-size: 12pt; - margin: 0; -} -div.inlinepage h4 { - font-weight: normal; - font-size: 11pt; - margin: 0; -} -div.inlinepage h5 { - font-weight: normal; - font-size: 11pt; - margin: 0; -} -div.inlinepage h6 { - font-weight: normal; - font-size: 11pt; - margin: 0; -} - -div#blogform { - padding: 0px 5px; - margin-bottom: 10px; -} - -pre { - width: 90%; - font-size: 10pt; - font-family: monospace; - background: #e1e1e1; - margin-left: 4%; - padding-top: 5px; - padding-bottom: 5px; +.validation { + display: inline; + float: right; } .pagecloud { - width: 25%; - border-top: 1px solid #aaa; - border-bottom: 1px solid #aaa; - background: #eee; - color: black !important; + margin-left: 5px; } -.pagecloud a { - text-decoration: none; +table.identikit tr th { + text-align: right; + vertical-align: top; +} +table.identikit tr th:after { + content: ":"; +} +table.identikit tr td { + text-align: left; + vertical-align: top; +} + +.doi_logo , .doi_logo a { + background: #3965bd; + color: white !important; + font-size: 80%; + text-decoration: none; + font-family: times; + font-weight: bold; + padding: 0px 1px 0px 2px; +} + +#comments { + margin-top: 5ex; + border-top: solid 1px; + border-color: #aaa; + font-size: small; +} + +#comments #feedlink { + text-align: right; +} +#comments #feedlink:before { + content: "comment feeds: "; +} + +.addcomment { + padding: 5px; + font-style: italic; +} + +.comment { + border: none; + background-color: #eee; + margin: 5px; + margin-top: 10px; +} + +.comment-subject { + font-style: normal; +} + +.comment-header { + border-top: solid 1px; + border-color: #aaa; + text-align: right; + font-style: normal; }