View previous topic :: View next topic |
Author |
Message |
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun May 08, 2005 8:18 pm Post subject: [TIP] - changing forums appearance |
|
|
*update* - URIid isn't maintained so please see https://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
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon May 09, 2005 12:49 pm Post subject: |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Mon May 09, 2005 1:16 pm Post subject: |
|
|
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 |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Mon May 09, 2005 1:25 pm Post subject: |
|
|
Think4UrS11 wrote: | Maybe some friendly mod moves it to where it fits best. |
Done _________________ KDE |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun Apr 30, 2006 4:26 pm Post subject: |
|
|
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 |
|
|
swooshOnLn l33t
Joined: 28 Feb 2006 Posts: 741 Location: Charlotte, North Carolina
|
Posted: Wed May 03, 2006 1:52 am Post subject: |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed May 03, 2006 3:02 pm Post subject: |
|
|
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 |
|
|
swooshOnLn l33t
Joined: 28 Feb 2006 Posts: 741 Location: Charlotte, North Carolina
|
Posted: Wed May 03, 2006 3:59 pm Post subject: |
|
|
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 |
|
|
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Tue May 30, 2006 11:18 am Post subject: HOWTO: Make forums.gentoo.org More Readable |
|
|
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 |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|