MediaWiki:Common.css:修订间差异
来自Fuckrooms Wiki
Iopk123451(留言 | 贡献) 无编辑摘要 |
Iopk123451(留言 | 贡献) 无编辑摘要 |
||
第6行: | 第6行: | ||
:root { | :root { | ||
--theme-page-background-color--secondary: #F9D300; | --theme-page-background-color--secondary: #F9D300; | ||
--theme-border-color: # | --theme-border-color: #ffad00; | ||
} | } | ||
2025年6月2日 (一) 05:47的版本
/* 这里放置的CSS将应用于所有皮肤 */ /** 不明白为什么要在自建站导入这个东西 @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:Heimu.css|u:dev:MediaWiki:UserAnimations.css|u:zh.ookami-chan:MediaWiki:Fandomdesktop.css"); **/ :root { --theme-page-background-color--secondary: #F9D300; --theme-border-color: #ffad00; } /*字体导入*/ @import url('https://fonts.googleapis.com/css2?display=swap&family=Long+Cang&family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@200;500;700&family=ZCOOL+XiaoWei&family=Zhi+Mang+Xing&family=Lobster&family=Ma+Shan+Zheng&family=ZCOOL+QingKe+HuangYou&family=Comfortaa&family=Silkscreen&family=Noto+Sans+SC&family=Oxygen+Mono&family=Overpass+Mono:wght@300'); @import url('https://fonts.googleapis.com/css?family=Lato:400,900|PT+Mono|Poppins:600,800|Share+Tech+Mono|Anonymous+Pro'); @import url('https://fonts.googleapis.com/css2?family=Island+Moments&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baumans&family=Graduate&family=Kelly+Slab&family=Kumar+One&family=Tulpen+One&family=ZCOOL+QingKe+HuangYou&display=swap'); @font-face { font-family: 'glitch_black'; src: url('https://static.wikia.nocookie.net/backrooms/images/f/f6/%E7%80%9E%E4%B9%8B%E6%95%85%E9%9A%9C%E9%BB%91%E4%BD%93H2.woff2/revision/latest?cb=20230327183805&format=original&path-prefix=zh') format('woff2'); } @font-face { font-family: "Genshin55W"; font-style: normal; font-weight: normal; src: url("https://static.wikia.nocookie.net/gensin-impact/images/a/a9/Genshin_Impact_Font_55W.woff/revision/latest") format("truetype"); } @font-face { font-family: "Genshin75W"; font-style: normal; font-weight: normal; src: url("https://static.wikia.nocookie.net/gensin-impact/images/f/f3/Genshin_Impact_Font_75W.woff/revision/latest") format("truetype"); } @font-face { font-family: 'CangerW02'; font-style: normal; font-weight: 400; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/Etinjat/FONT@Tsanger/仓耳与墨W02.woff2') format('woff2'); } /**[[MediaWiki:Edittools]]**/ .insert-code { display: inline-block; text-align: center; background-color: var(--theme-page-background-color--secondary); padding: 0 4px; margin: 2px 0; } .import-css{ display:none; font-size:0; } /* 首页 */ .mainpage-banner, .mainpage-block { background-color: var(--theme-page-background-color--secondary); border-color: var(--theme-border-color); border-style: solid; border-width: 0.6px; box-shadow: 0 0 5px 0.5px grey; margin: 10px 5px; padding: 15px 0; } .mainpage-banner { border-radius: 30px 0; text-align: center; } .mainpage-banner-content { margin: 0 2.5%; } .mainpage-banner-header { background-color: var(--theme-border-color); font-size: 175%; font-weight: bold; margin: 12px; } .mainpage-block { border-radius: 9px; } .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; }