MediaWiki:Gadget-site-styles.css:修订间差异

删除2,543字节 、​ 2023年10月2日 (星期一)
//Edit via InPageEdit
(导入1个版本)
(//Edit via InPageEdit)
 
(未显示2个用户的23个中间版本)
第5行:
*/
 
/* content mostly taken from [https[adodoz://wikiMediaWiki:Gadget-site-styles.adodoz.cn/css]], also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] Minecraft基岩版开发Wiki& [[moe:zh:MediaWiki:Gadget-site-styles.css]] */
 
/* also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] */
 
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */
 
/* Reset tab size */
body {
tab-size: 4;
-moz-tab-size: 4;
}
 
/* Element animator */
th.mbox-text,
#siteNotice .animated > *:not(.animated-active),
td.mbox-text {
#localNotice .animated > *:not(.animated-active),
border: none;
#bodyContent .animated > *:not(.animated-active),
padding: 0.25em 0.9em;
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
width: 100%
display: none;
}
#bodyContent span.animated,
 
#bodyContent span.animated.animated-visible > *,
td.mbox-image {
#bodyContent span.animated.animated-visible > .animated-subframe > * {
border: none;
display: inline-block;
padding: 2px 0 2px 0.9em;
text-align: center
}
#bodyContent div.animated.animated-visible > *,
 
#bodyContent div.animated.animated-visible > .animated-subframe > * {
td.mbox-imageright {
borderdisplay: noneblock;
padding: 2px 0.9em 2px 0;
text-align: center
}
 
/* MD Icons */
td.mbox-empty-cell {
@font-face {
border: none;
font-family: 'Material Icons';
padding: 0px;
font-style: normal;
width: 1px
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
 
.material-icons {
table.ambox {
font-family: 'Material Icons';
margin: 0px 10%;
font-weight: normal;
border-left: 10px solid #36c;
font-style: normal;
background: #f8f9fa
font-size: 24px;
}
/* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
 
/* Support for all WebKit browsers. */
table.ambox+table.ambox {
-webkit-font-smoothing: antialiased;
margin-top: -1px
/* Support for Safari and Chrome. */
}
text-rendering: optimizeLegibility;
 
/* Support for Firefox. */
.ambox th.mbox-text,
-moz-osx-font-smoothing: grayscale;
.ambox td.mbox-text {
padding: 0.25em 0.5em
}
 
/* Support for IE. */
.ambox td.mbox-image {
font-feature-settings: 'liga';
padding: 2px 0 2px 0.5em
}
 
vertical-align: bottom;
.ambox td.mbox-imageright {
padding: 2px 0.5em 2px 0
}
 
/* table fix on mobile */
table.ambox-notice {
.content table.ambox {
border-left: 10px solid #36c
margin-left: 0;
margin-right: 0;
}
 
table.ambox-speedy {
border-left: 10px solid #b32424;
background: #fee7e6
}
 
table.ambox-delete {
border-left: 10px solid #b32424
}
 
table.ambox-content {
border-left: 10px solid #f28500
}
 
table.ambox-style {
border-left: 10px solid #fc3
}
 
table.ambox-move {
border-left: 10px solid #9932cc
}
 
table.ambox-protection {
border-left: 10px solid #a2a9b1
}
 
/* Style the "other languages" box the same way as other boxes on the main page */
.mw-pt-languages {
display: block;
background: none;
border: 1px solid #CCC;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
width: auto;
}
 
.mw-pt-languages-label {
background: none;
border-right: none;
}
 
.mainpage-suggestions {
text-align: right;
font-size: 75%;
}
 
/* MD Icons */
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
 
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
vertical-align: bottom;
}
 
/** Template stylings **/
第144行 ⟶ 第82行:
gap: 0.6em;
align-items: center;
border: 1px solid #ccc;
border-left: 8px solid #36c;
background-color: #f8f9fa;
max-width: 80%;
margin: 0.5em auto;
padding: 0.3em 0.6em;
border-left: 8px solid #36c;
background-color: #f8f9fa;
}
 
第168行 ⟶ 第105行:
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: none1px solid #ccc;
}
 
.msgbox.msgbox-default,
.msgbox.msgbox-notice {
border-left-color: #36c;
background-color: #f8f9fa;
}
 
.msgbox.msgbox-red {,
.msgbox.msgbox-warning {
background-color: #fdd;
border-leftbackground-color: #faafcc;
border-left-color: #e44;
}
 
.msgbox.msgbox-orange {,
.msgbox.msgbox-content {
background-color: #fec;
border-leftbackground-color: #dc8fdb;
border-left-color: #f90;
}
 
.msgbox.msgbox-yellow {,
.msgbox.msgbox-style {
background-color: #ffc;
border-left-color: #dd8fc3;
}
 
.msgbox.msgbox-green {,
.msgbox.msgbox-status {
background-color: #dfd;
border-leftbackground-color: #9c9cfc;
border-left-color: #3a3;
}
 
.msgbox.blue {
.msgbox.msgbox-cyan,
background-color: #def;
.msgbox.msgbox-version {
border-left-color: #9cd;
background-color: #dff;
border-left-color: #6df;
}
 
.msgbox.msgbox-magenta {
background-color: #fdf;
border-left-color: #dadf9f;
}
 
.msgbox.msgbox-purple {,
.msgbox.msgbox-move {
background-color: #eef;
border-leftbackground-color: #aadecf;
border-left-color: #96c;
}
 
.msgbox.msgbox-gray,
.msgbox.msgbox-protection {
background-color: #eee;
border-left-color: #ddd;
}
 
 
/* [[Template:Documentation]], [[模块:Documentation]] */
第324行 ⟶ 第281行:
 
/* Horizontal list */
#bodyContentmw-content-text .hlist ul {
display: inline;
margin: 0;
第330行 ⟶ 第287行:
}
 
#bodyContentmw-content-text .hlist li {
display: inline;
}
 
#bodyContentmw-content-text .hlist li:not(:last-child) {
padding-right: 0.286em;
}
 
#bodyContentmw-content-text .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
第349行 ⟶ 第306行:
}
 
#bodyContentmw-content-text .hlist li > ul li:first-child::before {
content: "(";
}
 
#bodyContentmw-content-text .hlist li > ul li:last-child::after {
content: ")";
}
 
#bodyContentmw-content-text .hlist li li li {
font-size: x-small;
}
 
/** hlist exception on MobileDiff **/
#mw-mf-diffarea .hlist.revision-history-links li {
display: inline-block;
padding-right: 0;
}
#mw-mf-diffarea .hlist.revision-history-links li::after {
display: none;
}
 
第375行 ⟶ 第341行:
/* [[Template:CommentSprite]]: [[File:CommentCSS.png]] */
.comment-sprite {
background-image: url(/w/images/9/9c/CommentCSS.png);
}
 
第496行 ⟶ 第462行:
background-color: #eef;
padding: 0 10px;
}
 
/* [[Template:Quote]] */
.quote {
display: grid;
gap: 0 4px;
align-items: center;
max-width: max-content;
}
 
.quote-mark {
font: bold 3.3em Times, serif;
}
 
.quote-mark-start {
align-self: start;
}
 
.quote-mark-end {
line-height: 0.5;
align-self: end;
}
 
.quote-attribution {
grid-column: -3 / span 1;
text-align: right;
font-size: smaller;
}
 
.quote-content, .quote-content:lang(zh-Hans), .quote-content:lang(zh-Hans-CN) {
font-size: 107.143%;
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "AR PL UKai CN", "Adobe Kaiti Std", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif;
}
 
.quote-content:lang(zh-Hant), .quote-content:lang(zh-Hant-TW) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "AR PL UKai TW", "Adobe Kaiti Std", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif;
}
 
第529行 ⟶ 第531行:
align-items: center;
}
}
 
.mainpage-logo-title {
font-size: 4em;
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',sans-serif;
border-bottom: solid 3px #c8ccd1;
overflow-wrap: break-word;
justify-content: center;
display: flex;
align-items: center;
flex-wrap: wrap;
}
 
.mainpage-logo-title:lang(zh),
.mainpage-logo-title:lang(zh-hans) {
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif SC','Times',sans-serif;
}
 
.mainpage-logo-title:lang(zh-hant) {
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif TC','Times',sans-serif;
}
 
第620行 ⟶ 第602行:
display: none;
}
 
select[name="TheOrder"] {
background-color: #f8f9fa;
第651行 ⟶ 第634行:
}
 
/* Portable InfoboxHeimu */
.pi-section-navigation .pi-section-tab:hover .pi-section-label, .pi-section-navigation .pi-section-tab:hover .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-navigation .pi-section-label, .pi-section-navigation .pi-section-tab:hover .pi-section-label, .pi-section-tab:hover .pi-section-label, .pi-section-label, .pi-section-label {
color: #088488;
}
 
.pi-section-label {
align-items: center;
display: inline-flex;
font-size: 12px;
font-weight: 700;
height: 40px;
margin: 0 11px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition: color .1s;
white-space: nowrap;
}
 
.pi-section-tab.pi-section-active {
box-shadow: inset 0 -2px 0 0 #006cb0;
}
 
.pi-section-tab, .wds-tabs__tab {
cursor: default;
flex-shrink: 0;
position: relative;
}
 
.portable-infobox .pi-section-navigation {
list-style: none;
margin: 0;
overflow: -moz-scrollbars-none;
-ms-overflow-style: none;
overflow-x: scroll;
overflow-y: hidden;
padding: 0;
scrollbar-width: none;
}
 
.pi-panel-scroll-wrapper {
position: relative;
}
 
.pi-section-content {
display: none;
}
.pi-section-content.pi-section-active {
display: block;
}
.pi-section-navigation {
align-items: flex-end;
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
.portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before {
align-self: stretch;
content: "";
width: 100%;
}
.portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before {
align-self: stretch;
content: "";
width: 100%;
}
.portable-infobox .pi-section-navigation::-webkit-scrollbar {
display: none;
}
.pi-panel-scroll-wrapper::after {
background-image: radial-gradient(farthest-side at 100% 50%,rgba(26,26,26,0.25),transparent);
}
.pi-panel-scroll-wrapper:after {
right: 0;
}
.pi-panel-scroll-wrapper:after, .pi-panel-scroll-wrapper:before {
content: "";
height: 100%;
opacity: 0;
position: absolute;
top: 0;
transition: opacity .3s;
width: 10px;
z-index: 1;
}
.pi-panel-scroll-wrapper::before {
background-image: radial-gradient(farthest-side at 0 50%,rgba(26,26,26,0.25),transparent);
}
 
.pi-panel-scroll-wrapper:before {
left: 0;
}
.pi-panel-scroll-wrapper:after, .pi-panel-scroll-wrapper:before {
content: "";
height: 100%;
opacity: 0;
position: absolute;
top: 0;
transition: opacity .3s;
width: 10px;
z-index: 1;
}
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link {
border-width: 0px;
}
span.heimu a.external,
span.heimu a.external:visited,
第794行 ⟶ 第672行:
}
 
/*---- DPLCJK Forum ----*/
span[lang] {
/* Forumheader style */
font-family: initial;
.forum-header {
font-feature-settings: "locl" on;
background: #f8f9fa;
-webkit-font-feature-settings: "locl" on;
border: solid #eaecf0;
border-width: 1px 1px 0.2em;
box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%);
margin: 0 0 1em;
padding: 0 0.5em;
display: flex;
display: -webkit-flex;
justify-content: space-between;
}
[style*="font:" i] span[lang],
/* Forum table outside border */
[style*="font-family:" i] span[lang] {
table.forum-table {
font-family: inherit;
border: 1px solid lightgrey;
}
/* Forum table cell padding and borders for all table body cells */
table.forum-table > tbody > tr > td {
border-top: 1px solid lightgrey;
padding: 8px;
}
/* Forum table background color (show on odd rows) */
table.forum-table > tbody > tr {
background-color:#fff;
}
/* Forum table background color (shows on even rows) */
table.forum-table > tbody > tr:nth-child(even) {
background-color:#f5faff;
}
/* Forum table header row background, style and padding */
table.forum-table > tbody > tr > th {
background-color:#cedff2;
font-weight:bold;
padding: 8px;
}
 
/*-- InputBoxJapanese Italic --*/
@font-face {
.inputbox-sidebar {
font-family: JapaneseItalic;
width: 300px;
src: local(meiryo);
border: 1px solid lightgrey;
clear: right;
float: right;
margin: 3px;
padding:10px;
margin-left: 2em;
}
i span[lang=ja i],
/* Forum thread style */
span[lang=ja i] i,
.thread {
[style*=italic i] span[lang=ja i],
border: 1px solid #eee;
span[lang=ja i] [style*=italic i] {
border-radius: 4px;
font-family: JapaneseItalic, sans-serif;
padding: 0 1em;
background-color: #fff;
}
[style*="font:" i] i span[lang=ja i],
.thread-avatar {
[style*="font-family:" i] i span[lang=ja i],
float: right;
[style*="font:" i] span[lang=ja i] i,
padding-top: 10px;
[style*="font-family:" i] span[lang=ja i] i,
}
[style*="font:" i] [style*=italic i] span[lang=ja i],
 
[style*="font-family:" i] [style*=italic i] span[lang=ja i],
.blog-metadata {
[style*="font:" i] span[lang=ja i] [style*=italic i],
float: right;
[style*="font-family:" i] span[lang=ja i] [style*=italic i] {
font-family: inherit;
}
2,007

个编辑