打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:首页/styles.css:修订间差异

来自NMWiki
Smalllqiang
Smalllqiang留言 | 贡献 (test)
Smalllqiang
Smalllqiang留言 | 贡献 (test)
 
(未显示同一用户的1个中间版本)
第3行: 第3行:
     align-items: center;
     align-items: center;
     justify-content: space-between;
     justify-content: space-between;
     padding: 10px 20px;
     padding: 10px 20px 10px 40px;
}
}



2025年11月20日 (四) 20:29的最新版本

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 40px;
}

.logo {
    flex: 0 0 auto;
    max-width: 120px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 120px;
    height: auto;
    position: relative;
}

.logo::before {
    content: "";
    display: block;
    padding-top: 100%;
}

@media (max-width: 768px) {
    .logo {
        max-width: 70px;
    }
}

.site-info {
    margin: 0 auto;
    text-align: center;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.slogan {
    font-size: 14px;
    color: #555;
    margin: 0;
}