Jump to content

Coding Guidelines


slushpuppy
 Share

Recommended Posts

What is CSS?

 

CSS stands for Cascading Style Sheets and it comes in a form of rules that determines the presentation of a webpage

 

 

Why CSS?

 

CSS gives users the more flexibility over template engine that offer users less customization.

 

 

Where do I learn CSS?

 

http://www.w3schools.com/css/

 

How do I apply CSS to Sharkbrew ML?

 

Simply click on "Look & Feel" and edit the CSS template.

 

To prevent cross site scripting, I had to implement a CSS whitelist engine, and as a result there are some gotchas you will need to be aware of:

 

  • Most Basic CSS rules will work
  • Siblings selectors do not work
  • nth child selectors should work
  • body tag does not work(workaround: use #main_doc)
  • Do not use the same selector more than once

If you encounter any quirks, feel free to make a topic while tagging me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...