MediaWiki:Common.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第127行: 第127行:
     padding: 5px 10px;
     padding: 5px 10px;
     font-size: 12px;
     font-size: 12px;
}
#mw-navigation {
    position: relative;
}
#p-logo {
    float: none;
    position: absolute;
    right: 0;
    bottom: 0;
}
#p-logo img {
    width: 80px;
    height: 80px;
}
#p-logo h1 {
    font-size: 16px;
    border: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(
        90deg,
        red,
        orange,
        yellow,
        green,
        cyan,
        blue,
        violet,
        red
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: p-logo-h1-word 4s linear infinite;
}
@keyframes p-logo-h1-word {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
}

2026年11月25日 (三) 10:55的版本

/*****************************************
 * Skin -> Example
 * 修复使用 example 皮肤时,诸如"首页"、"编辑源代码"、"删除"等常规功能不能点击
 * p-user-page(user-page): <用户名称>
 * p-notifications(通知): <重要通知(0)>|<常规通知(1)>
 * p-user-interface-preferences(user-interface-preferences): 
 * p-personal(个人工具): 参数设置|退出
 * p-associated-pages(associated-pages): 系统消息|页面|讨论
 * p-variants(语言变体): 
 * p-views(查看): 编辑|编辑源代码
 * p-cactions(更多): 删除|移动|保护|监视|刷新
 * p-navigation(导航): 首页|最近更改|随机页面
 * p-tb(工具): 链入页面|相关更改|上传文件|固定链接|页面信息|引用此页|浏览属性
 * p-coll-print_export(打印/导出): 创建图书|下载PDF|可打印版
 *****************************************/

/* 个人工具等栏目隐藏 checkbox 占位 */
#p-user-page > input[type="checkbox"],
#p-notifications > input[type="checkbox"],
#p-user-interface-preferences > input[type="checkbox"],
#p-personal > input[type="checkbox"],
#p-associated-pages > input[type="checkbox"],
#p-variants > input[type="checkbox"],
#p-views > input[type="checkbox"],
#p-cactions > input[type="checkbox"],
#p-navigation > input[type="checkbox"],
#p-tb > input[type="checkbox"],
#p-coll-print_export > input[type="checkbox"] {
    /*visibility: hidden !important;*/
    display: none !important;
}
/* 个人工具等栏目隐藏标题 */
#p-user-page h3,
#p-notifications h3,
#p-user-interface-preferences h3,
#p-personal h3,
#p-associated-pages h3,
#p-variants h3,
#p-views h3,
#p-cactions h3,
#p-navigation h3,
#p-tb h3,
#p-coll-print_export h3 {
    display: none !important;
}

/*****************************************
 * Skin -> Example
 * [导航菜单]修改基础样式
 * p-logo: <wiki name>
 * p-search:
 * user-tools:
 * page-tools:
 * site-navigation:
 *****************************************/

/* 修改功能按钮样式 */
#p-user-page li > a,
#p-notifications li > a,
#p-user-interface-preferences li > a,
#p-personal li > a,
#p-associated-pages li > a,
#p-variants li > a,
#p-views li > a,
#p-cactions li > a,
#p-navigation li > a,
#p-tb li > a,
#p-coll-print_export li > a {
    font-size: 14px;
}
#p-user-page li,
#p-notifications li,
#p-user-interface-preferences li,
#p-personal li,
#p-associated-pages li,
#p-variants li,
#p-views li,
#p-cactions li,
#p-navigation li,
#p-tb li,
#p-coll-print_export li {
    padding-right: 0 !important;
}
#p-personal,
#page-tools {
    margin: 0 !important;
}
#footer #footer-icons {
    display: flex;
    float: none;
    justify-content: end;
    margin: 5px 0 10px 0;
}
#footer #footer-icons li {
    padding-right: 0;
    padding-left: 1em;
}
#footer #footer-icons li > a {
    border: none;
    margin: 0;
    padding: 0;
}
#footer #footer-info {
    margin-top: 0;
    margin-bottom: 5px;
}
#footer #footer-places {
    margin-top: 0;
}
#footer #footer-info li {
    display: block;
    font-size: 12px;
}
#footer-places li a {
    font-size: 12px;
}
#siteSub {
    display: none;
}
#contentSub {
    background: lightyellow;
    padding: 0 10px;
    margin-bottom: 10px;
}
#catlinks {
    background: #ffebdf;
    padding: 5px 10px;
    font-size: 12px;
}
#mw-navigation {
    position: relative;
}
#p-logo {
    float: none;
    position: absolute;
    right: 0;
    bottom: 0;
}
#p-logo img {
    width: 80px;
    height: 80px;
}
#p-logo h1 {
    font-size: 16px;
    border: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(
        90deg,
        red,
        orange,
        yellow,
        green,
        cyan,
        blue,
        violet,
        red
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: p-logo-h1-word 4s linear infinite;
}

@keyframes p-logo-h1-word {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}