Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[forums-announce] New Gentoo-Lite theme
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message

Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat Mar 15, 2003 3:11 pm    Post subject: [forums-announce] New Gentoo-Lite theme Reply with quote

Josh Goebel (dreamer3) has taken the time to sit down and tweak the Gentoo template for speed. :) With an aim to help users running on 56k analog modems, he has cut off a fairly significant number of bytes out of the inner template loops. The new style may have rendering problems in some browsers, but both his tests and my tests show that any modern browser should not have a problem.

Josh Goebel wrote:
Forum Index, View Forum, View Topic, and Posting were the main focus of improvements. I tried to reduce the code in the inner template loops as much as possible. This meant:

  • Removing width= and height= tags when inside a repeated loop (doesn't matter once the images are in cache anyways)
  • Removing title tags where not _truly_ needed (it is a lite style after all)
  • Collapsing style sheets and combining styles...
    This: <td class="one"><span class="two">something</span></td>
    Becomes: <td class="one_two">something</td>
    The new style one_two is of course created and visually duplicates the two individual styles combined. Works fine with newer Mozilla and IE though REALLY old browsers might not like this (not all recognize the 'class' attribute on TD.
  • Extraneous nowrap, align=left, etc tags removed in favor of them already being defaults or else moved into styles.
  • Some multiple column attributes moved into the parent TR in cases where the attributes are passed down to the children (align=center is a good example of this, don't need to specify it on EVERY TD)

View Topic
  • Removed Back to Top from each topic View Topic
  • Changed the cool mini post image that links back to a specific topic to a link on the word "Posted" instead
  • Removed the ICQ online/offline status indication which added quite a bit to the download even for people *without* ICQ listed at all. Now it just gets a pretty picture like all the others.

  • Ripped out as much of the inline javascript as I could and moved into a separate file that only needs to be downloaded once and then would be cached by the browser

You've read all about it by now, and you are asking yourself how do I test it out?!
  1. Make sure you are logged in, if not, login.
  2. Go to your Profile.
  3. Scroll down to board style, and change the drop down box to "Gentoo-Lite".
  4. Hit submit and you are good to go!

- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum