“MediaWiki:Common.css”的版本间的差异
跳到导航
跳到搜索
Tamba Akari(讨论 | 贡献) 小 |
Tamba Akari(讨论 | 贡献) 小 |
||
第33行: | 第33行: | ||
.do-not-float { | .do-not-float { | ||
− | float: | + | float: none; |
− | |||
} | } | ||
2024年9月15日 (日) 12:28的版本
/* 这里设置了Google Font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&family=Noto+Serif+JP:wght@400;600&family=Noto+Serif:wght@400;600&display=swap');
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1,
#content h2 {
font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
}
/* 这里放置的CSS将应用于所有皮肤 */
body {
background: #ffffff;
}
.mw-body-content {
line-height: 2;
}
.toc {
line-height: 1.8;
}
.character-table {
display:table; border:solid 2px #ff9dae; float:right;margin-left: 20px;border-radius:20px;
}
.do-not-float {
float: none;
}
.character-table th {
background-color:#ff9dae; color:white; font-weight:bold; border-radius:20px; padding:2px; text-align:center;
}
.character-table td {
text-align: center;
width:300px;font-weight:bold;border-bottom: 1px solid rgba(255, 157, 174, 0.3);
}
.header-row {
background-color: #ffb6c1; /* 粉色背景 */
text-align: center;font-weight:bold;color:white;
}
.header-rowerya {
background-color: #000000 !important;
text-align: center;font-weight:bold;color:white;
}
.table-therya {
background-color:#000000 !important;
}
.table-tderya {
border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
.bg-image-erya {
background-image: url("https://assaultlily-otaku.icu/images/3/3a/Erya-bg.png");
background-size: 250px 410px;
background-position: 60% 60%;
background-repeat: no-repeat;
border:solid 2px #000000;
}
/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
background: #ffffff;
}
.content .thumbcaption {
text-align: center;
}
a {
color: #ff9dae;font-weight:bold;
}
a.new {
color: #a6a6a6; text-decoration: underline;
}
a:visited {
color:#7f90dc; text-decoration: underline;
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
color: #4e66d4;
}
.mw-parser-output a.extiw, .mw-parser-output a:visited {
color:#7f90dc; text-decoration: underline;
}
.portal .body li a, .vector-menu-portal .body li a {
color: #555555;
}
.portal .body li a, .vector-menu-portal .body li a:visited {
color:#555555;
}
.vector-menu-tabs li a {
color: #ff4b6a;
}
.vector-menu-tabs li a:visited {
color:#555555;
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a {
color: #ff4b6a;
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
color: #ff4b6a;
}
h1, h2 {
border-bottom: 1px solid #ff9dae;
}
h2, h4, h5, h6 {
line-height: 2;
}
h3 {
text-indent: 5px;
border-left: #ff9dae 6px solid;
margin-top: 2px; /* 调整顶部边距,微调文本位置 */
padding-top: 1px; /* 增加左侧内边距,确保文本不靠得太近边框 */
}
.mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {
margin: 0.5em 0;
}
.content table {
overflow: auto;
overflow-y: auto;
overflow-x: auto;
}
td {
padding: 0 5px;
}
blockquote {
margin: 0 1em;
padding: 0 1em;
border-left: #ff9dae 4px solid;
}
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: 2em 0 0 2em;
}
.mw-body-content p {
margin: 1em 0;
text-align: justify;
}
.mw-body {
border: 1px solid #ff9dae;
}
.vector-menu-tabs li {
background-image: linear-gradient(to top,#ff9dae 0,#fff5f7 1px,rgb(255 255 255 / 0%) 100%);
}
.vector-menu-tabs .selected {
background: linear-gradient(to top,#ffffff 0,#ffffff 1px,rgb(255 255 255 / 0%) 100%);
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
background-image: linear-gradient(to bottom,rgb(255 255 255 / 0%) 0,#ff9dae 100%)
}
div.tright {
margin: 15px 10px 3px 10px;
}
div.thumbinner {
border: none;
padding: 0;
background-color: unset;
}
.mw-content-ltr .thumbcaption {
text-align: center;
}
/* 这里规定了分Tab的模块的样式 */
html .thumbimage {
border: none;
}
.tabs-tabbox > .tabs-input:checked + .tabs-label, .tabs-input-0:checked + .tabs-input-1 + .tabs-label {
background-color: #ff9dae;
}
.tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label {
margin: 0 0 0 0;
}
.tabs-label {
padding: 0 8px;
}
.tabs-tabbox > .tabs-label {
border: none;
border-radius: unset;
}
.tabs-tabbox > .tabs-label {
margin: 0;
}
.tabs-label {
background-color: #eaeaea;
}
.tabs-tabbox > .tabs-container {
border-radius: 0;
border: 1px solid #eaeaea;
}
/* 反白用样式 */
.hidetext {
color: #ff9dae;
background: #ff9dae;
transition: all 0.5s;
}
.hidetext:hover {
color: #ffffff;
}
.hidetext a {
color: #ff9dae;
transition: all 0.5s;
}
.hidetext:hover a {
color: #4e66d4;
}
.hidetext a.new {
color: #ff9dae;
transition: all 0.5s;
}
.hidetext:hover a.new {
color: #ff4b6a;
}
.hidetext a:visited {
color:#ff9dae;
}
.hidetext:hover a:visited {
color:#4e66d4;
}