User Custom CSS

Renewed Tab allows you to provide Custom CSS rules in Settings > Theme. Please note that this is an experimental feature, which means that it may break without warning.

In order to create your rules, you will need to read up on the CSS language.

Basics

Selectors

Key classes and elements:

Resources

The Inspect element tool is very useful to find out the classes and IDs used to reference a particular element.

Examples

Misc examples

/* Hot pink panel backgrounds */
.panel {
    background: rgba(255, 105, 180, 0.6);
}

/* Panels with no background have an outline */
.panel-invis {
    border: 1px solid rgba(0, 0, 0, 0.5);
}

/* Color links pointing to example.com pink */
.links li[data-hostname="example.com"] {
    color: pink;
}

/* Color links containing LGBT in the title rainbow */
.links li[data-title~="LGBT"] .title {
    background-image: linear-gradient(to right, red, orange, yellow, green, indigo, violet);
    color: transparent;

    /* This is non-standard CSS, so may not work in all browsers. */
    -webkit-background-clip: text;
}
/* Make icon full width with no right margin */
.links li[data-title=""] .icon {
    margin: 0 !important;
    height: auto;
    width: 100%;
    max-height: none;
}

/* Remove padding from link row */
.links li[data-title=""] a {
    padding: 0 !important;
    font-size: inherit;
    line-height: inherit;
    transition: filter 0.15s ease-in-out;
}

/* Brighten on hover */
.links li[data-title=""] a:hover {
    filter: brightness(1.05);
}