Jump to content

Trian Gular Ramblings

  • entries
    47
  • comments
    213
  • views
    26,896

Colorful Raiders


le717

846 views

 Share

You don't want me to have fun changing a site's CSS to make everything the same color (aidenpons). You end up with all this. :P

gallery_2686_215_195799.png

gallery_2686_215_219120.png

gallery_2686_215_85330.png

gallery_2686_215_110266.png

gallery_2686_215_81491.png

gallery_2686_215_60625.png


Because aidenpons begged so much to know how I did all this so quickly, here is the template to follow.

* {
  background: #fff !important;
  color: #000 !important;
}

Notes:

  • * is known as the universal selector. It selects all elements in a page. Use of the universal selector is discouraged because it can be rather slow.
  • That is not the proper way to use the background attribute. However, for simplicity, I did it wrong on purpose. :P Use background instead of background-color to kill any images used as backgrounds (they will cover up any color applied).
  • color changes the text color. So no, going "Ctrl+F 'color' or something" is not how I did it. :P
  • !important means any other instances of that attribute should be overridden. Heavy use of this is also discouraged (reasons beyond the scope here), but is required to achieve the effects seen above.

  • Like 4
 Share

9 Comments


Recommended Comments

and the ugliest color scheme award goes to.... :P

 

I always did say I am much more of a developer than a designer. Now I have undeniable proof. :P

  • Like 4
Link to comment

*Awaits response containing TLM clip of Virtruvius after he gets zapped with the laser pointer*

Link to comment

*solemnly takes green laser out of marked drawer*

Congratulations. *slow handclap*

congratulations-here-have.jpg

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.