MediaWiki:Mobile.css:修订间差异
来自SCP秘密实验室wiki
CatTailDragon(讨论 | 贡献) (创建页面,内容为“.mainpage-block-s{ margin-right: 0px } .mainpage-banner-s{ margin-right: 0px }”) |
CatTailDragon(讨论 | 贡献) 无编辑摘要 标签:已被回退 |
||
第1行: | 第1行: | ||
. | /* 这里放置的CSS将应用于所有皮肤 */ | ||
/* 代码都是从Fandom后室抄的 QWQ */ | |||
@import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:AjaxPoll.Modern.css|u:dev:MediaWiki:BalancedBloglists.css|u:dev:MediaWiki:BalancedCategories.css|u:dev:MediaWiki:BalancedComments.css|u:dev:MediaWiki:BalancedMessageBoxes.css|u:dev:MediaWiki:BalancedPageBottom.css|u:dev:MediaWiki:BalancedProfile.css|u:dev:MediaWiki:BalancedScrollbar.css|u:dev:MediaWiki:LocalNavExploreIcons.css|u:dev:MediaWiki:BalancedSearch.css|u:dev:MediaWiki:BalancedSlider.css|u:dev:MediaWiki:BalancedTabber.css|u:dev:MediaWiki:CSS3Tooltip.css|u:dev:MediaWiki:Highlight.css|u:dev:MediaWiki:LeafyStrap.css|u:dev:MediaWiki:ThemeBasedStyling.css|u:dev:MediaWiki:ThemeColorClasses.css|u:dev:MediaWiki:ProgressBar.css|u:dev:MediaWiki:SpoilerBlur.css|u:dev:MediaWiki:UserAnimations.css|u:zh.ookami-chan:MediaWiki:Fandomdesktop.css"); | |||
/* 导航栏字体 */ | |||
#mw-header *, | |||
#mw-site-navigation *, | |||
#mw-related-navigation * { | |||
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | |||
} | } | ||
.mainpage-banner-s{ | |||
/* Avoid cutting off letters with descenders: g,j,p,q,y */ | |||
#personal h2 span { | |||
height: 1.5em; | |||
position:relative; | |||
bottom:0.1em | |||
} | |||
/* Triangle position patch */ | |||
#personal h2::after { | |||
position: relative; | |||
bottom: 0.5em; | |||
} | |||
/* 单侧导航栏 */ | |||
@media (min-width: 1340px) { | |||
#mw-content-block { | |||
display: block; | |||
} | |||
#mw-content, | |||
#content-bottom-stuff { | |||
margin-left: 14em; | |||
} | |||
#mw-content-wrapper { | |||
float: right; | |||
margin-left: -14em; | |||
width: 100%; | |||
} | |||
#mw-related-navigation { | |||
width: 14em; | |||
padding: 0 1em 0 0; | |||
} | |||
div.color-middle { | |||
margin-right: 0; | |||
} | |||
.mw-wiki-logo { | |||
display: inline-block; | |||
} | |||
} | |||
/* Align top colour bar with page columns */ | |||
.ts-inner { | |||
padding: 0 0 0 1em; | |||
} | |||
/* Re-aligning bottom logos */ | |||
#footer { padding-right: 1em; } | |||
/* 首页 */ | |||
.mainpage-banner, | |||
.mainpage-block { | |||
background-color: #4E4E4E; | |||
border-color: #000000; | |||
border-style: solid; | |||
border-width: 0.6px; | |||
margin: 10px 5px; | |||
padding: 15px 0; | |||
} | |||
.mainpage-banner { | |||
border-radius: 0 0; | |||
text-align: center; | |||
} | |||
.mainpage-banner-s, | |||
.mainpage-block { | |||
background-color: #4E4E4E; | |||
border-color: #000000; | |||
border-style: solid; | |||
border-width: 0.6px; | |||
margin: 10px 5px; | |||
padding: 15px 0; | |||
} | |||
.mainpage-banner-s { | |||
border-radius: 0 0; | |||
text-align: center; | |||
} | |||
.mainpage-banner-content { | |||
margin: 0 2.5%; | |||
} | |||
.mainpage-banner-header { | |||
background-color: #4E4E4E; | |||
font-size: 175%; | |||
font-weight: bold; | |||
margin: 12px; | |||
} | |||
.mainpage-block { | |||
border-radius: 0px; | |||
} | |||
.mainpage-block-s, | |||
.mainpage-block { | |||
background-color: #4E4E4E; | |||
border-color: #000000; | |||
border-style: solid; | |||
border-width: 0.6px; | |||
margin: 10px 5px; | |||
padding: 15px 0; | |||
} | |||
.mainpage-block-s { | |||
border-radius: 0px; | |||
} | |||
.mainpage-block-content { | |||
margin: 0 10px; | |||
} | |||
.mainpage-block-header { | |||
background-color: var(--theme-border-color); | |||
font-size: 150%; | |||
font-weight: bold; | |||
margin-bottom: 15px; | |||
padding: 0 30px; | |||
} | |||
.mainpage-contact img{ | |||
filter: sepia(0.5) invert(0.9); | |||
} | |||
/*表格*/ | |||
.wikitable{ | |||
border: 1px solid #000000; | |||
background-color: #4E4E4E; | |||
color:#E6E6E6; | |||
} | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #000000; | |||
color: #4E4E4E; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | |||
.infobox-header, | |||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox-label, | |||
.infobox-data, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-above, | |||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | } |
2024年2月20日 (二) 07:21的版本
/* 这里放置的CSS将应用于所有皮肤 */ /* 代码都是从Fandom后室抄的 QWQ */ @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:AjaxPoll.Modern.css|u:dev:MediaWiki:BalancedBloglists.css|u:dev:MediaWiki:BalancedCategories.css|u:dev:MediaWiki:BalancedComments.css|u:dev:MediaWiki:BalancedMessageBoxes.css|u:dev:MediaWiki:BalancedPageBottom.css|u:dev:MediaWiki:BalancedProfile.css|u:dev:MediaWiki:BalancedScrollbar.css|u:dev:MediaWiki:LocalNavExploreIcons.css|u:dev:MediaWiki:BalancedSearch.css|u:dev:MediaWiki:BalancedSlider.css|u:dev:MediaWiki:BalancedTabber.css|u:dev:MediaWiki:CSS3Tooltip.css|u:dev:MediaWiki:Highlight.css|u:dev:MediaWiki:LeafyStrap.css|u:dev:MediaWiki:ThemeBasedStyling.css|u:dev:MediaWiki:ThemeColorClasses.css|u:dev:MediaWiki:ProgressBar.css|u:dev:MediaWiki:SpoilerBlur.css|u:dev:MediaWiki:UserAnimations.css|u:zh.ookami-chan:MediaWiki:Fandomdesktop.css"); /* 导航栏字体 */ #mw-header *, #mw-site-navigation *, #mw-related-navigation * { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; } /* Avoid cutting off letters with descenders: g,j,p,q,y */ #personal h2 span { height: 1.5em; position:relative; bottom:0.1em } /* Triangle position patch */ #personal h2::after { position: relative; bottom: 0.5em; } /* 单侧导航栏 */ @media (min-width: 1340px) { #mw-content-block { display: block; } #mw-content, #content-bottom-stuff { margin-left: 14em; } #mw-content-wrapper { float: right; margin-left: -14em; width: 100%; } #mw-related-navigation { width: 14em; padding: 0 1em 0 0; } div.color-middle { margin-right: 0; } .mw-wiki-logo { display: inline-block; } } /* Align top colour bar with page columns */ .ts-inner { padding: 0 0 0 1em; } /* Re-aligning bottom logos */ #footer { padding-right: 1em; } /* 首页 */ .mainpage-banner, .mainpage-block { background-color: #4E4E4E; border-color: #000000; border-style: solid; border-width: 0.6px; margin: 10px 5px; padding: 15px 0; } .mainpage-banner { border-radius: 0 0; text-align: center; } .mainpage-banner-s, .mainpage-block { background-color: #4E4E4E; border-color: #000000; border-style: solid; border-width: 0.6px; margin: 10px 5px; padding: 15px 0; } .mainpage-banner-s { border-radius: 0 0; text-align: center; } .mainpage-banner-content { margin: 0 2.5%; } .mainpage-banner-header { background-color: #4E4E4E; font-size: 175%; font-weight: bold; margin: 12px; } .mainpage-block { border-radius: 0px; } .mainpage-block-s, .mainpage-block { background-color: #4E4E4E; border-color: #000000; border-style: solid; border-width: 0.6px; margin: 10px 5px; padding: 15px 0; } .mainpage-block-s { border-radius: 0px; } .mainpage-block-content { margin: 0 10px; } .mainpage-block-header { background-color: var(--theme-border-color); font-size: 150%; font-weight: bold; margin-bottom: 15px; padding: 0 30px; } .mainpage-contact img{ filter: sepia(0.5) invert(0.9); } /*表格*/ .wikitable{ border: 1px solid #000000; background-color: #4E4E4E; color:#E6E6E6; } /* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #000000; color: #4E4E4E; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; width: 22em; } .infobox-header, .infobox-label, .infobox-above, .infobox-full-data, .infobox-data, .infobox-below, .infobox-subheader, .infobox-image, .infobox-navbar, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { vertical-align: top; } .infobox-label, .infobox-data, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { /* @noflip */ text-align: left; } /* Remove .infobox when element selectors above are removed */ .infobox .infobox-above, .infobox .infobox-title, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox caption { font-size: 125%; font-weight: bold; text-align: center; } .infobox-title, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox caption { padding: 0.2em; } /* Remove .infobox when element selectors above are removed */ .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; }