“模板:Main page/shared/styles.css”与“首页”:页面之间的差异

来自NebulaeWiki
(页面间差异)
无编辑摘要
标签手工回退
 
无编辑摘要
 
第1行: 第1行:
 
{{Main page/header}}
.g1-container {
{{主页搜索框}}
    width: 280px;
{{Main page/navigation}}
    height: 22px;
<div id="home-content" class="home-grid">
    border-radius: 7px;
{{Main page/featured}}
    background: #eee;
{{Main page/gamebuild}}
}
{{Main page/quick-access}}
.g1-progress {
{{Main page/editing}}
    width: 50%;
{{Main page/joining}}
    height: inherit;
{{Main page/railway}}
    border-radius: 7px 0 0 7px;
</div>
    background: #096dd9;
<div class="home-footer">[{{Plain link|url=https://wiki.knebulae.com/index.php?title=首页&action=edit|name=编辑}}]</div>
}
<templatestyles src="Template:Main page/shared/styles.css" />
.g2-container {
<!-- Styles -->
    width: 280px;
<includeonly>
    height: 22px;
<code>
    border-radius: 7px;
主页面替换背景标识符
    background: #eee;
</code>
}
</includeonly>
.g2-progress {
<!-- SEO -->
    width: 50%;
{{#seo:
    height: inherit;
|type = website
    border-radius: 7px 0 0 7px;
|title = 星云维基百科
    background: #096dd9;
|image =
}
|keywords = wiki,NebulaeCraft,NebulaeWiki,星云工艺,星云,Minecraft,我的世界,MC
 
|description = 星云维基百科:由NebulaeCraft官方开设的线上知识库。
.mw-ui-input
|site_name = 星云维基百科
{
|locale = {{PAGELANGUAGE}}
    box-shadow: inset 0 3px 6px rgba( 0, 0, 0, 0.04 );
}}
}
<!-- Hide ToC -->
.mw-ui-button
__NOTOC__
{
    box-shadow: inset 0 3px 6px rgba( 0, 0, 0, 0.04 );
}
 
.home-grid {
display: grid;
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
grid-auto-rows: minmax( 3rem, auto );
grid-gap: 0.625rem;
}
 
 
.home-grid--col2 {
grid-template-columns: 1fr 1fr;
}
 
.home-grid a.external {
background-image: none;
}
 
.home-card {
position: relative;
padding: 15px;
background: var( --color-surface-1 );
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: 0.875rem;
}
 
.home-card table.timeline {
margin-top: 0.2rem;
}
 
.home-card--col1 {
grid-column: span 1;
}
 
.home-card--col2 {
grid-column: span 2;
}
 
.home-card--row1 {
grid-row: span 1;
}
 
.home-card--row2 {
grid-row: span 2;
}
 
.home-card--row3 {
grid-row: span 3;
}
 
.home-card--row4 {
grid-row: span 4;
}
 
.home-card--row8 {
grid-row: span 8 / auto;
}
 
.home-card__label {
color: var( --color-base--subtle );
font-size: 0.8125rem;
letter-spacing: 0.75px;
}
 
h3.home-card__header {
margin-top: 0;
font-size: 1rem;
}
 
.home-card__header a {
display: flex;
align-items: center;
justify-content: space-between;
}
 
.home-card__header a:after {
content: '▶';
font-size: 0.8125rem;
}
 
.home-card__background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 8px;
}
 
.home-card__background:after {
position: absolute;
    pointer-events: none;
top: 0;
bottom: 0;
left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}
.home-card__background img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
 
.home-card__foreground {
position: absolute;
}
 
.home-card__foreground .home-card__label {
color: #bababa;
}
 
.home-card__foreground .home-card__header {
color: #fff;
}
 
.home-card p {
margin-top: 0.2rem;
font-size: 0.875rem;
}
 
.home-card.home-card--button {
overflow: hidden;
padding: 0;
background: #242a31;
}
 
.home-card--button a {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 15px;
background: transparent;
color: #fff;
font-weight: 500;
}
 
.home-card--button .home-card__background a {
padding: 0;
}
 
.home-card--button img {
transition: transform 0.2s ease;
}
 
.home-card--button:hover img {
transform: scale(1.1);
}
 
.home-link {
display: grid;
margin-top: 6px;
font-size: 0.875rem;
font-weight: 500;
grid-gap: 6px;
text-align: center;
}
 
.home-link__button {
display: flex;
}
 
.home-link__button a {
flex-grow: 1;
padding: 0.3rem 0.6rem;
border: 1px solid;
border-color: var( --border-color-base );
background: var( --color-surface-2 );
border-radius: 12px;
color: var( --color-base--emphasized ) !important;
}
 
.home-link__button a:hover {
background: var( --color-surface-2--hover );
}
 
.home-link__button a:active {
background: var( --color-surface-2--active );
}
 
.home-link_for_state {
margin-top: 6px;
}
 
#home-content {
margin-top: 1.6rem;
}
 
.home-card:hover .home-card__background img {
transform: scale( 1.1 );
}
 
.home-stats {
flex-grow: 1;
line-height: 1;
}
 
.home-stats__value {
font-size: 1.5rem;
font-weight: 600;
}
 
.home-stats__unit {
margin-top: 0.2rem;
color: var( --color-base--subtle );
font-size: 0.8125rem;
}
 
#home-card-QQ {
background: #24c8fd;
}
 
#home-card-kook {
background: #7acc35;
}
 
#home-card-discord {
background: #5865f2;
}
 
#home-card-patreon {
background: #ff424d;
}
 
#home-card-reddit {
background: #ff4500;
}
 
.home-footer {
font-size: 0.8125rem;
font-family: monospace;
text-align: center;
}

2023年9月19日 (二) 15:02的版本

欢迎来到

星云维基百科

这里是NebulaeCraft官方开设的线上知识库。

客户端版本
5.15.2LIVE
5.16.0WIP

开始编辑

NebulaeWiki是由各位玩家共同建立的!
感谢所有编写者为NebulaeCraft做出的贡献!

页面
编辑

加入我们

目前服务器允许新玩家加入。

要加入我们,请先加入NebulaeCraft创意交流群(可点击右侧QQ图标快速加群)。你需要在该群内充分活跃一个月,才能具备申请加入主群的资格。

之后,请在群文件中下载建筑审核表,并按照要求填写后上传至群文件「建筑审核」文件夹。若你通过了审核将会收到通知和入群邀请,若未通过则您上传的文件会被直接删除。因此请多多留意群文件!

轨道交通

城市轨道交通的建设是NebulaeCraft的核心玩法,目前服务器内已有多条建设完成的轨道交通线路。