MediaWiki:Common.css
MediaWiki界面页面
更多操作
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 总布局 */
.outrex-container {
display: flex;
gap: 20px;
}
/* 左右 */
.outrex-main {
width: 72%;
}
.outrex-sidebar {
width: 28%;
}
/* 卡片 */
.card {
background: #1f2933;
padding: 20px;
border-radius: 12px;
}
/* 顶部双卡片 */
.outrex-topcards {
display: flex;
gap: 16px;
margin-bottom: 16px;
}
/* 公告条 */
.outrex-banner {
background: #22c55e;
padding: 12px;
border-radius: 8px;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
}
/* 图标宫格 */
.outrex-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
margin-bottom: 20px;
}
.grid-item {
background: #111827;
padding: 20px;
text-align: center;
border-radius: 10px;
}
/* 文章区 */
.outrex-articles {
display: flex;
gap: 16px;
margin-bottom: 20px;
}
.article {
flex: 1;
background: #1f2937;
padding: 20px;
border-radius: 10px;
}
/* 小入口 */
.outrex-smallgrid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
/* 右侧 */
.box {
background: #1f2937;
padding: 16px;
margin-bottom: 12px;
border-radius: 10px;
}
.join {
background: #22c55e;
text-align: center;
font-weight: bold;
}