userContent.css Customizations


In my opinion, the best thing you could do with userContent.css is to have different colours for different quote levels. This file is located in your <profile-dir>/chrome directory.


/* To change the color of signature text */

.moz-txt-sig, .moz-signature
{
    color: red !important;
}

/* To change the colour/style of links in signatures */

.moz-txt-sig > a, .moz-signature > a
{
    color: gray !important;
    font-style: italic !important/* Get rid of this line if you don't want italized links */
}

/* The following code will help you display different quote levels in
 * different colours.
 */

blockquote[type=cite]
{
    border-color: gray !important;
    color: blue !important;
}

blockquote[type=citeblockquote
{
    border-color: gray !important;
    color: red !important;
}

blockquote[type=citeblockquote blockquote
{
    border-color: gray !important;
    color: green !important;
}

blockquote[type=citeblockquote blockquote blockquote
{
    border-color: gray !important;
    color: gray !important;
}

blockquote[type=citeblockquote blockquote blockquote blockquote
{
    border-color: gray !important;
}

/* You get the pattern... Add more quote levels if you want.
 * But do not forget to add the next line
 */

blockquote[type=citepreblockquote[type=citediv
{
    color: inherit !important;
}



Back

Site created with Vim



Maintained by Pratik Solanki. email: pratik.solanki@gmail.com