MediaWiki:Common.css: Difference between revisions
No edit summary |
changed fallback mw-code font family |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
body { | body { | ||
background-color:#efeff1; | background-color:#efeff1; | ||
font-family: 'NunitoSans',system-ui,sans-serif; | |||
} | } | ||
body::before { | body::before { | ||
Line 12: | Line 13: | ||
background-image: | background-image: | ||
linear-gradient(to bottom, transparent 25%, #efeff1 70%), | linear-gradient(to bottom, transparent 25%, #efeff1 70%), | ||
url('https://www. | url('https://www.neurosama.info/mediawiki/resources/assets/vector.jpg'); | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 39: | Line 40: | ||
h2 { | h2 { | ||
font-family: | font-family: 'Fredoka', 'Yuanyou', Times, serif; | ||
font-weight: 800; | font-weight: 800; | ||
} | |||
h2#mw-previewheader { | |||
font-family: 'Fredoka', 'Yuanyou', Times, serif; | |||
font-weight: 800; | |||
} | |||
.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { | |||
font-family: 'Fredoka', 'Yuanyou', Times, serif; | |||
font-weight: 800; | |||
} | |||
h1 { | |||
font-family: 'FirstCoffee', sans-serif, Times, serif; | |||
font-weight: 400; | |||
letter-spacing:0.3px; | |||
} | |||
h1#firstHeading { | |||
font-family: 'FirstCoffee' , sans-serif, Times, serif; | |||
font-weight: 400; | |||
letter-spacing:0.3px; | |||
} | |||
.mw-code{ | |||
font-family: '3270' , monospace; | |||
background-color: #1F1F1F; | |||
color: #50F72D; | |||
border: 2px solid #1F88D9; | |||
} | } | ||
Line 167: | Line 192: | ||
margin: 40px 0 0 0; | margin: 40px 0 0 0; | ||
} | } | ||
.tabber__tabs{ | |||
flex-wrap: wrap; | |||
} | |||
/** Template stylings **/ | /** Template stylings **/ | ||
Line 390: | Line 417: | ||
@font-face { | @font-face { | ||
font-family: 'Mojangles'; /* 自定义字体的名称 */ | font-family: 'Mojangles'; /* 自定义字体的名称 */ | ||
src: url('https://www. | src: url('https://www.neurosama.info/mediawiki/images/0/00/Mojangles.ttf') format('truetype'); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
} | |||
@font-face { | |||
font-family: 'NunitoSans'; | |||
src: url('https://www.neurosama.info/mediawiki/images/9/91/NunitoSans.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
unicode-range: U+0000-007F; /* 英文字母和数字 */ | |||
} | |||
@font-face { | |||
font-family: 'HarmonyOSSansSC'; | |||
src: url('https://www.neurosama.info/mediawiki/images/d/de/HarmonyOS_SansSC_Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'HarmonyOSSansTC'; | |||
src: url('https://www.neurosama.info/mediawiki/images/5/56/HarmonyOS_SansTC_Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'Yuanyou'; | |||
src: url('https://www.neurosama.info/mediawiki/images/2/27/Yuanyou.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
@font-face { | |||
font-family: 'Fredoka'; | |||
src: url('https://www.neurosama.info/mediawiki/images/a/a5/Fredoka-Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
@font-face { | |||
font-family: 'FirstCoffee'; | |||
src: url('https://www.neurosama.info/mediawiki/images/d/d4/First_Coffee.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
@font-face { | |||
font-family: 'ResourceHanRoundedHC'; | |||
src: url('https://www.neurosama.info/mediawiki/images/9/96/ResourceHanRoundedHC-Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'ResourceHanRoundedJ'; | |||
src: url('https://www.neurosama.info/mediawiki/images/0/0f/ResourceHanRoundedJ-Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'ResourceHanRoundedK'; | |||
src: url('https://www.neurosama.info/mediawiki/images/c/c2/ResourceHanRoundedK-Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: '3270'; | |||
src: url('https://www.neurosama.info/mediawiki/images/5/50/3270-Regular.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
@font-face { | |||
font-family: 'WenQuanBit16'; | |||
src: url('https://www.neurosama.info/mediawiki/images/b/ba/WenQuanBitmapSong16px.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
.font-bit{ | |||
font-family: 'Mojangles' ,'WenQuanBit16', Times, serif; | |||
} | |||
.font-neuro { | |||
font-family: 'FirstCoffee','ResourceHanRoundedHC','ResourceHanRoundedJ','ResourceHanRoundedK',Times,serif; | |||
letter-spacing: 0.3px; | |||
} | |||
.font-neuro-web-title{ | |||
font-family: 'Fredoka', 'Yuanyou', Times, serif; | |||
} | |||
.font-neuro-web-body{ | |||
font-family: 'NunitoSans',system-ui,sans-serif; | |||
} | } | ||
/*色表格*/ | /*色表格*/ |