[Conkeror] Changing font in minibuffer etc.: further help wanted

Jeremy Maitin-Shepard jeremy at jeremyms.com
Tue Jul 29 12:46:23 PDT 2008


Joe Fineman <joe_f at verizon.net> writes:

> I have been trying to follow this advice from a couple of weeks ago:
>> >> > It would be nice if [...]  text windows -- particularly those
>> >> > that are expecting a URL or a filename -- used a serif
>> >> > monospace font such as Courier, [...]

>> >> This is all customizable via CSS, this time in userChrome.css.

>> >> Note that you should create both of these files in a "chrome"
>> >> subdirectory (that you may also need to create) inside of your
>> >> profile directory.

>> > There is such a subdirectory, but I do not know what to put in the
>> > file.

>> [...]

>> These files should be in CSS and you can use the existing CSS files
>> in the content/ directory to guess what might be suitable for
>> userContent.css and userChrome.css.  Note that userContent.css
>> applies only to the content area (and therefore is used to customize
>> the hint styling), while userChrome.css applies only to the
>> non-content area (like the minibuffer).

> Perusing the CSS files in the content/ directory, I gather that
> /Conkeror/conkeror/chrome/userChrome.css should contain something like
> this:

> ??? {
>   font-family: monospace;
> }

> but I did not see anything in the files that looked like a
> specification for the minibuffer etc.  I tried ???=body, but that did
> not work.

Note that the DOM inspector extension may be helpful.

The correct specification to use is:

#minibuffer if you want to affect everything in the minibuffer area, or
 alternatively perhaps one of:
#minibuffer-prompt
#minibuffer-input
#minibuffer-message
#minibuffer-mode-indicator (for the input mode indicator at the right)


-- 
Jeremy Maitin-Shepard


More information about the Conkeror mailing list