Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 New CSS file

closed-accepted
nobody
None
5
2008-06-21
2006-08-18
Kannan Goundan
No

I don't like the default Codestriker look, so I created
a CSS file that, IMO, makes Codestriker look better.
The main changes are that it's blue-based instead of
green-based and it uses serif fonts in more places.

I've asked a couple other people and they seem to
prefer it over the default. I'm hoping that you guys
prefer it too and decide to make it the default CSS
file for future releases.

Of course, opinions differ wildly on this sort of thing
so I understand if you prefer the existing look.

Discussion

  • Kannan Goundan
    Kannan Goundan
    2006-08-18

    CSS file (serif fonts, blue-based)

     
  • rob_webset
    rob_webset
    2007-01-24

    Logged In: YES
    user_id=1137102
    Originator: NO

    I quite like the look of that.

    Maybe one option is to have a library of different css files that the user can then pick which look they would prefer?

    Thanks, Rob

     
  • rob_webset
    rob_webset
    2008-02-26

    Logged In: YES
    user_id=1137102
    Originator: NO

    I have looked a little deeper into this, and it is not very difficult to support a library of different style sheets. The majority of the work is already in the existing release.

    In the existing release in the codestriker.conf file there is a variable:
    $codestriker_css
    Which you can point to a stylesheet. The problem is that in other areas of the code it seems to insist that the stylesheet is called "codestriker.css". I have created a patch that removes that dependancy.

    So all we need to do is copy the codestriker-bluish.css file into codestrikers html directory and in order to use it all a user has to to is update the $codestriker_css value to be "http:// .......... /codestriker-bluish.css"

    I will E-mail the patch file as I am unable to add attachments to bugs raised by other users.

     
  • David Sitsky
    David Sitsky
    2008-06-21

    • status: open --> closed-accepted
     
  • David Sitsky
    David Sitsky
    2008-06-21

    Logged In: YES
    user_id=208928
    Originator: NO

    I've included Kannan's CSS file into the distribution, and modified Rob's patch slightly so that it is easy to switch between different CSS files just by specifying a different CSS file in codestriker.conf, without having to resort to absolute paths. Thanks for the contributions and apologies for the long delay.