Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Limit body width #11

Merged
merged 1 commit into from
Dec 19, 2017
Merged

Limit body width #11

merged 1 commit into from
Dec 19, 2017

Conversation

pradyunsg
Copy link
Member

A PR to eventually close #9.

The width is 1000px and the content now has a right border for visual clarity
@pradyunsg
Copy link
Member Author

pradyunsg commented Nov 7, 2017

Currently, the width is 1000px and the content now has a right border for visual clarity.

small screen
screen shot 2017-11-07 at 12 51 17 pm

large screen
screen shot 2017-11-07 at 12 51 06 pm

The right border should probably be removed on screens with width < 1000px; I'll do it if others think having the border is useful in the first place. Ideally, I'd like to change the styling a fair bit but not just yet. :)

@pradyunsg pradyunsg requested review from theacodes and Ivoz November 7, 2017 07:23
@pradyunsg
Copy link
Member Author

pradyunsg commented Nov 7, 2017

@jonparrott I have a bunch of other improvements that I want to make:

  • topbar
    • make the go button and search bar height consistent
  • sidebar
    • overlap on mobile instead of expand
    • make top-to-bottom, instead of having (IMO) a weird margin all around
  • overall
    • make the pages full height even if the content is small
    • remove the body-padding and make it the lines touch end-to-end (needs discussion)
      • it'd be boxy but I think that'll look nicer
  • footer
    • make content show up on both sides on large displays

These are inherited from python-docs-theme; should I make issues for them upstream on the python-docs-theme repo? If so, I'll make an issue for the limit-width as well then?

(edited)

@pradyunsg
Copy link
Member Author

Aside -- another thing that can be done is move the entire body into the middle, like this:

Like this

@theacodes
Copy link
Member

These are inherited from python-docs-theme; should I make issues for them upstream on the python-docs-theme repo? If so, I'll make an issue for the limit-width as well then?

Yes, that's strongly preferred.

@pradyunsg
Copy link
Member Author

Yes, that's strongly preferred.

idk why but I'm nervous to do that. :|

@theacodes
Copy link
Member

theacodes commented Nov 8, 2017 via email

@pradyunsg
Copy link
Member Author

If it makes you feel better I'm the one that started the upstream repo?

I guess it does.

I just got overwhelmed looking at the watchers list. 🤷‍♂️

@pfmoore
Copy link
Member

pfmoore commented Nov 10, 2017

Apparently it's just the Python committers being added automatically - I'm on there and I'm pretty sure I didn't explicitly watch it. Enjoy the fame :-)

@pradyunsg
Copy link
Member Author

pradyunsg commented Nov 10, 2017

it's just the Python committers being added automatically

Makes sense.

Enjoy the fame :-)

Thanks, I guess.


On a completely different note, is anyone else even lukewarm to the idea of making an issue regarding unifying the styling of docs.python.org with python.org over on that repo? ._.

@pradyunsg
Copy link
Member Author

Any inputs on this PR? (or that question above :P)

@theacodes
Copy link
Member

Any inputs on this PR? (or that question above :P)

Would still prefer this to happen upstream if at all possible, but, if you feel like this is important enough to do here and now I'm happy to review and merge.

On a completely different note, is anyone else even lukewarm to the idea of making an issue regarding unifying the styling of docs.python.org with python.org over on that repo? ._.

Go for it, discussion is always good.

@pradyunsg
Copy link
Member Author

Go for it, discussion is always good.

What's the right place for it?

@pradyunsg
Copy link
Member Author

Would still prefer this to happen upstream if at all possible, but, if you feel like this is important enough to do here and now I'm happy to review and merge.

Well then, let's give it a shot upstream. I'm guessing it's gonna be a fairly similar PR there.

@pradyunsg
Copy link
Member Author

@jonparrott @pfmoore There's no activity on python/python-docs-theme#4. ._.

Should I ping there or is it a better idea to just get this one done and then proceed upstream?

@pradyunsg
Copy link
Member Author

Ping!

@jonparrott Can we go ahead and make this change here?

@Mariatta
Copy link

IMO this change should be made first here in pypa.
If we learned that everyone likes this new change, and they wished docs.python.org be updated, at that time it can be proposed upstream :)

@pradyunsg
Copy link
Member Author

Thanks for the comment @Mariatta! Sounds good to me. :)

@theacodes theacodes merged commit ee28ae1 into pypa:master Dec 19, 2017
@pradyunsg pradyunsg deleted the restyle-to-fixed-width branch December 21, 2017 19:03
@pradyunsg
Copy link
Member Author

@jonparrott I don't think this PR was ready for a merge. None the less, I'll make another PR with a more polished look. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit body / site width?
4 participants