From 46dff3d1077ec530dc4d1aa2d4b8a03b8c1a0aac Mon Sep 17 00:00:00 2001 From: carmie Date: Mon, 26 Oct 2009 21:14:13 +0000 Subject: [PATCH] je repars du style actuel du site, on travaillera que dans libcaca.css git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/web/branches/test@3648 92316355-f0b4-4df1-b90c-862c8a59935f --- trac/htdocs/main.css | 159 ++++++++++------------------------- trac/htdocs/site/libcaca.css | 5 ++ trac/templates/site.html | 3 +- 3 files changed, 50 insertions(+), 117 deletions(-) create mode 100644 trac/htdocs/site/libcaca.css diff --git a/trac/htdocs/main.css b/trac/htdocs/main.css index 892b128..ce77090 100644 --- a/trac/htdocs/main.css +++ b/trac/htdocs/main.css @@ -1,127 +1,54 @@ -body { - background: #290c00; -} -#banner, #main, #footer { - background: #fff; - color: #290c00; -} -#banner, #mainnav, #main { - margin-top: 0; - margin-bottom: 0; - border-left: 2px solid #88AA77; - border-right: 2px solid #945973; - border-bottom: 2px solid #945973; -} -#main { - -moz-border-radius-bottomleft: 5px; - -moz-border-radius-bottomright: 5px; -} -#mainnav li { - border-right: 1px solid #290c00; -} -#mainnav :link, #mainnav :visited, #mainnav :link:hover, #mainnav :visited:hover { - color: #290c00; - background-image: none; - border-bottom: none; -} -#mainnav :link:hover, #mainnav :visited:hover { - background: #88AA77; -} -#mainnav .active :link, #mainnav .active :visited { - color: #290c00; -} -#mainnav .active :link, #mainnav .active :visited {main.css (ligne 18) - color: #290c00; - background: #88AA77; -} -#mainnav .active :link:hover, #mainnav .active :visited:hover { - color: #290c00; - background: none; -} +:link, :visited { color: #3a5; } +:link:hover, :visited:hover { color: #a2d; } -#siteheader { - overflow: hidden; - width: 500px; - float: right; -} -dt em { - color: #88AA77; -} -.buttons { - margin: 0.5em 0; - text-align: center; - -} -#jumprev, #jumploc { - margin: 0.2em 0 0.6em; +body, th, td { + font-family: 'Bitstream Vera Serif',times,serif; } -#prefs { - background: #88AA77; - border: 2px solid; - border-color: #945973 #290C00 #290C00 #945973; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} -table, table.listing { - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} -fieldset { - background: #88AA77; - border-color: #290c00; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} -legend { - color: #290c00; - border-bottom: 1px solid #290c00; - background: #fff; - opacity: 0.7; -} -th { - background: #88AA77; - color: #fff; - font-weight: bold; + +h1, h2, h3, h4 { + font-family: 'Bitstream Vera Serif',times,serif; } -th a { - color: #290c00; + +#mainnav { + font-family: 'Bitstream Vera Serif',times,serif; } -input[type="checkbox"], input[type="button"], input[type="submit"], input[type="reset"] { - background: #945973; - border: 1px solid #945973; - color: #290c00; - font-weight: bold; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + +#mainnav :link, #mainnav :visited { + padding-left: 8px; padding-right: 8px; } -input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { - background: #EEEEEE; - border: 1px solid #290c00; - color: #290c00; - font-weight: bold; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + +h1, h2, h3 { + text-indent: 0.5em; + border-style: solid; + border-color: #88aa77; + background-color: inherit; } -select, input[type="text"], input.textwidget, textarea { - background: white; - border: 1px solid #945973; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + +h1 { + font-size: 1.6em; + font-variant: small-caps; + color: #002200; + border-width: 0 0 2px 0; } -#loginguest { - float: right; - font-size: 0.9em; - color: #945973; + +h2 { + font-size: 1.3em; + font-variant: small-caps; + color: #224422; + border-width: 0 0 2px 0; } -#loginguest a { - color: #945973; - border-bottom: 1px dotted #88AA77; - font-size: 0.9em; + +h3 { + font-size: 1.1em; + color: #335533; + border-width: 0 0 1px 0; } -.milestone .info h2 em { - color: #945973; + +p { + text-indent: 1em; + text-align: inherit; } -#tabs { - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + +#footer { + display: none; } diff --git a/trac/htdocs/site/libcaca.css b/trac/htdocs/site/libcaca.css new file mode 100644 index 0000000..f8d6676 --- /dev/null +++ b/trac/htdocs/site/libcaca.css @@ -0,0 +1,5 @@ +body { + background: #2C1F1C; + color: white; + width: 90% +} diff --git a/trac/templates/site.html b/trac/templates/site.html index c851875..96fd59b 100644 --- a/trac/templates/site.html +++ b/trac/templates/site.html @@ -1,7 +1,8 @@ - + ${select('*|comment()|text()')}