[CSS-Hack] Fluid forum layout

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: smiley.1438

smiley.1438

Ok, i just wanted to adjust the width of the forum, because i’m sick of having 50% space wasted on my 1920 screen, but i ended up in a whole “redesign”. I’d like to share it with you, you just need a browser plug which can handle user stylesheets. Have fun

https://gist.github.com/codemasher/5884119

/*
 * Fluid Layout CSS Hack for the official Guild Wars 2 Forums
 *
 *
 * This stylesheet will override the forums default style and set it to a fluid full width layout
 * with increased font sizes for better readability at high resolutions.
 * It will also fix a few quirks like the unusable language links on the top and margins around smileys,
 * adds a monospace font and background for <pre> tags, increases the size of editor textareas and hides the e-mail address in the forums overall header.
 * (if you ever happen to make screenshots on the forums)
 *
 * intended for use with tools like:
 *
 * Stylebot (developed and tested with that)
 * https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha
 *
 * Stylish for Firefox (a few things somehow don't work, like min-height for posts)
 * https://addons.mozilla.org/de/firefox/addon/stylish/
 *
 * ...or any other browser plug-in which lets you add user defined styles.
 *
 * If you have suggestions or encounter problems with this stylesheet, just drop me a line on the gw2 forums
 * or just leave a comment right here on GitHub. (just don't ask me how to install this!)
 *
 *
 * smiley.1438
 *
 */

Attachments:

(edited by smiley.1438)

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: Bossy Bessy.3829

Bossy Bessy.3829

smiley, thank you for this; less scrolling down the page now

Goodbye Mr Anderson – Ranger | Ima Seamstress – Guardian
The Society [SCTY] on YB

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: smiley.1438

smiley.1438

You’re welcome

I’ve found a little bug when posting and editing messages. i thought i had it fixed by adding :not(.flash.notice), but it wasn’t that easy. I recommend to remove the 2 occurences of this until i’ve brought up another fix.

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: AesirValkyr.7418

AesirValkyr.7418

I also have a 1920×1080 screen and want to thank you for the code.

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: smiley.1438

smiley.1438

:D

I’ve fixed that lil bug (ok, i actually fixed it by making the notice box invisible) and i’ve added a monospace font for pre tags.

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: alcopaul.2156

alcopaul.2156

will i get banned? since this is a third-party “program”?

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: Defektive.7283

Defektive.7283

will i get banned? since this is a third-party “program”?

no you should be more than fine. like 1000000000% ok.

tPvP Warrior
http://www.twitch.tv/defektive
Team Blacklisted [Envy]

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: smiley.1438

smiley.1438

will i get banned? since this is a third-party “program”?

This is actually no third party program. Installing a browser extension (which would be 3rd party, but not for the game^^) that just manages the appearance of a website isn’t bad at all.

btw. i made some more fixes. There’s still a problem with the “delete post” dialog when it loads via ajax into the overlay container. Current workaround: right click -> open in new window.

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: Chase.8415

Chase.8415

I actually prefer the centered design on this website, but thanks for posting for those who don’t.

You should really not call it a “hack” though, all it is basic programming for a browser extension.

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: smiley.1438

smiley.1438

Yep, and the browser extension injects the code to the current site – so it’s kind of a hack

[CSS-Hack] Fluid forum layout

in Guild Wars 2 Discussion

Posted by: JustTrogdor.7892

JustTrogdor.7892

Yep, and the browser extension injects the code to the current site – so it’s kind of a hack

No it does not insert code into the site itself. It changes how your browser reads and displays it.

The Burninator