-
Notifications
You must be signed in to change notification settings - Fork 106
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
Organising sections #21
Comments
Hey Luke, this project has been mostly catered to myself up until nowish. So I'd love to bring on more suggestions and improvements. The H3 menu items are suppose to become inline page links that scroll you to that section. It might be buggy on different browsers. By viewport contexts you mean, what it looks like with only the stylesheet in question being applied and not all the sites stylesheets? Feel free to add me on gmail chat thomasalwyndavis@gmail.com and I'm always on the look out for local Brisbane developers! |
Sounds great, I think what I am trying to do is have sections all within one stylesheet. Say..
What I am currently doing to try and make it work is:
But what I think would be ideal would be something like...
Hope that makes sense. I actually split my code into heaps of partials with Sass and then use the single compiled stylesheet to create the Style Guide. With the viewport context I mean how you can use the icons down the bottom to show different widths: And it also allows you to just grab and resize each iframe. |
I'm also experiencing this behavior where h3's below an h2 are getting pulled up as top-level sidebar navigation. From what I can tell the model currently works like this: The h3 simply cannot be used as a sub-section underneath an h2, without being pulled up as an entirely new section in the sidebar. The layout seems to be the inverse of what it should be:
Semantically speaking, this is kind of awkward, and its becoming difficult to work with and structure multiple documents. |
I guess the simplest proposal, with smalest code impact would be to pull up all H1's into the sidebar as top-level elements (instead of currently used H3). And make H3 just act like H2s with a smaller font size. |
I have this same issue. I worked around it by just adding an actual |
Just wondering how the sectioning is currently working? i.e. The h3's in my comments are creating extra sections in the menu but with no content under them.
Good work on this by the way. I do prefer your navigation over Styledocco's and it does seem easier to use in most cases.
Would love the to see the component in iframe functionality that Styledocco has though, as it allows you to see each component in different viewport contexts.
Actually I have a bunch of ideas that I would love to talk to you about haha and I just noticed we are both from Brisbane :)
The text was updated successfully, but these errors were encountered: