用户:CrablePotion/模板/CSS:修订间差异

删除3,871字节 、​ 2023年1月29日 (星期日)
本**地化
(撤销CrablePotion讨论)的版本45056)
标签撤销
(本**地化)
标签替换 大段删除内容
第1行: 第1行:
<!--/////全部CSS已经本地化/////-->
<!--/////
<nowiki>
{{用户:CrablePotion/CSS/勋章墙效果}}
{{用户:CrablePotion/CSS/勋章墙效果}}
</nowiki>
<nowiki>
{{用户:CrablePotion/CSS/外观}}
{{用户:CrablePotion/CSS/外观}}
</nowiki>
<nowiki>
{{用户:CrablePotion/CSS/文本颜色}}
{{用户:CrablePotion/CSS/文本颜色}}
</nowiki>
<nowiki>
{{用户:CrablePotion/CSS/动态搜索栏}}
{{用户:CrablePotion/CSS/动态搜索栏}}
</nowiki>
/////-->
'''{{color|#1abc9c|正常}}'''
'''{{color|#1abc9c|正常}}'''
<!--/////使用<gallery class="medal"></gallery>代码情况下/////-->
{{CSS|1=<nowiki>
ul.gallery.mw-gallery-traditional.medal img:hover {
  /* filter: drop-shadow(0 0 6px #9999); */
  image-rendering: pixelated;
}
ul.gallery.mw-gallery-traditional.medal img:hover {
  transform: scale(1.75);
}
ul.gallery.mw-gallery-traditional.medal img {
  transition: all 0.3s ease;
  transform:scale(1.15);
}
</nowiki>}}
{{CSS|1=<nowiki>
#mw-panel #p-logo a {
    background-size: contain;
}
#mw-panel {
    border-radius: 10px;
}
#p-logo a {
    background-size: contain;
}
#p-logo a {
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 10em;
    height: 160px;
    text-decoration: none;
    padding-top: 45px;
}
.mw-wiki-logo {
    background-image: url(//mcbbs.wiki/images/d/dd/水桶-MCBBSWiki.png);
}
.mw-body h1, .mw-body-content h1 {
    font-size: 2em;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    margin-bottom: 0.25em;
    padding: 0;
    font-family: 'Linux Libertine','Georgia','Times',serif;
    line-height: 1.3;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 2px solid #a2a9b1;
    padding: 0.2em 0.4em;
    border-radius: 10px;
}
.wikitable > * > tr {
    background-color: #eaecf0;
}
.wikitable > * > tr > td {
    background-color: #fbf2dc;
}
:root {;
    --lightcolor: #fbf2dc;
}
</nowiki>}}
{{CSS|1=<nowiki>
.vector-menu-portal .vector-menu-heading {
    display: block;
    color: #7048e8;
    margin: 0.5em 0 0 0.66666667em;
    border: 0;
    padding: 0.25em 0;
    font-size: 0.75em;
    font-weight: normal;
    cursor: default;
}
#mw-panel .portal .vector-menu-heading {
    margin: 0;
    padding: 0;
    position: relative;
    background-image: none;
    font-size: 1.05rem;
    line-height: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}
.mw-body h1, .mw-body-content h1 {
    font-size: 2em;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    margin-bottom: 0.25em;
    padding: 0;
    font-family: 'Linux Libertine','Georgia','Times',serif;
    line-height: 1.3;
}
h1 {
    font-size: 188%;
    /* font-weight: normal; */
}
h1, h2, h3, h4, h5, h6 {
    color: #004578;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    overflow: hidden;
    font-weight: bold;
}
element.style {
}
body {
    border-color: var(--linecolor);
    animation: colorchange 5s infinite
}
.vector-body .toc h2 {
    font-family: sans-serif;
    font-size: 100%;
    color: #004578;
    background: #ffffff00
}
div {
    display: block;
}
</nowiki>}}
{{CSS|1=<nowiki>
.vector-search-box-input {
    color: #000000;
    height: 2.45384615em;
    box-sizing: border-box;
    border: 2px solid #a2a9b1;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px transparent;
    font-size: 0.8125em;
    direction: ltr;
    transition-property: border-color,box-shadow;
    transition-duration: 250ms;
    width: 60%;
    background-color: #fdf6e6;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    padding: 0 0 0 6px
}
.vector-search-box-input:focus {
    width: 100%;
}
.searchButton {
    background-color: transparent;
    position: absolute;
    bottom: 1px;
    right: 40%;
    min-width: 28px;
    width: 2.45384615em;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 0.8125em;
    direction: ltr;
    text-indent: -99999px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease-in-out;
}
.vector-search-box-input:focus~.searchButton {
    position: absolute;
    right: -0%;
   
}
</nowiki>}}
934

个编辑