“用户:789O”与“MediaWiki:Mainpage.js”:页面之间的差异

41次编辑加入于2023年9月19日 (星期二)
(页面间差异)
标签已被回退
 
无编辑摘要
标签手工回退
 
第1行: 第1行:
 
$(function(){
'''789O''' 生卒年不详,现居住于中华人民共和国天津市,具体位置未知
    /* 头图 */
 
    var page = document.querySelector("body");
=== 简介 ===
    if (page.classList.contains('page-首页')) {
* 此人神秘莫测,你永远不知道他在干什么。
        var mwBody = document.getElementById('content');
* 小概率会在服务器内捕捉到<small>“怎么可能”</small>
        var newDiv = document.createElement('div');
* 大概率在0点后出现在某个群内''今日人品今日运势''
        newDiv.setAttribute('class', 'header-image');
* 经常在群内发一些意义不明的表情包
        newDiv.innerHTML = '<div class="header-image" style="background-image: linear-gradient(to top, var(--color-surface-0), transparent 50%), url(https://wiki.knebulae.com/images/title.png);background-size: cover;background-position: top;height: 36vh;margin-bottom: -37vh;"></div>';
 
        mwBody.parentNode.insertBefore(newDiv, mwBody);
=== 社交 ===
    }
'''目前面基过的人:''' [[中南aa2]]、[[Zeze49024]]、[[CuteKims]]、[[开车]]、[[Sakana_20|Sakana]]、[[Rihang_737]]、[[DeepLemon]]、[[Kuina_20|Kuina]]
}());
 
=== 足迹 ===
 
==== 2018 ====
加入'''RIA|TW'''
 
==== 2020 ====
 
加入'''粽子工艺'''
 
==== 2022 ====
加入'''星云工艺'''

2024年1月3日 (三) 16:27的最新版本

$(function(){
    /* 头图 */
    var page = document.querySelector("body");
    if (page.classList.contains('page-首页')) {
        var mwBody = document.getElementById('content');
        var newDiv = document.createElement('div');
        newDiv.setAttribute('class', 'header-image');
        newDiv.innerHTML = '<div class="header-image" style="background-image: linear-gradient(to top, var(--color-surface-0), transparent 50%), url(https://wiki.knebulae.com/images/title.png);background-size: cover;background-position: top;height: 36vh;margin-bottom: -37vh;"></div>';
        mwBody.parentNode.insertBefore(newDiv, mwBody);
    }
}());