「MediaWiki:Common.css」:修訂間差異

出自Wikilauid
跳至導覽 跳至搜尋
無編輯摘要
標籤已被回退
無編輯摘要
 
(未顯示同一使用者於中間所作的 20 次修訂)
行 1: 行 1:
/* 此 CSS 會套用至所有的介面外觀 */
/* 此 CSS 會套用至所有的介面外觀 */
a {
overflow-wrap: anywhere;
}
.mw-body {
font-size: 105%;
}


.mw-body, .mw-body-content, .mw-body-content {
.mw-body, .mw-body-content, .mw-body-content {
行 5: 行 12:
}
}


#specialchars select {
#wpLicense {
display:inline;
width: 100%;
vertical-align: baseline;
}
 
@font-face {
   font-family: 'ChocolateClassicalSans';
   src: url('/mediawiki/font/ChocolateClassicalSans-Regular.woff2') format('woff2'),
     url('/mediawiki/font/ChocolateClassicalSans-Regular.woff') format('woff'),
     url('/mediawiki/font/ChocolateClassicalSans-Regular.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}
}
#specialchars{
 
width:100%;
.mw-body h1,
margin-top:10px;
.mw-body .mw-heading1,
border:1px solid #aaa;
.mw-body-content h1,
padding:1px;
.mw-body-content .mw-heading1,
text-align:center;
.mw-body-content h2,
box-sizing: border-box;
.mw-body-content .mw-heading2,
.firstHeading .mw-first-heading {
font-family: Arial, 'ChocolateClassicalSans', sans-serif !important;
}
}


#specialchars button {
span.comment {
font-size:0.9em;
font-family: monospace, sans-serif;
margin: 0.2em 0.1em;
}
}
.section-Edittools .index {
 
display:none;
/* Timedtext*/
.vjs-text-track-cue-zh-Hant-HK *,
.vjs-text-track-cue-zh-Hant * {
font-family: Arial, 'ChocolateClassicalSans', sans-serif !important;
}
}
.section-Edittools .pages {
 
width: 100% !important;
/* 直書 */
.vertical-text {
writing-mode: vertical-rl;
text-orientation: upright;
}
}


/* Workaround for WikiEditor toolbar button characters breaking out. */
/* 首頁 */
#wikiEditor-ui-toolbar .com-editbuttons span {
.page- 首頁 #firstHeading {
    line-height: 1em;
    display: none;
   font-size: 1em;
}
}

於 2025年9月19日 (五) 10:42 的最新修訂

/* 此 CSS 會套用至所有的介面外觀 */
a {
	overflow-wrap: anywhere;	
}

.mw-body {
	font-size: 105%;
}

.mw-body, .mw-body-content, .mw-body-content {
    font-family: Roboto, RobotoDraft, Helvetica, Arial, '微軟正體黑', 'PingFang TC', sans-serif;
}

#wpLicense {
	width: 100%;
}

@font-face {
    font-family: 'ChocolateClassicalSans';
    src: url('/mediawiki/font/ChocolateClassicalSans-Regular.woff2') format('woff2'),
         url('/mediawiki/font/ChocolateClassicalSans-Regular.woff') format('woff'),
         url('/mediawiki/font/ChocolateClassicalSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.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,
.firstHeading .mw-first-heading {
	font-family: Arial, 'ChocolateClassicalSans', sans-serif !important;
}

span.comment {
	font-family: monospace, sans-serif;
}

/* Timedtext*/
.vjs-text-track-cue-zh-Hant-HK *,
.vjs-text-track-cue-zh-Hant * {
	font-family: Arial, 'ChocolateClassicalSans', sans-serif !important;
}

/* 直書 */
.vertical-text {
	writing-mode: vertical-rl;
	text-orientation: upright;	
}

/* 首頁 */
.page-首頁 #firstHeading {
    display: none;
}