MediaWiki:Common.css:修订间差异

来自TUCMandWSC
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第69行: 第69行:
html[ dir='rtl' ] .mw-parser-output a.external::before {
html[ dir='rtl' ] .mw-parser-output a.external::before {
background-color: currentcolor;
background-color: currentcolor;
content: '';
display: inline-block;
display: inline-block;
height: 0em;
height: 0em;
第78行: 第77行:


html[ dir='ltr' ] .mw-parser-output a.external::after {
html[ dir='ltr' ] .mw-parser-output a.external::after {
--external-icon: none
--external-icon: none;
margin-left: 0.143em;
margin-left: 0em;
}
}



2025年5月24日 (六) 12:37的版本

/* 导入外部字体 */
@import url('https://fonts.googleapis.com/css2?family=Spinnaker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css?family=Impact&display=swap');
@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
@import url('https://fonts.googleapis.com/css?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css?family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css?family=Caveat+Brush&display=swap');
@import url('https://fonts.googleapis.com/css?family=Times+New+Roman&display=swap');
@import url('https://fonts.googleapis.com/css?family=Calibri&display=swap');

/* 首页字体更改 */
.tucm-mainpage {
    font-family: 'Noto Serif SC', 'Times New Roman';
}

/* 首页横幅导航栏 */
.banner-navigation {
    background: #ffffff; 
    border-top: 2px solid #505050; 
    border-bottom: 2px solid #505050; 
    text-align: center; 
    padding: 15px 0px 15px 0px; 
    font-size: 14px;
}

.banner-navigation a {  
    background:#ffffff;
    padding:8px;
    border-radius:3px;
}

.banner-navigation a:hover {
    background: #e0e0e0;
    padding:8px;
    border-radius:3px;
}

/* 模糊将逐渐消失并显示内容 */
.spoilerblur {
  filter: blur(3.5px);
  opacity: 0.40;
  transition: filter 1s linear, opacity 1s linear, text-shadow 1s linear;
}

.spoilerIMG {
  filter: blur(22.5px);
  opacity: 0.20;
  transition: filter 1s linear, opacity 1s linear, text-shadow 1s linear;
}
 
.spoilerblur:is(:hover, :focus, :focus-within, :active), .spoilerIMG:is(:hover, :focus, :focus-within, :active) {
  filter: blur(0px);
  opacity: 1;
  text-shadow: 0 0 0 transparent;
  transition-delay: 500ms;
}

:not(li) > .spoilerblur, .spoilerIMG {
	display: unset;
}

/* 去除站外链接右侧的小箭头 */
html[ dir='ltr' ] .mw-parser-output a.external::after,
html[ dir='rtl' ] .mw-parser-output a.external::before {
	background-color: currentcolor;
	display: inline-block;
	height: 0em;
	width: 0em;
	-webkit-mask: none;
	mask: none;
}

html[ dir='ltr' ] .mw-parser-output a.external::after {
	--external-icon: none;
	margin-left: 0em;
}

html[ dir='rtl' ] .mw-parser-output a.external::before {
	--external-icon: none;
}

/* Restore Plainlinks: https://www.mediawiki.org/wiki/Manual:Plainlinks */
html[ dir='ltr' ] .mw-parser-output .plainlinks a.external::after,
html[ dir='rtl' ] .mw-parser-output .plainlinks a.external::before {
	display: none;
}