-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed vs Fluid #12
Comments
On the LESS branch I've not done anything with media queries yet, but its built on a fluid grid so you should see all the columns resize as you bring the browser width from widescreen to small screen. I've not looked at rearranging the sidebars etc for mobile/tablet device screens and such just yet, not got around to that yet. Regarding the em heights etc, I'm not sure Semantic GS does anything to do with height. But then I guess this doesnt require a grid? Elements requiring a height can be set with em regardless of the grid I guess? Everything, even with its a fixed-width layout uses % for it's sizes such as margins and widths. Am I missing something or would the element not scale with a font-size because its content has become bigger? I try to always use ems on text/heading margins and padding for this reason, as well as line-height of course. Agreed on both LESS and SASS to be included, people have their preferences and its common for both to be included. |
Just a quick note... you'll see what I mean in the LESS branch with things like the homepage slideshow resizing fluidly as you resize, I think its a nice addition. The slideshow script used shows the navigation arrows on hover, until you get to touch screen device widths where they display fully. Quite like that. |
EMs is a semi fluid value, as the textsize increases, so does the size of the em, that way paddings, margins etc will always be relational to the fontsize. a 5px padding will always stay 5px high, and can make it look strange if the text gets too big. I have been thinking of adding a fontsize switcher in the template. |
I've been using this mixin in LESS:
So setting |
ok I have been thinking ov fluid vs fixed over the night, and I think that fluid is a better startingpoint, as I said before, we can always add fixed markup to the wrappers, and have them be activated by a body class. |
I'm guessing you haven't started on the responsive part of the less/fluid tree yet.
Regardless of the Fluid vs fixed question, I think it's important that the gridsystem used in this project should support both sass and less, in order to keep the respective branches as similar as possible.
Semantic.gs vs frameless/golden grid:
From a fluid standpoint, their more or less the same. But semantic uses pixels, and Golden uses em for non fluid elements... like height.
I feel em is a better choice, as it will make the design scale if the user changes the font size.
we can't really use % for height in a div etc, browsers tend to not like that... so that leaves us with px or em, px wont scale if the user changes the font size, but em does. giving the template a better way to adapt for visually impaired people.
I would vote for Frameless/golden due to em.
Could add both fixed and fluid to the markup, all that would be needed is a body tag class. It's more work, but would let people chose for them self what version they prefer, after all, if the design is originally fluid, it's only the wrappers and elements like sidebars that would need to be changed if someone wanted fixed width.
The text was updated successfully, but these errors were encountered: