How to create a simple "one-off" of an existing CSS

swehba's Avatar

swehba

07 Jun, 2012 06:45 AM

Is there a simple way to take an existing CSS — say GitHub — and create a new CSS that is a "one-off" from it? For instance, let's say I like everything about GitHub except for the style of the h2 element. Is there a way to get the source to GitHub CSS so that I can tweak it? Or is there a way to subclass the GitHub CSS and just change a few elements in the subclass? (I apologize. I am definitely not a CSS pro.)

  1. Support Staff 1 Posted by Brett on 07 Jun, 2012 01:41 PM

    Brett's Avatar

    All of the default, uncompressed styles can be downloaded here. You can edit them at will, but it would be appreciated if you left the comment section at the top with the original credits in them.

    Copy your chosen file to a new file and name it as you want it to appear in the Custom Styles menu. The filename, sans extension, is what determines the title.

    If you distribute your theme based on one of the base themes, please feel free to add yourself to the credits as a contributor.

  2. 2 Posted by swehba on 08 Jun, 2012 03:46 AM

    swehba's Avatar

    Thanks, Brett. This is exactly what I was looking for.

  3. swehba closed this discussion on 08 Jun, 2012 03:46 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac