Skip to content

Commit

Permalink
Add recommendation to plugin order
Browse files Browse the repository at this point in the history
  • Loading branch information
immanuelfodor committed Aug 30, 2020
1 parent d1b7d21 commit b707d78
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ The directory structure should look like:

To enable the plugin, just check it in the Plugin Administration page (`?do=pluginadmin`).

You can also add `custom_css` to your list of enabled plugins in `data/config.json.php`.\
You can also add `custom_css` to your list of enabled plugins in `data/config.json.php`.
The `general.enabled_plugins` list should look like then:

```
"general": {
"enabled_plugins": [
"custom_css",
[...]
...other_plugins_above,
"custom_css"
],
}
```
Expand Down Expand Up @@ -62,6 +62,8 @@ Supported values: any string (without validation!), defaults to empty.

## Recommendations

Put this plugin to the bottom of the enabled plugins list either in the config JSON file or via the administration UI. This lets you redefine other plugins CSS rules as well.

An example CSS you can try out for starting customizations over the default theme: `.linklist-item, .linklist-item-title, .linklist-item-infos, .page-form, .page-form .window-title, .linksperpage a, .linklist-filters .filter-off, .linksperpage input[type="text"], .searchform-block input[type="text"] { background: #fff } .linklist-item-infos-url { display: none } .linklist-item-infos-dateblock { width: 100% } .linklist-item-title h2 { line-height: 1em; padding: 0.3em 10px 0.3em } .linklist-item-infos .label-tag { background: #f4f4f4; } .label-tag a { color: #595959 } .linklist-item-infos .linklist-item-tags { font-size: .8em; padding: 0.2em 0 0.7em; }`

Shaarli Custom CSS works best with my [Shaarli Markdown Toolbar](https://github.com/immanuelfodor/shaarli-markdown-toolbar) plugin, check it out, too! 😉
Expand Down

0 comments on commit b707d78

Please sign in to comment.