Giter Site home page Giter Site logo

Comments (4)

MOxFIVE avatar MOxFIVE commented on May 25, 2024

主题自定义了无序列表的样式,兼容性不是很好。你可以修改成像 GitHub 显示的小圆圈。

https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/source/css/_partial/article.styl#L163

  ul{
    li:before{
      display inline-block;
      content: "";
      width: .4em;
      height: .4em;
      margin-right: .5em;
      margin-bottom: .11em;
      border: 1px solid lightgray;
      border-radius: 50%;
      background: lightgray;
    }
  }

删掉上面代码,用下面的替换

ul li {
    list-style-type: circle;
    margin-left: 1.2em;
}

贴图: 直接把图片托到评论框

from hexo-theme-yelee.

rushingFiend avatar rushingFiend commented on May 25, 2024

eefc2253-d5bb-447a-afc5-2e2ff82c7dd2

按你说的处理了之后还是有问题。。是不是跟有序列表的兼容性也有关?

from hexo-theme-yelee.

MOxFIVE avatar MOxFIVE commented on May 25, 2024

我的疏漏,下面的样式也要改一下,ul去掉:
https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/source/css/_partial/article.styl#L180

  li{
-   ul,ol{
+   ol {
      margin-left: 30px;
      li:before{
        content: "";
        background: #dedede;
      }
    }
  }

snip20160201_1

from hexo-theme-yelee.

rushingFiend avatar rushingFiend commented on May 25, 2024

嗯嗯,可以了,谢谢!!

from hexo-theme-yelee.

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.