css.mdwn 822 B

12345678910111213141516171819202122232425
  1. This wiki uses 2 CSS files:
  2. 1. The one supplied by the actiontabs theme (which the wiki uses through the
  3. theme plugin)
  4. 2. The [[local.css]] customization, which changes all the colors
  5. The syntax highlighting colors are based on the Oblivion theme of GtkSourceView.
  6. The following *highlight* theme should produce more-or-less similar results:
  7. [[!format lua """
  8. [[!inline pages="editing/css/partager.theme" raw="yes"]]
  9. """]]
  10. After installing the theme, it is possible to generate CSS output and paste it
  11. in [[local.css]] or in the gitweb CSS file, etc. to use the colors in web pages.
  12. Generate the CSS with the following command:
  13. highlight -c FILENAME.css -s partager --print-style
  14. Here is the content of [[local.css]], colorized by its own colors:
  15. [[!format css """
  16. [[!inline pages="local.css" raw="yes"]]
  17. """]]