5 months ago
Enregistrer ce code dans languages/diff.css du répertoire codepress (sans oublier le fichier Javascript décrit dans le 1er posteet !)
/*
* CodePress color styles for DIFF syntax highlighting
*/
separator
{
color: black;
}
before
{
color: blue;
font-size: 8pt;
}
after
{
color: red;
font-size: 8pt;
}
lines
{
color: black;
text-decoration: underline;
font-weight: bold;
font-size: 10pt;
}
common
{
color: green;
font-size: 10pt;
}
onlyin
{
color: red;
background-color: white;
font-weight: bold;
font-size: 10pt;
}
diff
{
color: red;
background-color: yellow;
font-weight: bold;
font-size: 10pt;
}