SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions

Cookie: Wiki, theme=medium

CSS

You can use different style sheets for this wiki. If you would like to add more colors or use fancy fonts, pick another style sheet and use it. We’re also interested in finding more style sheets, so there are links to CSS sources as well for you to study and adapt – and share. :)

By default, we’re using a bootstrap theme. In order to use a different style sheet, you just need to switch off bootstrap and provide a new CSS file.

Turn bootrap back on with this link or append ?boostrap=1 to most URLs

Style Sheets

You can change the theme used for this wiki using one of the following links:

Additions to the list welcome!

Experimenting with your own CSS

Easy: In your browser’s address field, type http://www.emacswiki.org/cgi-bin/wiki?action=browse;bootstrap=0;id=CSS;css=http://your.style.sheet/here.css

or for a local stylesheet on your filesystem users running a Web server locally can run something like:

http://www.emacswiki.org/cgi-bin/wiki?action=browse;bootstrap=0;id=CSS;css=http://localhost/~username/emacswiki.css

Using the local filesystem might not work (depending on your browser and the MIME type used for CSS files):

http://www.emacswiki.org/cgi-bin/wiki?action=browse;bootstrap=0;id=CSS;css=file:///home/username/.mozilla/emacswiki.css

To reset, use http://www.emacswiki.org/cgi-bin/wiki?action=browse;bootstrap=1;id=CSS;css=

See also EmacsWikiAppearance.

Technical Background

  1. You can only supply parameters when you are using CGI parameters (and not keywords).
  2. If you mean to use a CSS file on the same server, you can use a relative URL. This only works for CSS files installed on www.emacswiki.org, of course. That’s why some of the URLs above use …;css=/foo/bar.css.
  3. You can use several style sheets and combine them. In order to do that, you must separate them with an URL-encoded space (”%20”): …;css=/foo/bar.css%20/baz/quux.css.
  4. Once you visit an URL that specifies the css parameter, the script will store it in your cookie, and tell your browser to use the CSS you provided when visiting the wiki.
  5. To reset it, use an empty CSS parameter: …;css=
  6. Note that after a CSS switch, you might still get stale pages from the cache. Force page reloads using the features your browser provides, eg. by pressing Shift while hitting the reload button.

Thus, if you want to use your own CSS for this wiki, upload it to the web somewhere, and use the URL-hacking described above.

If you want to know what CSS classes you can use, see the Oddmuse:Cascading Style Sheet.