模板:Main page/event/styles.css:修订间差异
来自INFWiki
更多操作
创建页面,内容为“.home-event { border: 1px solid var( --border-color-base ); border-radius: var( --border-radius-medium ); background: var( --color-surface-1 ); } .home-gameinfo { display: flex; align-items: center; justify-content: space-between; padding: var( --space-xs ) var( --space-md ); white-space: nowrap; line-height: 1; overflow-x: auto; font-size: var( --font-size-small ); gap: var( --space-xl ); } .home-gameinfo-label { color: var( --color-subtle ); }…” |
无编辑摘要 |
||
| 第49行: | 第49行: | ||
* FIXME: Find a way to make customize it through wikitext | * FIXME: Find a way to make customize it through wikitext | ||
*/ | */ | ||
background: linear-gradient(to right,# | background: linear-gradient(to right, #000 1%,transparent 33.3%); | ||
} | } | ||
2025年7月27日 (日) 22:47的最新版本
.home-event {
border: 1px solid var( --border-color-base );
border-radius: var( --border-radius-medium );
background: var( --color-surface-1 );
}
.home-gameinfo {
display: flex;
align-items: center;
justify-content: space-between;
padding: var( --space-xs ) var( --space-md );
white-space: nowrap;
line-height: 1;
overflow-x: auto;
font-size: var( --font-size-small );
gap: var( --space-xl );
}
.home-gameinfo-label {
color: var( --color-subtle );
}
.home-gameinfo-list {
display: flex;
}
.home-gameinfo-list-item {
display: flex;
align-items: center;
gap: var( --space-xs );
font-weight: var( --font-weight-medium );
}
.home-gameinfo-list-item + .home-gameinfo-list-item {
margin-left: var( --space-sm );
border-left: 1px solid var( --border-color-base );
padding-left: var( --space-sm );
}
.home-event .home-card {
height: 5rem;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.home-event .home-card__background:after {
/*
* Theme gradient color
* FIXME: Find a way to make customize it through wikitext
*/
background: linear-gradient(to right, #000 1%,transparent 33.3%);
}