无编辑摘要 |
无编辑摘要 |
||
第219行: | 第219行: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | |||
.sb-portriat{ | |||
transform: scale(1); | |||
} | |||
.sb-portriat a:hover { | |||
transform: scale(1.2); | |||
transition: all .14s cubic-bezier(0.33, 1, 0.68, 1); | |||
} | } |
2024年6月2日 (日) 16:32的版本
@import url("https://fonts.googleapis.com/css?family=Jura"); /*科技感包含希腊字母*/
@import url("https://fonts.googleapis.com/css?family=Tajawal"); /*阿拉伯字母字体*/
@import url("https://fonts.googleapis.com/css?family=Google Sans"); /*谷歌的字体*/
@import url("https://fonts.googleapis.com/css?family=Noto Sans SC"); /*思源黑体*/
@import url("https://fonts.googleapis.com/css?family=Fira Code"); /*等宽字体常规*/
@import url("https://fonts.googleapis.com/css?family=Kalam"); /*较窄的字体*/
@import url("https://fonts.googleapis.com/css?family=JetBrains Mono"); /*等宽字体用作目录*/
@font-face {
font-family: "Squad Text";
src: url("/w/fonts/Squad_Text.woff2");
}
@font-face {
font-family: "Squad Bold";
src: url("/w/fonts/Squad_Latin.woff2");
}
body * {
font-family: "Squad Text", Tajawal, "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
body pre,
body code,
.mw-highlight *,
.wikiEditor-ui * {
font-family: "Fira Code", "Ubuntu Mono", "Google Sans", monospace;
line-height: 20px;
}
body > #mw-content-container {
padding-top: 90px;
}
#cosmos-footer {
background-color: rgba(0, 0, 0, 0.73);
height: auto;
}
#mw-content {
background-color: rgba(17, 17, 17, 0.60);
border: 0 !important;
}
.cosmos-header::before {
background: #1d1d1f;
}
body #mw-content-text,
.cosmos-footerLinks-list,
.editOptions,
body #mw-content {
color: #fff;
}
.mw-body h1.firstHeading {
color: #fff;
}
#mw-content-text h2, #mw-content-text h3 {
color: #fff;
}
#mw-content h2 {
padding-bottom: 0px;
border-bottom: solid 1px #4b4b4b;
font-weight: bold;
}
#cosmos-banner {
background-color: #ff68eb;
}
.wds-tabs__tab-label wds-dropdown__toggle,
.cosmos-header .cosmos-header__counter,
.cosmos-header .wds-tabs .wds-tabs__tab-label a,
.cosmos-header__sitename a:any-link,
body .mw-changeslist-line {
color: #fff;
}
.cosmos-header .wds-tabs .wds-tabs__tab:hover .wds-tabs__tab-label a {
color: #ff68eb;
}
body {
background-image: url(/w/images/7/72/SBwiki_Background.png);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
/* 链接颜色 */
.cosmos-footerLinks-list li a,
#mw-content a:not(.new),
.mw-parser-output a.external,
.editOptions .oo-ui-fieldLayout-body .oo-ui-labelElement-label,
.oo-ui-labelElement .oo-ui-labelElement-label {
color: #ff68eb;
}
/* SB ICON */
.sb-icon {
position: relative;
display: inline-block;
}
.sb-icon a::before,
.sb-icon a::after {
content: " ";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.sb-icon a{
overflow: hidden;
display: block;
border-radius: 0.3em;
border: 2px solid transparent;
transform: scale(0.90);
transition: all .14s cubic-bezier(0.33, 1, 0.68, 1);
}
.sb-icon a:hover,
.sb-icon a:focus{
border-radius: 0.3em;
border: 2px solid transparent;
transform: scale(1);
}
#catlinks {
background-color: rgba(0, 0, 0, 0.73);
border-radius: .5em;
color: #fff;
}
.cosmos-button-primary {
background-color: #ff68eb;
}
.cosmos-button.cosmos-button-secondary {
display: none;
}
/* TOC */
#mw-toc-heading {
border-bottom: 0px !important;
}
.skin-cosmos .toc {
background-color: transparent;
border: 1px solid #ff68eb;
display: table;
margin: 1em 0;
max-width: 300px;
padding: 10px;
border-radius: 10px;
}/*目录*/
#mw-content .toc > ul {
border:none;
padding: 0 5px 5px 5px;
}
.skin-cosmos .toc .tocnumber {
color: #fff;
font-family: "JetBrains Mono", monospace;
}
#mw-content .toctitle h2 {
font-size: 20px;
background-image: none !important;
font-weight: 900;
}
/*表格*/
.sb-table {
border:2px solid #ff68eb;
border-collapse: collapse;
}
.sb-table th {
border:1px solid #ff68eb;
padding: 6px 12px;
background-color: rgba(0,0,0,0.5);
}
.sb-table td {
border:1px solid #ff68eb;
padding: 6px 12px;
}
#searchform input {
padding: 3px 20px;
border: 0;
background: transparent;
border-bottom: 2px solid #bd15a7;
}
.char-card-frame {
width: 220px;
border: 5px solid black;
border-radius: 1rem;
box-sizing: border-box;
overflow: hidden;
position: relative;
height: 150px;
display: inline-block;
background-repeat: no-repeat;
}
.char-card-text {
position: absolute;
bottom: 0.2em;
left: 0.7em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display:inline-block;
width:8em;
text-align: left;
font-weight: bold;
display: flex;
align-items: center;
}
.sb-portriat{
transform: scale(1);
}
.sb-portriat a:hover {
transform: scale(1.2);
transition: all .14s cubic-bezier(0.33, 1, 0.68, 1);
}