Giter VIP home page Giter VIP logo

Comments (6)

LoeiFy avatar LoeiFy commented on August 25, 2024

@alvin86
1)关于下拉菜单,由于菜单是整个页面展开的,所以没有计划做下拉菜单,也没有想好怎么弄
2)在 Diaspora.css 66 - 77

.image-logo {
    z-index: 4;
    position: relative;
    display: inline-block;

    /* 这里设置成你 logo 宽高 1/2 */
    -webkit-background-size: 62px 26px;
    -moz-background-size: 62px 26px;
    background-size: 62px 26px;

    background-repeat: no-repeat;
    background-position: center center;

    /* 这里设置成你 logo 宽高 1/2 */
    width: 62px;
    height: 26px;
}

from diaspora.

alvin86 avatar alvin86 commented on August 25, 2024

谢谢您的答复。

第二个问题解决了,我使用了svg格式的logo,谢谢。

关于第一个问题,也就是下拉菜单的问题:
我想的思路是,如果整个页面都是一个菜单展开,那么可不可以在现有的菜单上叠加另外一个菜单,增加的这个使用下拉菜单样式?

谢谢。

from diaspora.

LoeiFy avatar LoeiFy commented on August 25, 2024

@alvin86
菜单当然可以弄成下来的,不过我没有什么兴趣这样弄,你可以自己自由定制下来菜单

from diaspora.

alvin86 avatar alvin86 commented on August 25, 2024

首先,感谢您不厌其烦的回复。
另外,想问下设置菜单的css代码是在dist\Diaspora.css下的.menu控制的么?我改动这个位置之后没有效果。如果在子主题下,应该如何改动?请不吝赐教。
谢谢。

from diaspora.

LoeiFy avatar LoeiFy commented on August 25, 2024

@alvin86 开发说明在这里:https://github.com/LoeiFy/Diaspora#开发说明

由于这个主题是很早期开发的,所以有点麻烦,你可能要多看一下

from diaspora.

plain-dev avatar plain-dev commented on August 25, 2024

@alvin86 请问如何使用svg格式的logo呢?麻烦给详细说明下

from diaspora.

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.