诚邀有MediaWiki开发维护经验的朋友和我们一起共建英雄联盟中文Wiki平台,期待你的加入! 甜咖啡(QQ:815798492)(微信:glf101012) 请备注来意,并附带您的GitHub/Gitee主页或作品链接。

MediaWiki:Portal.css

MediaWiki界面页面

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* Temporary fix for the main page */
.portal h2 {
	display: inherit;
}

/* --- Global variables --- */
 
:root {
    --games-rail-items-per-row: 2;
    --games-rail-item-gap: .3em;
}
 
/* --- Portal templates --- */
 
.portal {
    overflow: hidden;
    margin-bottom: 17px;
    background-color: var(--module-bg);
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
}
 
.portal + p:not(.show) {
    display: none;
}
 
h2.portal__header {
    background-color: var(--portal-header-bg-color);
    color: var(--portal-header-text-color);
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    margin: 0;
    padding-bottom: 0;
    border-bottom: none !important;
    font-family: 'Helvetica';
}

.portal__content {
    box-sizing: border-box;
    padding: 10px 30px;
    font-size: 12px;
    background-color: var(--portal-bg-color);
}
 
.portal__content h3 {
    font-weight: bold !important;
}

.portal__subheader {
    background-color: var(--portal-subheader-bg-color);
    text-align: center;
    color: var(--portal-subheader-text-color);
    text-transform: uppercase;
    font: 14px/22px BeaufortLoL;
    font-weight: 700;
    padding: 3px 0;
    margin-top: 1em;
    margin-bottom: 10px;
}

.portal__content .floatright {
    margin: 15px 0 10px 20px !important;
}
 
.portal__content__affiliates {
	/*overflow-y: scroll;
	overflow-x: hidden;
	height: 200px;*/
	margin-top: 10px;
}
 
.portal__content__affiliates img {
	width: 100%;
	height: auto;
}
 
/* Portal/aux */
 
/*.portal__content span {
    display: block;
    text-align: center;
} This seems to be causing issues on UCP. Going to see how many more issues it causes if I remove it. */
 
.portal__content .preloader {
    background-repeat: no-repeat;
    background-position: 1px 1px;
}
 
.portal__content__aux {
    display: inline-block;
    position: relative;
    text-align: center;
}
 
.portal__content__aux p a {
    display: block;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 25px;
    transition: color .15s ease-in;
    color: #999;
}

/*
.portal__content .tabber:after {
    content: unset;
    display: unset;
    background-image: unset;
    background-repeat: unset;
    background-position: unset;
    width: unset;
    height: unset;
}*/