Am Montag, 18. November 2019 15:37:27 UTC+1 schrieb Mo:
 

> $ cat ~/var/trac/1.4-sqlite/templates/site_head.html 
>> <link rel="stylesheet" href="${href.chrome('site/style.css')}" /> 
>>
>
> This one I didn't have anymore...
> Works now, thanks.
>


Coming from https://trac.edgewall.org/ticket/13226#comment:7 ...
how do I customize multiple css?

Currently I have this:

$ cd $PROJECTENV
$ for file in htdocs/style.css htdocs/report.css templates/site_head.html; 
do echo -e "\n## $file:";cat $file;done

## htdocs/style.css:
body #content.ticket {
    width: auto;
    max-width: 1400px;
}

body #content.narrow #wikipage {
    max-width: 1400px;
}

## htdocs/report.css:
.report div.reports h3 :link, .report div.reports h3 :visited {
    color: #000;
    border-bottom: 1px dotted lightgrey;
    display: block;
}

## templates/site_head.html:
<link rel="stylesheet" href="${href.chrome('site/style.css')}" />
<link rel="stylesheet" href="${href.chrome('site/reports.css')}" />

After that I deployed like 
trac-admin $PROJECTENV deploy $PROJECTENV/static

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e4fcd163-d8ba-4f4f-be2b-081b284201d3%40googlegroups.com.

Reply via email to