Home Forums One more test forum Theme Stylesheet

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1493
    Crumina team
    Keymaster

    In addition to CSS style information for your theme, style.css provides details about the Theme in the form of comments. The stylesheet must provide details about the Theme in the form of comments. No two Themes are allowed to have the same details listed in their comment headers, as this will lead to problems in the Theme selection dialog. If you make your own Theme by copying an existing one, make sure you change this information first.

    #1496
    Crumina team
    Keymaster

    Follow CSS coding standards when authoring your CSS.
    Use valid CSS when possible. As an exception, use vendor-specific prefixes to take advantage of CSS3 features.
    Minimize CSS hacks. The obvious exception is browsers-specific support, usually versions of IE. If possible, separate CSS hacks into separate sections or separate files.
    All possible HTML elements should be styled by the Theme, both in post/page content and in comment content.
    Tables, captions, images, lists, block quotes, et cetera.

    #1497
    Crumina team
    Keymaster

    Adding print-friendly styles is highly recommended.
    You can include a print stylesheet with media=”print” or add in a print media block in your main stylesheet.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.