1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-01 10:05:44 +01:00

add styling.html to the help topics overview

This commit is contained in:
Doug Kearns
2008-10-30 09:04:07 +00:00
parent e84530b520
commit ac2268a0ab
3 changed files with 23 additions and 27 deletions

View File

@@ -335,7 +335,7 @@ ________________________________________________________________________________
Copy currently selected text to the system clipboard. Copy currently selected text to the system clipboard.
________________________________________________________________________________ ________________________________________________________________________________
section:Alternate{nbsp}style{nbsp}sheets[stylesheet,style] section:Alternate{nbsp}style{nbsp}sheets[alternate-stylesheet]
Page authors may specify alternate style sheets for an HTML document. Users Page authors may specify alternate style sheets for an HTML document. Users
can then switch between these various style sheets, selecting their favorite. can then switch between these various style sheets, selecting their favorite.

View File

@@ -67,6 +67,7 @@ section:Help{nbsp}topics[overview]
events. events.
- help:Print[print.html]: Printing pages. - help:Print[print.html]: Printing pages.
- help:GUI[gui.html]: Accessing Firefox menus, dialogs and the sidebar. - help:GUI[gui.html]: Accessing Firefox menus, dialogs and the sidebar.
- help:Styling[styling.html]: Changing the styling of content pages and Vimperator itself.
- help:Messages[message.html]: A description of messages and error messages. - help:Messages[message.html]: A description of messages and error messages.
- help:Developer{nbsp}information[developer.html]: How to write docs or - help:Developer{nbsp}information[developer.html]: How to write docs or
plugins. plugins.

View File

@@ -2,20 +2,18 @@ HEADER
|styling| + |styling| +
Vimperator allows you to style both the browser and any web Vimperator allows you to style both the browser and any web pages you view. All
pages you view. All styling is specified via CSS. Although you styling is specified via CSS. Although you may style any user interface element
may style any user interface element via the [c]:style[c] command, via the [c]:style[c] command, most Vimperator elements can be styled with the
most Vimperator elements can be styled with the [c]:highlight[c] [c]:highlight[c] command, for convenience.
command, for convenience.
|:hi| |:highlight| + |:hi| |:highlight| +
||:hi[light][!] {group}[{selector}] [{css}]|| + ||:hi[light][!] {group}[{selector}] [{css}]|| +
________________________________________________________________________________ ________________________________________________________________________________
Highlight {group} with {css}. Normally, {css} is checked for Highlight {group} with {css}. Normally, {css} is checked for valid syntax
valid syntax before it's applied. Once you're certain it's before it's applied. Once you're certain it's valid, [!] will override the
valid, [!] will override the check, to speed Vimperator startup. check, to speed Vimperator startup. {selector} can be any valid CSS selector,
{selector} can be any valid CSS selector, such as {:hover}, and such as {:hover}, and if provided will restrict the match to matching elements.
if provided will restrict the match to matching elements.
Valid groups are: Valid groups are:
`------------------`----------------------------------- `------------------`-----------------------------------
@@ -51,22 +49,20 @@ Valid groups are:
*WarningMsg* A warning message *WarningMsg* A warning message
------------------------------------------------------- -------------------------------------------------------
Every invocation completely replaces the styling of any previous Every invocation completely replaces the styling of any previous invocation. If
invocation. If {css} is not provided and [!] is, any styles {css} is not provided and [!] is, any styles matching {group} are listed. If
matching {group} are listed. If neither {css} nor [!] is neither {css} nor [!] is provided, the style for {group} is reset to its
provided, the style for {group} is reset to its default value. default value.
________________________________________________________________________________ ________________________________________________________________________________
|:sty| |:style| + |:sty| |:style| +
||:sty[le][!] [-name={name}] {filter} [{css}]|| + ||:sty[le][!] [-name={name}] {filter} [{css}]|| +
________________________________________________________________________________ ________________________________________________________________________________
Add CSS styles to the browser or to web pages. {filter} is a Add CSS styles to the browser or to web pages. {filter} is a comma separated
comma separated list of URLs to match. URLs ending with [c]*[c] list of URLs to match. URLs ending with [c]*[c] are matched as prefixes, URLs
are matched as prefixes, URLs not containing any [c]:[c] or not containing any [c]:[c] or [c]/[c] characters are matched as domains. If
[c]/[c] characters are matched as domains. If {name} (short {name} (short option: [c]-n[c]) is provided, any existing style with the same
option: [c]-n[c]) is provided, any existing style with the same name is overridden, and the style may later be deleted using {name}.
name is overridden, and the style may later be deleted using
{name}.
If {css} isn't provided, matching styles are listed. If {css} isn't provided, matching styles are listed.
________________________________________________________________________________ ________________________________________________________________________________
@@ -74,13 +70,12 @@ ________________________________________________________________________________
|:dels| |:delstyle| + |:dels| |:delstyle| +
||:dels[tyle] [-name={name}] [-index={index}] [{filter}] [{css}]|| + ||:dels[tyle] [-name={name}] [-index={index}] [{filter}] [{css}]|| +
________________________________________________________________________________ ________________________________________________________________________________
Delete any matching styles. If {filter} is provided, only Delete any matching styles. If {filter} is provided, only matching elements of
matching elements of the filter are disabled. For instance, a the filter are disabled. For instance, a filter [c]mozilla.org[c], given a
filter [c]mozilla.org[c], given a style for style for [c]www.google.com,mozilla.org[c], will result in a style for
[c]www.google.com,mozilla.org[c], will result in a style for
[c]www.google.com[c]. The available options are: [c]www.google.com[c]. The available options are:
- -name: The name provided to :sty (short option: -n) - -name: The name provided to [c]:style[c] (short option: -n)
- -index: For unnamed styles, the index listed by [c]:style[c] (short option: -i) - -index: For unnamed styles, the index listed by [c]:style[c] (short option: -i)
________________________________________________________________________________ ________________________________________________________________________________