Giter Club home page Giter Club logo

Comments (8)

LouisBarranqueiro avatar LouisBarranqueiro commented on May 26, 2024
  1. Edit max-width value of $main-content map in tranquilpeak/source/_css/utils/_variables.scss file :
// Main content
$main-content: (
    'max-width':          750px,
    'padding-right-left': 20px,
);
  1. Run grunt build or/and grunt buildProd to see changes
  2. Enjoy :D

from hexo-theme-tranquilpeak.

kaedea avatar kaedea commented on May 26, 2024

Thanks, Louis.
Another, is it possible to set the sidebar to the right?

from hexo-theme-tranquilpeak.

LouisBarranqueiro avatar LouisBarranqueiro commented on May 26, 2024

Currently no, but it could be a new feature. Create a new issue to ask if other people would like to be able to do that :)

from hexo-theme-tranquilpeak.

kaedea avatar kaedea commented on May 26, 2024

Hey Louis, sorry to disturb.
As to super large screen, it seems not good simply setting a wider post-content. I think it is good to set a fixed 'max-width' for post-content just like what you have done.
Therefore, I am considering how about add a new sidebar behavior which show a wider and new-styled sidebar in super large screen.

image

from hexo-theme-tranquilpeak.

jrbenito avatar jrbenito commented on May 26, 2024

@kaedea ,

this is really a good thing to ask as new feature. Could you please open another issue?

Thanks

from hexo-theme-tranquilpeak.

LouisBarranqueiro avatar LouisBarranqueiro commented on May 26, 2024

@kaedea @jrbenito It's a pitty to hide all sidebar menu with all this space. It takes 1 more actions to navigate with the menu. You would like exactly the same sidebar on the photo or it's just an example?

from hexo-theme-tranquilpeak.

kaedea avatar kaedea commented on May 26, 2024

@LouisBarranqueiro
All right, I don't know exactly what pitty means. The wide sidebar I showed above is just an example. But I like this style (avatar + bio + links' icon).
Please consider this feature, as most Chinese coders like 1080p screen. The best way to keep a fixed-width post content in different screens is using a flexible sidebar.

from hexo-theme-tranquilpeak.

jrbenito avatar jrbenito commented on May 26, 2024

@kaedea

Do you need help to PR this? We can try merge in your code.

from hexo-theme-tranquilpeak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.