Browse Source

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/web/trunk@3764 92316355-f0b4-4df1-b90c-862c8a59935f

master
carmie 15 years ago
parent
commit
62c4fc52d1
3 changed files with 112 additions and 135 deletions
  1. +112
    -57
      trac/htdocs/libcaca.css
  2. +0
    -76
      trac/htdocs/main.css
  3. +0
    -2
      trac/templates/site.html

+ 112
- 57
trac/htdocs/libcaca.css View File

@@ -2,7 +2,7 @@


*/ */


/* styles généraux */
/* = styles généraux = */


body { body {
background: #552701 /*url(/browser/web/trunk/static/img/libcaca.png?format=raw) no-repeat top center*/; background: #552701 /*url(/browser/web/trunk/static/img/libcaca.png?format=raw) no-repeat top center*/;
@@ -22,72 +22,42 @@ body, td, th, h1, h2, h3, h4, #main {
} }


h1, h2, h3 { h1, h2, h3 {
border-color: #984601;
text-indent: 0.5em;
border-style: solid;
background-color: inherit;
font-variant: small-caps;
border-width: 0 0 2px 0;
border-color: #984601;
color: #984601;
} }


:link, :visited {
color: #984601;
border-bottom: none;
h1 {
font-size: 1.6em;
} }


:link:hover, :visited:hover {
color: #2C1F1C;
h2 {
font-size: 1.3em;
} }


/* FORMS */

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
background: #984601;
}
input[type="button"], input[type="submit"], input[type="reset"] {
background: #C46300;
border: 1px outset #984601;
-moz-border-radius: 4px;
}
input[type="text"], input.textwidget, textarea {
border: 1px solid #C46300;
}
legend {
color: #984601;
h3 {
font-size: 1.1em;
} }


fieldset {
border-color: #984601;
p {
text-indent: 1em;
text-align: inherit;
} }


#content.ticket {
margin: 0 auto;
}
.buttons {
text-align: center;
}
.buttons input {
margin: 0.5em;
}
#content.ticket fieldset {
background: #E5DCDC;
}
#field-description {
background: #fff url(/browser/web/trunk/static/img/dashit-light.png?format=raw) no-repeat right bottom;
}
#attachments {
background: #fff;
border: none;
}
#attachfile {
text-align: center;
}
#changelog {
background: #cccc88;
border: 1px solid #C46300;
}
a.ext-link .icon {
background-position: right center;
padding-right: 16px;
:link, :visited {
color: #984601;
border-bottom: none;
} }


:link:hover, :visited:hover {
color: #2C1F1C;
}


/* HEADER */
/* = HEADER = */


.nav { .nav {
text-align: right; text-align: right;
@@ -111,11 +81,12 @@ border-right: none !important;
font-family:"Arial","Geneva",sans-serif; font-family:"Arial","Geneva",sans-serif;
} }


/* MENU PRINCIPAL*/
/* == MENU PRINCIPAL == */


#mainnav :link, #mainnav :visited { #mainnav :link, #mainnav :visited {
background-image: none; background-image: none;
border-color: #984601; border-color: #984601;
padding-left: 8px; padding-right: 8px;
} }
#mainnav { #mainnav {
margin: 0; margin: 0;
@@ -159,7 +130,7 @@ border-right: none !important;
color: #984601; color: #984601;
} }


/* Subnav */
/* == Subnav == */


#metanav ul { #metanav ul {
font-weight: normal; font-weight: normal;
@@ -181,8 +152,90 @@ border-right: none !important;
border-bottom: 1px dotted #C46300; border-bottom: 1px dotted #C46300;
} }


/* = FOOTER = */

#footer {
display: none;
}

/* = PAGES ET MODULES = */
/* == Styles for images in documentation and articles == */

img.inline, img.inlinetop {
border: solid 2px;
padding: 2px;
}

img.inlinetop {
vertical-align: top;
}

img.math {
vertical-align: middle;
margin-left: 10px;
margin-right: 10px;
}

img.matrix {
vertical-align: top;
margin-right: 30px;
margin-top: 10px;
}

/* == FORMS == */

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
background: #984601;
}
input[type="button"], input[type="submit"], input[type="reset"] {
background: #C46300;
border: 1px outset #984601;
-moz-border-radius: 4px;
}
input[type="text"], input.textwidget, textarea {
border: 1px solid #C46300;
}
legend {
color: #984601;
}

fieldset {
border-color: #984601;
}

#content.ticket {
margin: 0 auto;
}
.buttons {
text-align: center;
}
.buttons input {
margin: 0.5em;
}
#content.ticket fieldset {
background: #E5DCDC;
}
#field-description {
background: #fff url(/browser/web/trunk/static/img/dashit-light.png?format=raw) no-repeat right bottom;
}
#attachments {
background: #fff;
border: none;
}
#attachfile {
text-align: center;
}
#changelog {
background: #cccc88;
border: 1px solid #C46300;
}
a.ext-link .icon {
background-position: right center;
padding-right: 16px;
}

/* === FORM TICKETS === */


/* FORM TICKETS */
#preview h3, #changelog h3 { #preview h3, #changelog h3 {
border-bottom:1px solid #984601; border-bottom:1px solid #984601;
color:#552701; color:#552701;
@@ -209,3 +262,5 @@ form #comment {
.wikitoolbar :link, .wikitoolbar :visited { .wikitoolbar :link, .wikitoolbar :visited {
border: 1px solid #C46300; border: 1px solid #C46300;
} }



+ 0
- 76
trac/htdocs/main.css View File

@@ -1,78 +1,2 @@
:link, :visited { color: #3a5; }
:link:hover, :visited:hover { color: #a2d; }


body, th, td {
font-family: 'Bitstream Vera Serif',times,serif;
}

h1, h2, h3, h4 {
font-family: 'Bitstream Vera Serif',times,serif;
}

#mainnav {
font-family: 'Bitstream Vera Serif',times,serif;
}

#mainnav :link, #mainnav :visited {
padding-left: 8px; padding-right: 8px;
}

h1, h2, h3 {
text-indent: 0.5em;
border-style: solid;
border-color: #88aa77;
background-color: inherit;
}

h1 {
font-size: 1.6em;
font-variant: small-caps;
color: #002200;
border-width: 0 0 2px 0;
}

h2 {
font-size: 1.3em;
font-variant: small-caps;
color: #224422;
border-width: 0 0 2px 0;
}

h3 {
font-size: 1.1em;
color: #335533;
border-width: 0 0 1px 0;
}

p {
text-indent: 1em;
text-align: inherit;
}

#footer {
display: none;
}

/* Styles for images in documentation and articles */

img.inline, img.inlinetop {
border: solid 2px #88aa77;
padding: 2px;
}

img.inlinetop {
vertical-align: top;
}

img.math {
vertical-align: middle;
margin-left: 10px;
margin-right: 10px;
}

img.matrix {
vertical-align: top;
margin-right: 30px;
margin-top: 10px;
}



+ 0
- 2
trac/templates/site.html View File

@@ -5,8 +5,6 @@
<!--! Add site-specific style sheet --> <!--! Add site-specific style sheet -->
<head py:match="head" py:attrs="select('@*')"> <head py:match="head" py:attrs="select('@*')">
${select('*|comment()|text()')} ${select('*|comment()|text()')}
<link rel="stylesheet" type="text/css"
href="${href.chrome('site/main.css')}" />
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="${href.chrome('site/libcaca.css')}" /> href="${href.chrome('site/libcaca.css')}" />
</head> </head>


Loading…
Cancel
Save