GithubHelp home page GithubHelp logo

Comments (5)

Rlxzmdd avatar Rlxzmdd commented on June 21, 2024

再看了下,发现tapbar是包含在container内的,且受限于container的宽度。
这样似乎无法单独为tapbar修改颜色。
我的想法是让tapbar颜色修改为:
image
(灰色仅为表达区域)
希望能对此进行改进~

from halo-theme-chirpy.

AirboZH avatar AirboZH commented on June 21, 2024

sorry,我不认为这是一个bug或者需要修改的地方,这应该属于一个比较个性化的需求。你可以fork本仓库并进行修改。

当然,目前我不会关闭这个Issue,如果有更多朋友支持这个Issue的话我会再考虑支持的。

from halo-theme-chirpy.

Rlxzmdd avatar Rlxzmdd commented on June 21, 2024

sorry,我不认为这是一个bug或者需要修改的地方,这应该属于一个比较个性化的需求。你可以fork本仓库并进行修改。

当然,目前我不会关闭这个Issue,如果有更多朋友支持这个Issue的话我会再考虑支持的。

好的

from halo-theme-chirpy.

Waite0603 avatar Waite0603 commented on June 21, 2024

再看了下,发现tapbar是包含在container内的,且受限于container的宽度。 这样似乎无法单独为tapbar修改颜色。 我的想法是让tapbar颜色修改为: image (灰色仅为表达区域) 希望能对此进行改进~

你可以采用代码注释的方式实现你想要的效果, 如下:

<style>
  #topbar-wrapper {
    margin-left: -3rem;
    margin-right: -3rem;
    background-color: your-color;
  }
</style>

如果你只是想修改背景颜色, 不想更改 header 中的显示效果

<style>
  #topbar-wrapper {
    margin-left: -3rem;
    margin-right: -3rem;
    background-color: #888;
  }

  #topbar {
    margin-left: 3rem;
    margin-right: 3rem;
  }
</style>

最终效果如下:
image

from halo-theme-chirpy.

Rlxzmdd avatar Rlxzmdd commented on June 21, 2024

再看了下,发现tapbar是包含在container内的,且受限于container的宽度。 这样似乎无法单独为tapbar修改颜色。 我的想法是让tapbar颜色修改为: image (灰色仅为表达区域) 希望能对此进行改进~

你可以采用代码注释的方式实现你想要的效果, 如下:

<style>
  #topbar-wrapper {
    margin-left: -3rem;
    margin-right: -3rem;
    background-color: your-color;
  }
</style>

如果你只是想修改背景颜色, 不想更改 header 中的显示效果

<style>
  #topbar-wrapper {
    margin-left: -3rem;
    margin-right: -3rem;
    background-color: #888;
  }

  #topbar {
    margin-left: 3rem;
    margin-right: 3rem;
  }
</style>

最终效果如下: image

牛的,没想到能这样写。太久没写前端了😂

from halo-theme-chirpy.

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.