MediaWiki:Common.css:修订间差异
使用 "→LicenseImage: .license-description { clear: both; →visibility: hidden;: margin: 18px 0 18px 12px; height: 31px; } .license-description:before {…" 取代內容 |
无编辑摘要 |
||
(未显示2个用户的15个中间版本) | |||
第14行: | 第14行: | ||
height: 31px; | height: 31px; | ||
content: ""; | content: ""; | ||
background: url(https:// | background: url(https://static.wikia.nocookie.net/zhwikia/images/c/c0/MediaWiki-2020-button.svg/revision/latest?cb=20210401052111); | ||
background-size: 88px 31px; | |||
} | } | ||
.license-description:after { | .license-description:after { | ||
第24行: | 第25行: | ||
height: 31px; | height: 31px; | ||
content: ""; | content: ""; | ||
background: url(https:// | background: url(https://static.wikia.nocookie.net/worldpedias/images/a/a9/CC-BY-SA.png/revision/latest?cb=20170704005519&path-prefix=zh); | ||
} | |||
/* Styles for main page banner */ | |||
#mainpage-banner > div { | |||
line-height: 120px; | |||
} | |||
#mainpage-banner > div > div { | |||
line-height: 1.5em; | |||
vertical-align: middle; | |||
} | |||
#mainpage-banner-title { | |||
float: left; | |||
margin-left: 20px; | |||
width: 270px; | |||
} | |||
#mainpage-banner-title > div { | |||
display: inline-block; | |||
} | |||
#mainpage-banner-title h1 { | |||
font-size: 2em; | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1.6em; | |||
} | |||
#mainpage-banner-title p { | |||
margin: 0; | |||
padding: 0; | |||
font-size: 90%; | |||
} | |||
#mainpage-banner-intro > div { | |||
display: inline-block; | |||
text-align: center; | |||
} | |||
#mainpage-banner-intro .number-of-articles a { | |||
font-size: 120%; | |||
font-family: sans-serif; | |||
font-weight: bold; | |||
} | |||
#mainpage-banner-intro p { | |||
margin: 0; | |||
padding-bottom: .3em; | |||
letter-spacing: .1em; | |||
font-weight: bold; | |||
color: #457; | |||
} | |||
#mainpage-banner-intro table { | |||
width: 100%; | |||
} | |||
#mainpage-banner-intro td { | |||
vertical-align: top; | |||
padding: 0 .5em; | |||
} | |||
#mainpage h1 { | |||
font-weight: bold; | |||
border: none; | |||
} | |||
@media all and ( min-width: 720px ) { | |||
#mainpage { | |||
clear: both; | |||
} | |||
#mainpage h2 { | |||
font-weight: bold; | |||
border: none; | |||
} | |||
#mainpage h2 { | |||
font-size: 1.16em; | |||
margin-bottom: .8em; | |||
letter-spacing: .16em; | |||
} | |||
#mainpage-banner-logo { | |||
float: left; | |||
width: 112px; | |||
height: 119px; | |||
margin-bottom: 1px; | |||
/* [[File:Wiki.png]] */ | |||
background-image: url("https://static.wikia.nocookie.net/worldpedias/images/b/bc/Wiki.png/revision/latest?cb=20170616114115&path-prefix=zh"); | |||
background-position: -25px 35px; | |||
background-repeat: no-repeat; | |||
} | |||
#mainpage-banner { | |||
clear: both; | |||
} | |||
#mainpage-banner { | |||
/* [[File:Site-banner_blue.png]] */ | |||
background-image: url("https://static.wikia.nocookie.net/worldpedias/images/1/12/Site-banner_blue.png/revision/latest?cb=20220414144623&path-prefix=zh"); | |||
background-repeat: repeat-x; | |||
height: 120px; | |||
min-width: 592px; /* 112 + 20 + 270 + 170 + 20 */ | |||
} | |||
#mainpage-banner-intro { | |||
float: right; | |||
margin-right: 20px; | |||
width: 170px; | |||
text-align: right; | |||
} | |||
/* Transparent edit save page */ | |||
#editarea .loading-background { | |||
background-color: rgba(255,255,255,0.6); | |||
} | |||
} | |||
importArticles({ | |||
type: "style", | |||
article: "MediaWiki:Vector.css" | |||
}); | |||
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { | |||
margin: 2px 4px 2px 4px; /* t, l, b, r */ | |||
width:238px; | |||
border-collapse: collapse; | |||
} | |||
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { | |||
text-align:center; | |||
font-size:14pt; | |||
width:45px; | |||
height:45px; | |||
} | |||
td.lang-descriptionN, td.lang-description0, td.lang-description1, | |||
td.lang-description2, td.lang-description3 { | |||
font-size:8pt; | |||
padding:4pt; | |||
line-height:1.25em; | |||
} | |||
.lang-block0 { | |||
border:1px solid #FFB3B3; | |||
} | |||
td.lang-code0 { | |||
background-color: #FFB3B3; | |||
color: black; | |||
} | |||
:is(.theme-fandomdesktop-dark, .theme-fandommobile-dark) .fandom-community-header__image img { | |||
filter: invert(1); | |||
td.lang-description0 { | |||
background-color: #FFE0E8; | |||
color: black; | |||
} | |||
.lang-block1, .lang-block2, .lang-block3 { | |||
border:1px solid #99B3FF; | |||
} | |||
td.lang-code1, td.lang-code2, td.lang-code3 { | |||
background-color: #99B3FF; | |||
color: black; | |||
} | |||
td.lang-description1, td.lang-description2, td.lang-description3 { | |||
background-color: #E0E8FF; | |||
color: black; | |||
} | |||
.lang-blockN { | |||
border:1px solid #6EF7A7; | |||
} | |||
td.lang-codeN { | |||
background-color: #6EF7A7; | |||
color: black; | |||
} | |||
td.lang-descriptionN { | |||
background-color: #C5FCDC; | |||
color: black; | |||
} | } |
2024年8月4日 (日) 05:36的最新版本
/* LicenseImage */
.license-description {
clear: both;
/* visibility: hidden; */
margin: 18px 0 18px 12px;
height: 31px;
}
.license-description:before {
display: inline-block;
float: right;
visibility: visible;
margin-left: 5.6px;
width: 88px;
height: 31px;
content: "";
background: url(https://static.wikia.nocookie.net/zhwikia/images/c/c0/MediaWiki-2020-button.svg/revision/latest?cb=20210401052111);
background-size: 88px 31px;
}
.license-description:after {
display: inline-block;
float: right;
visibility: visible;
margin-left: 5.6px;
width: 88px;
height: 31px;
content: "";
background: url(https://static.wikia.nocookie.net/worldpedias/images/a/a9/CC-BY-SA.png/revision/latest?cb=20170704005519&path-prefix=zh);
}
/* Styles for main page banner */
#mainpage-banner > div {
line-height: 120px;
}
#mainpage-banner > div > div {
line-height: 1.5em;
vertical-align: middle;
}
#mainpage-banner-title {
float: left;
margin-left: 20px;
width: 270px;
}
#mainpage-banner-title > div {
display: inline-block;
}
#mainpage-banner-title h1 {
font-size: 2em;
margin: 0;
padding: 0;
line-height: 1.6em;
}
#mainpage-banner-title p {
margin: 0;
padding: 0;
font-size: 90%;
}
#mainpage-banner-intro > div {
display: inline-block;
text-align: center;
}
#mainpage-banner-intro .number-of-articles a {
font-size: 120%;
font-family: sans-serif;
font-weight: bold;
}
#mainpage-banner-intro p {
margin: 0;
padding-bottom: .3em;
letter-spacing: .1em;
font-weight: bold;
color: #457;
}
#mainpage-banner-intro table {
width: 100%;
}
#mainpage-banner-intro td {
vertical-align: top;
padding: 0 .5em;
}
#mainpage h1 {
font-weight: bold;
border: none;
}
@media all and ( min-width: 720px ) {
#mainpage {
clear: both;
}
#mainpage h2 {
font-weight: bold;
border: none;
}
#mainpage h2 {
font-size: 1.16em;
margin-bottom: .8em;
letter-spacing: .16em;
}
#mainpage-banner-logo {
float: left;
width: 112px;
height: 119px;
margin-bottom: 1px;
/* [[File:Wiki.png]] */
background-image: url("https://static.wikia.nocookie.net/worldpedias/images/b/bc/Wiki.png/revision/latest?cb=20170616114115&path-prefix=zh");
background-position: -25px 35px;
background-repeat: no-repeat;
}
#mainpage-banner {
clear: both;
}
#mainpage-banner {
/* [[File:Site-banner_blue.png]] */
background-image: url("https://static.wikia.nocookie.net/worldpedias/images/1/12/Site-banner_blue.png/revision/latest?cb=20220414144623&path-prefix=zh");
background-repeat: repeat-x;
height: 120px;
min-width: 592px; /* 112 + 20 + 270 + 170 + 20 */
}
#mainpage-banner-intro {
float: right;
margin-right: 20px;
width: 170px;
text-align: right;
}
/* Transparent edit save page */
#editarea .loading-background {
background-color: rgba(255,255,255,0.6);
}
}
importArticles({
type: "style",
article: "MediaWiki:Vector.css"
});
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
margin: 2px 4px 2px 4px; /* t, l, b, r */
width:238px;
border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
text-align:center;
font-size:14pt;
width:45px;
height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
font-size:8pt;
padding:4pt;
line-height:1.25em;
}
.lang-block0 {
border:1px solid #FFB3B3;
}
td.lang-code0 {
background-color: #FFB3B3;
color: black;
}
:is(.theme-fandomdesktop-dark, .theme-fandommobile-dark) .fandom-community-header__image img {
filter: invert(1);
td.lang-description0 {
background-color: #FFE0E8;
color: black;
}
.lang-block1, .lang-block2, .lang-block3 {
border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
background-color: #99B3FF;
color: black;
}
td.lang-description1, td.lang-description2, td.lang-description3 {
background-color: #E0E8FF;
color: black;
}
.lang-blockN {
border:1px solid #6EF7A7;
}
td.lang-codeN {
background-color: #6EF7A7;
color: black;
}
td.lang-descriptionN {
background-color: #C5FCDC;
color: black;
}