Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] - changing forums appearance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun May 08, 2005 8:18 pm    Post subject: [TIP] - changing forums appearance Reply with quote

*update* - URIid isn't maintained so please see http://forums.gentoo.org/viewtopic-p-3290502.html#3290502

-- Are you owner of some hi-res screen (>=1600x1200) - or 1280x1024 on <=17"?
-- Are you a little annoyed about the (too) small fonts on these forums?
-- Are you tired of everytime pressing <ctrl>+<+> to change to a (more) readable size?
-- Are you using Firefox for browsing?

You wan't to change this? Here's how....

The trick is to 'overload' the CSS that comes with the site when you open it.

OK you say, nothing new so far but if i do that ALL sites would be bigger if i do this in userContent.css.

Wrong :roll:

By using a little extension for firefox called URIid this is possible.
URIid makes it possible to have own CSS settings per website.

Just have a look into the CSS file for the forums and check which font sizes are too small for what you'd like to have.

Suitable settings for my eyes are (just attach to your userContent.css)
Code:
body.uriid-forums-gentoo-org *[class="topictitle"],
body.uriid-forums-gentoo-org *[class="code"],
body.uriid-forums-gentoo-org *[class="genmed"],
body.uriid-forums-gentoo-org *[class="postbody"] {
FONT-SIZE: 13px !important;
}

body.uriid-forums-gentoo-org *[class="quote"],
body.uriid-forums-gentoo-org *[class="gensmall"] {
FONT-SIZE: 12px !important;
#defaults:
#gensmall 10px
#code / quote / genmed 11px
#postbody 12px


Means - all elements on site forum.gentoo.org with e.g. classid 'postbody' will be shown in 13px instead of (default) 12px.
You see it's just 1px more but that makes the difference for me between beeing annoyed and beeing happy.

Hopefully this little hack isn't longer needed with the outstanding redesign of the forums.

HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself


Last edited by think4urs11 on Sun Apr 30, 2006 5:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon May 09, 2005 12:49 pm    Post subject: Reply with quote

Excellent! - now if only you'd put it in D, T & T.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Mon May 09, 2005 1:16 pm    Post subject: Reply with quote

wasn't sure about.

according to the forums description i thought OTG would be the best place for it.
Maybe some friendly mod moves it to where it fits best.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Earthwings
Administrator
Administrator


Joined: 14 Apr 2003
Posts: 7751
Location: Karlsruhe, Germany

PostPosted: Mon May 09, 2005 1:25 pm    Post subject: Reply with quote

Think4UrS11 wrote:
Maybe some friendly mod moves it to where it fits best.

Done :)
_________________
KDE 4.13 - Get It While It's Hot!
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Apr 30, 2006 4:26 pm    Post subject: Reply with quote

as URIid doesn't seem to be updated any longer and doesn't work with Firefox 1.5 we now use Stylish instead.
just install and import the following into your styles:
Code:
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://forums.gentoo.org") {
span.postbody { font-size: 13px !important; }
span.quote { font-size: 13px !important; }
span.code { font-size: 13px !important; }
span.postbody { font-size: 13px !important; }
a.topictitle { font-size: 13px !important; }
}
as with URIid *any* element can be fully customized, so the above is just a quick hack to size up the fonts on the forums a tiny bit.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Wed May 03, 2006 1:52 am    Post subject: Reply with quote

Stylish wont install for me. I run Firefox 1.0.8 (latest "stable" portage)
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed May 03, 2006 3:02 pm    Post subject: Reply with quote

swooshOnLn wrote:
Stylish wont install for me. I run Firefox 1.0.8 (latest "stable" portage)

use URIid instead (see first post), should work with FF <1.5
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
swooshOnLn
l33t
l33t


Joined: 28 Feb 2006
Posts: 741
Location: Charlotte, North Carolina

PostPosted: Wed May 03, 2006 3:59 pm    Post subject: Reply with quote

I just decided to upgrade firefox.... why is the current "stable" firefox way down at 1.0.8, while firefox is realeasing up to 1.5 and up?
_________________
"WARNING: you may LOL"

This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
Back to top
View user's profile Send private message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Tue May 30, 2006 11:18 am    Post subject: HOWTO: Make forums.gentoo.org More Readable Reply with quote

Im sure im not the only Gentoo user who has bad eyesight and has trouble using this forum, so I thought I would share a piece of CSS you can put inside your userContent.css in the chrome directory of your Firefox profile.

If you can improve it, please do.

Code:

/*
** forums.gentoo.org
*/
@-moz-document url-prefix(http://forums.gentoo.org/) {
  .gensmall, .forumlink, .genmed, td.row1, td.row2, .topictitle, .name,
  .postdetails, .postbody, .code {
    font-size: 1em !important;
  }
  a.forumlink {
    font: bold 1.2em arial, verdana, helvetica !important;
    color: red !important;
    text-decoration: underline !important;
  }
  textarea.post, input.post, input.mainoption {
    font: normal 2em aria, verdana, helvetica, sans-serif !important;
  }
}
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Tue May 30, 2006 12:30 pm    Post subject: Reply with quote

Merged previous post.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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