hexo的yelee主題中的標籤字體大小的修改

路徑:
themes/yelee/source/css/_partial/main.styl

修改代碼爲:

    .header-menu{
        menu-line-height = (28/16)rem

        font-weight: 550;
        line-height: menu-line-height;
        font-family: inherit;
        cursor: pointer;
        text-transform: uppercase;
        float: none;
        min-height: @line-height * 3;
        max-height: @line-height * 5;
        overflow: visible;
        text-align: center;
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: center;
        -webkit-box-align: center;
        li{
            cursor: default;
            a{
                font-size: 2rem;
                min-width: left-col-width;
            }
        }
    }

修改上面的font-size即可,修改效果如下:

預覽鏈接:

appleyuchi.github.io

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章