FarseaSH / hugo-theme-moments

A Hugo theme designed for micro-blogging. 专为动态发布设计的Hugo主题
MIT License
132 stars 16 forks source link

Ask for the text size & color #23

Open heroiciota opened 3 months ago

heroiciota commented 3 months ago

Dear developer: Many thanks for this demo, I found the size and color or even front of website's name is often too shallow compared to the picture below, can you add this feature at your most convenience in future? Best wishes! iota

heroiciota commented 3 months ago

also, I think it could be great if there have another function which can make our moments sorted automatically in months or years. I need to say I am new here, I don't know whether it's a big work, but I would be happy if I could make some contribution besides offering suggestion.

FarseaSH commented 3 months ago

Hi Iota,

Thank you for your nice advice. For your first issue, just go to the scss style file and change the heading style the way you want. You can find the setting in the file named style-refractored.scss. Then modify this part shown below.

.jumbotron{
    padding-top: 64px;
    background-position: center;
    background-size: cover; 
    min-height: 200px; 
    text-align: center;
    margin-bottom: 30px;

    .site-title{
        color: rgb(108, 117, 125);   // MODIFY THIS
        font-size: 56px; 
        font-weight: 300;    // MODIFY THIS
        margin-bottom: 20px;
    }

    .signature{
        color: rgba(0, 0, 0, 0.5);   // MODIFY THIS
        font-size: 20px;
        font-weight: 300;   // MODIFY THIS
    }
}

I would consider later put this setting in hugo config file so that it will be more straightforward to do so.

I am a litte confused about the second point you mentioned. What do you mean by "sorting the moments in months or years". Currently the moments are ordered from newest to oldest. Do you mean adding a feature that we can go to the moment we want by a timeline or something? Can you explain it in more detail?

Also, let me know if you have any other good thoughts on this project. Thanks!

heroiciota commented 3 months ago

Great! Thanks for fixing the first issue! And, yes, you've got my point. I think it would be great if we can review our moments at specific time. ( If there is a calendar, we can go any moments we like.). Best wishes!