An attempt to make the default blog layout more fluid

GMSuerte's picture

On this post, you can see what happens when the browser window is resized: many items adjust themselves in order to prevent a horizontal overflow as much as possible. Hopefully this translates to a better user experience for users who have smaller screens.

Although this code is mostly done, it is still sort of a work in progress because I have not tested it on everything.

Relevant CSS (place within style tags or other CSS handler, of course):

Comment-related CSS (based on comments placed on this blog entry):

Please forgive me if I left any irrelevant code in the above box (I was testing other stuff alongside the code while making this layout), or if it doesn't work for you. The browsers I am currently supporting are approximately the latest versions of Firefox, Chrome, and Internet Explorer. This code was intended for smaller laptops and such, or those who keep their browsers at half size often, but honestly I only have my 1600x900 laptop to use as reference at the moment. Unfortunately, this code (presumably) does nothing for, say, mobile devices (although perhaps I can make it do so in the future).

Just like the title may imply, I did not create this code to resolve fluidity problems within existing layouts. If it does, then that's great. However, code is code, and code can interfere each other. So, maybe this code is better used as a base rather than as a panacea. But you never know.

All code © GMSuerte.
Hum's picture

Your genius makes this place

Your genius makes this place so much better for me and anyone else who has the delight to encounter you.

Even if what you come to list here doesn't find its way into my own posts, I greatly look forward to what your ingenuity leads you toward, and I'm always absolutely astounded by your capacity to create beautiful, elegant code which does things I previously didn't even know were possible.

Long story short, Hell yes, and trackin'.
AlisonRobin's picture

Saw this last night because I

Saw this last night because I stalk your gorgeous professional-tier work but was gonna wait to comment in case you weren't quite finished finalizing it. Smiling

I have a big monitor but moving the window size around and comparing it with other tabs on TEFc, this definitely works and it works well. Not sure if mobile support is the best use of your energies but you leave a trail of productivity wherever you go, so do whatever you please.

You, sir, are a gentleman and a scholar.
Mjrn's picture

Tested this out with ctrl -+

Tested this out with ctrl -+ and holy crap, it works like a charm. You are a genius.

Account previously Mjrn, returned to Veedeer.
GMSuerte's picture

Thanks! You're all too kind.

Thanks! You're all too kind. ;a;

I added some comment-specific code and I added comments into the code itself. (That sounds confusing at first.)

Unplugged's picture

Really really neat! Nice and

Really really neat! Nice and fluid. Thanks for this!
GMSuerte's picture

Thanks! And you're welcome!

Thanks! Smiling And you're welcome!