MediaWiki:Vector.css:修订间差异

删除407字节 、​ 2022年11月11日 (星期五)
无编辑摘要
无编辑摘要
无编辑摘要
 
/* 旧版书页样式 */
body.skin-vector.skin-vector-legacy #mw-panel {
/* MediaWiki 默认样式修正左侧栏 */ }
position: fixed;
body.skin-vector.skin-vector-legacy #mw-panel {
width: 8rem;
/* 左侧栏 */
positionleft: fixed0.5rem;
widthtop: 8rem3rem;
padding: 0 left:1rem 0.5rem 1rem;
background-color: #fff9;
top: 3rem;
paddingborder: 0 1rem1px 0.5remsolid 1rem#ccc;
border-radius: 4px; }
background-color: #fff9;
body.skin-vector.skin-vector-legacy #mw-panel #p-logo {
border: 1px solid #ccc;
border-radiuswidth: 4px10rem; }
height: 10rem;
body.skin-vector.skin-vector-legacy #mw-panel #p-logo {
widthmargin-top: 10rem-14px;
heightmargin-left: 10rem-1rem; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo a {
margin-top: -14px;
marginbackground-leftsize: -1remcontain; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo a+ .portal {
backgroundmargin-sizetop: contain0; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal .vector-menu-content {
margin-topleft: 0; }
 
body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal .vector-menu-content {
body.skin-vector.skin-vector-legacy .mw-prefs-buttons {
margin-left: 0; }
background-color: #fbf2db; }
body.skin-vector.skin-vector-legacy .mw-prefs-buttons {
 
background-color: #fbf2db; }
body.skin-vector.skin-vector-legacy .oo-ui-tabSelectWidget-framed {
background-color: #e3c99e; }
 
body.skin-vector.skin-vector-legacy #p-personal {
body.skin-vector.skin-vector-legacy #p-personal {
/* 最顶部的信息栏 */
/* 最顶部的信息栏 */
width: 100%;
positionwidth: fixed100%;
topposition: 0fixed;
righttop: 0;
heightright: 2.5rem0;
paddingheight: 02.5rem 1rem;
padding: 0.5rem 1rem;
background-image: var(--theme-topbar-img);
background-sizeimage: containvar(--theme-topbar-img);
background-size: contain;
box-sizing: border-box;
opacitybox-sizing: 0.5border-box;
font-sizeopacity: 1rem0.5;
font-size: 1rem;
transition: opacity 0.3s ease 0.5s; }
transition: opacity 0.3s ease 0.5s; }
body.skin-vector.skin-vector-legacy #p-personal:hover {
body.skin-vector.skin-vector-legacy #p-personal:hover {
opacity: 1;
transition-delayopacity: 0s1; }
transition-delay: 0s; }
body.skin-vector.skin-vector-legacy #p-personal ul {
body.skin-vector.skin-vector-legacy #p-personal ul {
float: right; }
float: right; }
body.skin-vector.skin-vector-legacy #p-personal ul li {
body.skin-vector.skin-vector-legacy #p-personal ul li {
height: 1rem;
margin-topheight: 01rem;
margin-bottomtop: 0;
fontmargin-sizebottom: 0.9rem;
linefont-heightsize: 1rem0.9rem; }
line-height: 1rem; }
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-alert,
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-notice {alert,
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-notice {
margin-right: 0; }
margin-right: 0; }
body.skin-vector.skin-vector-legacy .ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
 
/* 顶部的信息栏遮挡可视化编辑器 */
body.skin-vector.skin-vector-legacy .ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
top: 2.5rem; }
/* 顶部的信息栏遮挡可视化编辑器 */
body.skin-vector.skin-vector-legacy #mw-head {
top: 2.5rem; }
/* 顶部栏 */
 
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head {
padding: 0 57px 0 69px;
/* 顶部栏 */
width: calc(100% - 126px); }
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head #left-navigation,
padding: 0 57px 0 69px;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation {
width: calc(100% margin-top: 0rem126px); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation nav,
body.skin-vector.skin-vector-legacy #mw-head #leftright-navigation div,{
margin-top: 0rem; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation spannav,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation adiv,
body.skin-vector.skin-vector-legacy #mw-head #rightleft-navigation navul,
body.skin-vector.skin-vector-legacy #mw-head #rightleft-navigation divspan,
body.skin-vector.skin-vector-legacy #mw-head #rightleft-navigation ula,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation spannav,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation a {div,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul,
background-image: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation span,
background-color: transparent; }
body.skin-vector.skin-vector-legacy #mw-head #leftright-navigation li,a {
background-image: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li {
borderbackground-leftcolor: nonetransparent; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li,
border-right: none; }
body.skin-vector.skin-vector-legacy #mw-head #leftright-navigation li:first-child, {
border-left: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:first-child {
border-leftright: 1px solid var(--linecolor)none; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:lastfirst-child,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:lastfirst-child {
border-rightleft: 1px solid var(--linecolor); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li:last-child,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li:last-child {
heightborder-right: 2.7rem1px solid var(--linecolor); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li,
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%); }
body.skin-vector.skin-vector-legacy #mw-head #leftright-navigation ul li:hover, {
height: 2.7rem;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li:hover {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 1220%); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li a:hover,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li a:hover {
font-size: 0.875rem;
padding-top: 1rem;
text-align: center; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li.icon a,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li.icon a {
padding-top: 2.5rem; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li:hover a,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li:hover a {
font-size: 0.875rem;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%); }
padding-top: 1rem;
body.skin-vector.skin-vector-legacy #mw-head #p-cactions .menu li {
border: 1px solid var(text--linecolor)align: center; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li.icon a,
background-color: var(--lightcolor); }
body.skin-vector.skin-vector-legacy #contentmw-head #right-navigation ul li.icon a {
padding-top: 2.5rem; }
/* 主体 */
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li,
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li {
min-height: 400px;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
padding: 1px 69px;
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li:hover,
margin-left: 11rem;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li:hover {
margin-right: 0.5rem;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%); }
margin-bottom: calc(92px + 5rem);
body.skin-vector.skin-vector-legacy #mw-head #p-cactions .menu li {
overflow: visible;
border: 1px solid var(--linecolor);
position: relative;
background-color: var(--book-border-leftlightcolor); left top repeat-y, var(--book-border-right) right top repeat-y;}
 
background-color: var(--bgcolor);
body.skin-vector.skin-vector-legacy #content {
border: none;
/* 主体 */
border-width: 0; }
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #content::after, body.skin-vector.skin-vector-legacy #content::before {
contentmin-height: ''400px;
padding: 1px left: 069px;
heightmargin-left: 46px11rem;
margin-right: 0.5rem;
width: calc(100% - 92px);
margin-bottom: calc(92px + 5rem);
padding: 0 46px;
displayoverflow: blockvisible;
position: absoluterelative; }
background: var(--book-border-left) left top repeat-y, var(--book-border-right) right top repeat-y;
body.skin-vector.skin-vector-legacy #content::before {
background-color: var(--bgcolor);
top: -46px;
border: none;
background: var(--book-border-left-top) left top no-repeat, var(--book-border-right-top) right top no-repeat, var(--book-border-top) top repeat-x content-box; }
border-width: 0; }
body.skin-vector.skin-vector-legacy #content::after {
body.skin-vector.skin-vector-legacy #content::after, body.skin-vector.skin-vector-legacy #content::before {
bottom: -46px;
content: '';
background: var(--book-border-left-bottom) left bottom no-repeat, var(--book-border-right-bottom) right bottom no-repeat, var(--book-border-bottom) bottom repeat-x content-box; }
left: 0;
body.skin-vector.skin-vector-legacy #footer {
/*height: 页脚 */46px;
width: calc(100% - 92px);
padding-bottom: 0;
margin-toppadding: 0 46px;
cleardisplay: bothblock;
transitionposition: all 0.3sabsolute; }
body.skin-vector.skin-vector-legacy #footercontent::hoverbefore {
top: -46px;
/*鼠标滑过,背景变白*/
background: var(--book-border-left-top) left top no-repeat, var(--book-border-right-top) right top no-repeat, var(--book-border-top) top repeat-x content-box; }
background: rgba(255, 255, 255, 0.7); }
body.skin-vector.skin-vector-legacy #content::after {
@media screen and (max-width: 982px) {
bottom: -46px;
body.skin-vector.skin-vector-legacy {
background: var(--book-border-left-bottom) left bottom no-repeat, var(--book-border-right-bottom) right bottom no-repeat, var(--book-border-bottom) bottom repeat-x content-box; }
/* 适配 */ }
 
body.skin-vector.skin-vector-legacy #mw-panel {
body.skin-vector.skin-vector-legacy #footer {
left: 0; }
/* 页脚 */
body.skin-vector.skin-vector-legacy #content {
marginpadding-leftbottom: 10rem0;
margin-righttop: 046px; } }
clear: both;
body.skin-vector.skin-vector-legacy #mw-page-base,
transition: all 0.3s; }
body.skin-vector.skin-vector-legacy #mw-head-base {
body.skin-vector.skin-vector-legacy #footer:hover {
background-color: transparent;
/*鼠标滑过,背景变白*/
opacity: 0;
background: rgba(255, 255, 255, 0.7); }
display: none;
 
height: 0; }
@media screen and (max-width: 982px) {
body.skin-vector.skin-vector-legacy fieldset,
body.skin-vector.skin-vector-legacy ul,{
/* 适配 */ }
body.skin-vector.skin-vector-legacy li,
body.skin-vector.skin-vector-legacy a,#mw-panel {
left: 0; }
body.skin-vector.skin-vector-legacy span,
body.skin-vector.skin-vector-legacy em,#content {
margin-left: 10rem;
body.skin-vector.skin-vector-legacy pre,
margin-right: 0; } }
body.skin-vector.skin-vector-legacy h1,
 
body.skin-vector.skin-vector-legacy h2,
body.skin-vector.skin-vector-legacy h3#mw-page-base,
body.skin-vector.skin-vector-legacy h4,#mw-head-base {
background-color: transparent;
body.skin-vector.skin-vector-legacy h5,
opacity: 0;
body.skin-vector.skin-vector-legacy h6 {
display: none;
border-color: var(--linecolor) !important; }
height: 0; }
 
body.skin-vector.skin-vector-legacy fieldset,
body.skin-vector.skin-vector-legacy ul,
body.skin-vector.skin-vector-legacy li,
body.skin-vector.skin-vector-legacy a,
body.skin-vector.skin-vector-legacy span,
body.skin-vector.skin-vector-legacy em,
body.skin-vector.skin-vector-legacy pre,
body.skin-vector.skin-vector-legacy h1,
body.skin-vector.skin-vector-legacy h2,
body.skin-vector.skin-vector-legacy h3,
body.skin-vector.skin-vector-legacy h4,
body.skin-vector.skin-vector-legacy h5,
body.skin-vector.skin-vector-legacy h6 {
border-color: var(--linecolor) !important; }
 
:root {
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li {
background-image: none; }
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li:not(.new) a {
color: #4caf50; }
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li.selected a {
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,462

个编辑