第1行: |
第1行: |
| + | /* 这里设置了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; |
| + | } |
| + | |
| + | blockquote { |
| + | font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif; |
| + | } |
| + | |
| + | .mw-body-content { |
| + | line-height: 2; |
| + | } |
| + | |
| + | /* === Collapsible elements. Toggle-link moved to left. === |
| + | /* Margin around it adjusted. |
| + | /* https://community.fandom.com/wiki/Thread:1104268 |
| + | /* https://community.wikia.com/wiki/Thread:499656 |
| + | /* https://community.wikia.com/wiki/Help:Collapsing |
| + | /* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */ |
| + | |
| + | .mw-collapsible span.mw-collapsible-toggle { |
| + | float:left; |
| + | margin-left:0; |
| + | margin-right:1em; |
| + | } |
| + | |
| + | |
| + | .content { |
| + | line-height: 2; |
| + | } |
| + | |
| + | .toc { |
| + | line-height: 1.6; |
| + | } |
| + | |
| + | blockquote { |
| + | margin: 0 1em; |
| + | padding: 0 1em; |
| + | font-size: 1em; |
| + | border-left: #ff9dae 4px solid; |
| + | } |
| + | |
| + | /* Changes the default font used for MediaWiki headings to Noto Serif: */ |
| + | #content h1, |
| + | #content h2 { |
| + | font-family: 'Noto Serif SC', serif; |
| + | } |
| + | |
| /* 这里放置的CSS将影响使用移动版网站的用户 */ | | /* 这里放置的CSS将影响使用移动版网站的用户 */ |
| | | |
第15行: |
第67行: |
| | | |
| .header-container.header-chrome { | | .header-container.header-chrome { |
− | background-color: #ffcad3; | + | background-color: #ffd0d8; |
| + | box-shadow: none; |
| } | | } |
| | | |
| .last-modified-bar { | | .last-modified-bar { |
− | border-bottom: solid 1px #ffcad3; | + | border-bottom: solid 1px #ffd0d8; |
− | background-color: #ffcad3; | + | background-color: #ffd0d8; |
| + | } |
| + | |
| + | .last-modified-bar.active { |
| + | background-color: #7f90dc!important; |
| + | color: #fff; |
| } | | } |
| | | |
| .minerva-footer { | | .minerva-footer { |
− | border-top: solid 1px #ffcad3; | + | border-top: none; |
− | background-color: #ffcad3; | + | background-color: #ffd0d8; |
| } | | } |
| | | |
第45行: |
第103行: |
| | | |
| a:visited { | | a:visited { |
− | color:#c28cd0; | + | color:#9ca5aa; |
| } | | } |
| | | |
第53行: |
第111行: |
| | | |
| .mw-parser-output a.extiw, .mw-parser-output a:visited { | | .mw-parser-output a.extiw, .mw-parser-output a:visited { |
− | color:#c28cd0; | + | color:#9ca5aa; |
| } | | } |
− |
| |
− | h1, h2 {
| |
− | border-bottom: 1px solid #ffcad3;
| |
− | }
| |
| | | |
| .portal .body li a, .vector-menu-portal .body li a { | | .portal .body li a, .vector-menu-portal .body li a { |
第82行: |
第136行: |
| .vector-menu-tabs .new a, .vector-menu-tabs .new a:visited { | | .vector-menu-tabs .new a, .vector-menu-tabs .new a:visited { |
| color: #ff4b6a; | | color: #ff4b6a; |
| + | } |
| + | |
| + | h1, h2 { |
| + | border-bottom: 1px solid #ff9dae; |
| + | } |
| + | |
| + | h2, h3, h4, h5, h6 { |
| + | line-height: 2; |
| + | } |
| + | |
| + | td { |
| + | padding: 0 5px; |
| + | } |
| + | |
| + | .mw-references-wrap { |
| + | font-size: 0.8em; |
| + | margin-top: 2em; |
| } | | } |
| | | |
| .mw-body-content p { | | .mw-body-content p { |
− | margin: 0.5em 0; | + | margin: 1em 0; |
− | line-height: 2; | + | } |
| + | |
| + | .content p { |
| + | margin: 1em 0; |
| + | text-align: justify; |
| + | } |
| + | |
| + | .content table { |
| + | overflow: auto; |
| + | overflow-y: auto; |
| + | overflow-x: auto; |
| + | } |
| + | |
| + | .content ul { |
| + | list-style-type: disc; |
| + | padding-left: 1em; |
| + | margin: 1em 0; |
| + | } |
| + | |
| + | .content h4, .content h5, .content h6 { |
| + | font-size: 1.1em; |
| } | | } |
| | | |
| .mw-body { | | .mw-body { |
− | border: 1px solid #ffcad3; | + | border: none; |
| } | | } |
| | | |
| .vector-menu-tabs li { | | .vector-menu-tabs li { |
− | background-image: linear-gradient(to top,#ffcad3 0,#fff5f7 1px,rgb(255 255 255 / 0%) 100%); | + | background-image: linear-gradient(to top,#ffd0d8 0,#fff5f7 1px,rgb(255 255 255 / 0%) 100%); |
| } | | } |
| | | |
第102行: |
第193行: |
| | | |
| .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { | | .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,#ffcad3 100%) | + | background-image: linear-gradient(to bottom,rgb(255 255 255 / 0%) 0,#ffd0d8 100%) |
| } | | } |
| | | |
− | /* 这里设置了Google Font */ | + | .header .search-box { |
| + | padding-left: 1.5em; |
| + | } |
| + | |
| + | .minerva-user-navigation { |
| + | min-width: 0; |
| + | } |
| + | |
| + | .content figure.mw-default-size, .content .thumb.mw-default-size, .content figure.mw-halign-right, .content .thumb.mw-halign-right, .content figure.tright, .content .thumb.tright { |
| + | margin: 15px 10px 3px 10px; |
| + | } |
| + | |
| + | /* 反白用样式 */ |
| + | |
| + | .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:#9ca5aa; |
| + | } |
| + | |
| | | |
− | @import url( 'https://fonts.googleapis.com/css?family=Noto+Serif+SC');
| + | /* === Collapsible elements. Toggle-link moved to left. === |
| + | /* Margin around it adjusted. |
| + | /* https://community.fandom.com/wiki/Thread:1104268 |
| + | /* https://community.wikia.com/wiki/Thread:499656 |
| + | /* https://community.wikia.com/wiki/Help:Collapsing |
| + | /* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */ |
| | | |
− | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
| + | .mw-collapsible span.mw-collapsible-toggle { |
− | body {
| + | float:left; |
− | font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif;
| + | margin-left:0; |
| + | margin-right:1em; |
| } | | } |
| | | |
− | /* Changes the default font used for MediaWiki headings to Noto Serif: */ | + | @media (max-width: 720px) { |
− | #content h1,
| + | body .content .character-table { |
− | #content h2 {
| + | width: 1200px !important; |
− | font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif;
| + | display: table !important; |
| + | box-sizing: content-box !important; |
| + | } |
| + | |
| + | body .content table.wikitable { |
| + | border: 1px solid !important; /* 或者你想要的任何其他边框样式 */ |
| + | } |
| + | |
| + | body .content caption { |
| + | display: table-caption !important; |
| + | } |
| } | | } |