Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

CSS Fixes and adjustments #1

Merged
merged 1 commit into from
Jun 6, 2019
Merged

CSS Fixes and adjustments #1

merged 1 commit into from
Jun 6, 2019

Conversation

bloycey
Copy link
Collaborator

@bloycey bloycey commented Jun 6, 2019

This is a small patch to adjust some of the styling, particularly on mobile. I haven't really changed the aesthetic very much - just fixed a few things that were simple.

  • Changed content container so that it is centered on all viewports.
  • Removed card layout for posts when on small devices and added a small margin.
  • Gave blog tags a little more spacing and centered using flex
  • Adjusted TOC component to suit new layout
  • Softened the color on the search bar to be a bit less intense.
  • Centered footer content on small devices

There is more that could be added/reviewed, for example:

  • It's not usually advisable to use pure black (e.g. text and the footer);
  • Maybe a custom google font could look nice?
  • Potentially add a mobile dropdown menu

Let me know if there's anything that you'd like me to do. Happy to help.

- Changed content container functions so that it is centered on all viewports.
- Removed card layout for posts when on small devices
- Gave blog tags a little more spacing and centered using flex
- Adjusted TOC component to suit new layout
- Softened the color on the search bar to be a bit less intense
- Centered footer content on small devices
@ulivz
Copy link
Member

ulivz commented Jun 6, 2019

That's a very great work, Thanks!


  1. It's not usually advisable to use pure black (e.g. text and the footer);
    Yes, maybe we can refine the default palette. feel free to submit your ideas boldly, because I am only a visual animal, Whoopee!

  2. Maybe a custom google font could look nice?
    Yes, I like medium and especially its custom font.

  3. Potentially add a mobile dropdown menu
    Yes, we don't need to repeat sidebar again, the mobile dropdown menu would be better!


And here are some beautiful websites I like:

https://ktquez.com/en/
https://vuepress-portfolio.netlify.com/


Look forward to see your contributions. ❤️

@ulivz ulivz merged commit 066c1fd into vuepress:master Jun 6, 2019
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.

2 participants