文学领主/style.css:修订间差异

跳到导航 跳到搜索
添加814字节 、​ 2022年6月24日 (星期五)
修改
无编辑摘要
(修改)
 
(未显示同一用户的7个中间版本)
第1行: 第1行:
/* 搬运于萌娘百科的页面Slow Loop专用样式表 */
/* 搬运于萌娘百科的页面Slow Loop专用样式表 */
/*改变字体颜色
需使用<div class="blue"> 内容 </div>*/
.blue {
color: #1568a2;
}
/*MinervaNeue皮肤下图片缩放*/
/*MinervaNeue皮肤下图片缩放*/
.infobox2 img {
.infobox2 img {
width:100%; max-width:312px !important; height:auto;
width:100%; max-width:312px !important; height:auto;
}
}
/*tab的透明化*/
.tabs-pages{
background-color:transparent;
}
.inner-content{
border:transparent;
}
/*移除信息栏中tab的边框*/
/*移除信息栏中tab的边框*/
.infobox2 .TabContent{
.infobox2 .TabContent{
第9行: 第27行:
}
}


/* Non essential CSS - Just for example centering */


html, body {
.switch_demo {
width: 100%;
position: relative;
height: 100%;
width: 150px;
margin: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
}
 
.switch_demo-checkbox {
.center-outer {
display: none;
display: table;
}
width: 100%;
.switch_demo-label {
height: 100%;
display: block;
overflow: hidden;
cursor: pointer;
border: 2px solid #999999;
border-radius: 20px;
}
}
 
.switch_demo-inner {
.center-inner {
display: block;
display: table-cell;
width: 200%;
vertical-align: middle;
margin-left: -100%;
text-align: center;
transition: margin 0.3s ease-in 0s;
}
}
 
.switch_demo-inner:before,
/* Essential CSS - Makes the effect work */
.switch_demo-inner:after {
 
display: block;
body {
float: left;
background-color: #3498db;
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 {
.bubbles {
content: "開啟";
display: inline-block;
padding-left: 10px;
font-family: arial;
background-color: #34A7C1;
position: relative;
color: #FFFFFF;
}
}
 
.switch_demo-inner:after {
.bubbles h5 {
content: "關閉";
position: relative;
padding-right: 10px;
margin: 1em 0 0;
background-color: #EEEEEE;
font-family: 'Luckiest Guy', cursive;
color: #999999;
color: #fff;
text-align: right;
z-index: 2;
}
}
 
.switch_demo-switch {
.individual-bubble {
display: block;
width: 18px;
margin: 6px;
background: #FFFFFF;
position: absolute;
position: absolute;
border-radius: 100%;
top: 0;
bottom: 10px;
bottom: 0;
background-color: #fff;
right: 116px;
z-index: 1;
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;
}


/*原型取自萌娘百科-糖调!
/*原型取自萌娘百科-糖调!
第206行: 第248行:


/*标题风格化*/
/*标题风格化*/
h2:hover,h2:focus,h3:hover,h4:hover,h3:focus,h4:focus{
h3:hover,h4:hover,h3:focus,h4:focus{
letter-spacing: 0.3em;
letter-spacing: 0.3em;
transition: letter-spacing 1s;
transition: letter-spacing 1s;
第404行: 第446行:
}
}
}
}
/* [[Category:在主名字空间下的CSS页面]] */
/* [[分类:CSS页面]] */
15,321

个编辑

导航菜单