geekmass #2: bare bones css

2 December 2007 mortendk

As a followup from yesterdays -"Just remove all the $styles and use you own" I guess it would be nice with a small replacement, that at least took some of the basic styles that every drupal site at some point enters. If you dont use an admin theme (or not a redirecting all the edit pages to that admin theme). You will need some of these classes, but i guess you figured that out?

Offcourse thats gonna create other headeggs, after all you toying around in a framework trying to get it play you way, an not the way thousands of other developers do - Nobody told you that learning to use drupal would be a walk in the park did they..?

So today theres a little present, so if your a lacy bastard and just want the basic styles here it is ;) its just a collection of different styles, nick around from different themes, and offcourse mighty drupal, so you dont have to think about collecting theres fore yourself.

just add it to the basic style sheet (style.css in your theme)

<style type="text/css" media="screen">@import "#000000">#0000BB"><?php #007700">print #0000BB">base_path#007700">() . #0000BB">path_to_theme#007700">() #0000BB">?>/style.css";</style>

Inside style.css what i do is import the basic "drupalstyles" and some other basic elements so the header of my style.css allways have the elements present in seperate files - it makes it a bit easier to work with them in the future (and you know wheres the stuff is comming from)
style.css:

@import "style_drupal.css";
@import "frameworksystemthingie.css";
@import "font-color.css";
body{}
p{}

most of the styles are comming from the system module, the might even be cutted down even more :)

AttachmentSize
style_drupal.css4.69 KB

Your Highness, May I humbly

Your Highness,

May I humbly raise your attention to the fact that your "read on" link is broken?

Gaele

gaele 3 December, 2007 - 16:56

no you may not ;)

no you may not ;)

mortendk 3 December, 2007 - 18:17

Great! That's something I've

Great! That's something I've wanted to do for a long time, but didn't have any occasion. I'll try it!

elv 3 December, 2007 - 18:48

thank you for the point! I

thank you for the point! I hadn't though about it...

Pedro Pablo 1 July, 2008 - 10:19
The content of this field is kept private and will not be shown publicly.
The noise From The bedroom these days are freyas blabbering, The bulldog snorring and The gfs laughing in her sleep wtf ;) 3 hours 21 min ago
1,530

freya rocks

the progress for my premature daughter can be folllowed here:
Freya Rocks
sorry its in danish

the blög

Upcoming events

places im gonna attend + speak at:

  • DrupalCon Copenhagen
    23 Aug 2010 (All day) - 27 Aug 2010 (All day)

good Stüff

Mothership - a clean up the crap "theme"

Miro - a open atrium theme:
more info & comments

User login

Recent comments

give some luv

drupal member ...

geek royale