活动页面专用/styles.css:修订间差异
外观
攸萨将页面活动页面专用/styles.css的内容模型从“wiki语法”更改为“已过滤的CSS” |
小 修改 |
||
第179行: | 第179行: | ||
h3:hover,h4:hover,h3:focus,h4:focus{ | h3:hover,h4:hover,h3:focus,h4:focus{ | ||
letter-spacing: 0.3em; | letter-spacing: 0.3em; | ||
} | } | ||
h2 { | h2 { | ||
第258行: | 第235行: | ||
} | } | ||
.heimu a, .heimu.fakelink { | .heimu a, .heimu.fakelink { | ||
第290行: | 第262行: | ||
/*表格样式*/ | /*表格样式*/ | ||
.stubborn>table { | .stubborn>table { | ||
border-radius: 15px; | border-radius: 15px; | ||
第325行: | 第297行: | ||
background-color: rgba(135, 206, 235, 0.1); | background-color: rgba(135, 206, 235, 0.1); | ||
} | } | ||
/* 分割线 */ | /* 分割线 */ |
2022年7月9日 (六) 23:51的版本
/* 搬运于萌娘百科的页面Slow Loop专用样式表 */ /*改变字体颜色 需使用<div class="blue"> 内容 </div>*/ .blue { color: #1568a2; } /*MinervaNeue皮肤下图片缩放*/ .infobox2 img { width:100%; max-width:312px !important; height:auto; } /*tab的透明化*/ .tabs-pages{ background-color:transparent; } .inner-content{ border:transparent; } /*移除信息栏中tab的边框*/ .infobox2 .TabContent{ border:0; } .switch_demo { position: relative; width: 150px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } .switch_demo-checkbox { display: none; } .switch_demo-label { display: block; overflow: hidden; cursor: pointer; border: 2px solid #999999; border-radius: 20px; } .switch_demo-inner { display: block; width: 200%; margin-left: -100%; transition: margin 0.3s ease-in 0s; } .switch_demo-inner:before, .switch_demo-inner:after { display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px; font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold; box-sizing: border-box; } .switch_demo-inner:before { content: "開啟"; padding-left: 10px; background-color: #34A7C1; color: #FFFFFF; } .switch_demo-inner:after { content: "關閉"; padding-right: 10px; background-color: #EEEEEE; color: #999999; text-align: right; } .switch_demo-switch { display: block; width: 18px; margin: 6px; background: #FFFFFF; position: absolute; top: 0; bottom: 0; right: 116px; border: 2px solid #999999; border-radius: 20px; transition: all 0.3s ease-in 0s; } .switch_demo-checkbox:checked + .switch_demo-label .switch_demo-inner { margin-left: 0; } .switch_demo-checkbox:checked + .switch_demo-label .switch_demo-switch { right: 0px; } /* 折叠窗优化 */ .stubborn>table { border-radius: 15px; border: transparent; overflow: hidden; } .wikitable th { border: transparent; color:#0b7698; border-radius: 4px; background-color: rgba(161, 212, 218, 0.0); } #ost .wikitable { margin:0.5em 2%; border: transparent; } #ost .song_length { border: transparent; } .wikitable td { border: transparent; background-color: rgba(135, 206, 235, 0.0); } table.wikitable { border: transparent; } table.wikitable img { height: auto; border: transparent; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: rgba(135, 206, 235, 0.0); border: transparent; } /* 折叠窗展开文字修改处 */ .mw-collapsible-text { border: transparent; color: rgb(135, 206, 235);; } table.wikitable tbody{ border: transparent; display: contents; } div.mw-customtoggle { border: transparent; padding: 3px 0.4em; }/* 点击展开收起 通常 */ span.mw-customtoggle { border: transparent; color: rgba(135, 206, 235, 0.0); padding: 3px 0.2em; }/* 点击展开收起 内联 */ span.mw-customtoggle:hover,span.mw-customtoggle:focus { font-weight:bold; border: transparent; transition: border 1s; }/* 点击展开收起 内联 */ /*标题风格化*/ h3:hover,h4:hover,h3:focus,h4:focus{ letter-spacing: 0.3em; } h2 { border-bottom: none; font-weight: bolder; margin-top: 1.6em; color: #005AB5; text-shadow: 0px 0px 10px #EEF5FC; } h2 .mw-headline { display: inline-block; } h2 .mw-headline::after { content: ''; background: linear-gradient(90deg,#66B3FF, #97CBFF 90%, transparent ); display: block; margin: -30px 0px 0px -30px; width: 160%; border-radius: 6px; height: 33px; } h3 .mw-headline { color: #1568A2; font-size: 120%; padding: 0 10px; border-bottom: solid 2px #0B7698; } h4 .mw-headline { border-left: solid 10px #0C7698; color: rgba(4,87,146,1.00); padding-left: 7px; position: relative; font-size: 118%; padding-bottom: 5px; } h5 .mw-headline { padding-left: 10px; font-size: 108%; position: relative; font-weight: 900; } /*圆角化*/ .infoBox,.infoBoxContent,.infoBox2,.navbox-title,.navbox-group,.wikitable,.bilibili-title,.navBox,table,.toc,pre,.card,.radius,.TabContent { border-radius: 7px; } .infoBoxContent { border-top-left-radius: 0; border-bottom-left-radius: 0; } .heimu a, .heimu.fakelink { color: Transparent; } /*移动版允许使用small、big标签*/ small { font-size:smaller; } big { font-size:larger; } /* 编辑按钮右置、半透明 */ .mw-editsection { float: right; font-size: 13px; opacity: 0; transition: opacity 0.5s; } .mw-editsection:hover { opacity: 1; } /*表格样式*/ .stubborn>table { border-radius: 15px; border: rgba(197,226,232,1.00) 3px solid; overflow: hidden; margin-top: 15px!important; margin-left: 15px; } table.wikitable { border-radius: 15px; border: rgba(197,226,232,1.00) 3px solid; overflow: hidden; } .wikitable th { border: 1.2px solid #7fcad9; color:#0b7698; border-radius: 4px; background-color: rgba(161, 212, 218, 0.4); } #ost .wikitable { margin:0.5em 2%; } #ost .song_length { text-align:right; } .wikitable td { border: 1.2px solid #7fcad9; background-color: rgba(135, 206, 235, 0.1); } /* 分割线 */ hr { margin: 1em 10% 0.5em; width: 80%; border-bottom: 2px dashed #3fa8bd; background: none; } /* 更改选中颜色 */ ::selection { color: #0b7698; background-color: #cde5ea; } /** Toggle文字按钮下划线 **/ .toggleunderline:hover { text-decoration-line: underline; } /** 链接下划线 **/ a, .toggleunderline { text-decoration-style: wavy; } /** #各话简介・先行图 Tabs按钮 **/ .tabslabelbt:active { transform: scale(0.95); } /* 媒体适配 */ @media screen and (max-width: 960px) { table.wikitable { margin: 0.5em 0; width: 100%!important; } h2 { padding: 5px 0em; border-radius: 5px 5px 0 0; } table.wikitable tbody{ display: inline-block; } #ost .wikitable { text-align:left; width:auto!important; } } /* [[分类:CSS页面]] */