来自WIKI帮助中心

首页 > 左侧导航WIKI通用CSS



Note 1.png
本页面CSS为丛云酱常用的左侧导航WIKI的通用调整CSS样式,有爱自取。

/* 这里放置的CSS将应用于所有皮肤 */
/* WIKI背景 */
body {background: url("")  fixed 50% 0 #d1d1d1;}

/* WIKI首页调整 */
.page-首页 .mw-content-ltr {
    padding-left: 0px;
    padding-right: 0px;
}


img {
     object-fit: cover;
}

img {
	margin: 0 auto;
	height: auto;
	max-width: 100%;
	text-align: center;
}
.page-首页 .section-right2 {
background: rgba(240, 240, 240, 0.72);
}

/* WIKI首页板块 */
.sy-wikibox {
margin-top: 10px;
padding: 0px;
}

.sy-wikibox-1 {
    border: 6px solid #A7CBCE;
    border-radius: 8px;
    background: #fff;
    color: #1e1e1e;
}

.sy-wikibox-2 {
    padding: 10px 0px;
}

.btl {
padding-left: 10px;
font-size: 18px;
height: 40px;
line-height: 38px;
background: #E3E3E3;
color: #3c3c3c;
border-radius: 4px;
}

.btl2 {
font-size: 16px;
height: 20px;
line-height: 20px;
padding-left: 8px;
color: #363636;
border-left: 5px solid #E3E3E3;
margin-top: 10px;
border-radius: 3px;
}

.sy-big {width: 100%;overflow: hidden;padding: 10px;}
.sy-left {float:left;width:450px;}
.sy-right {float:left;width:calc(100% - 450px);padding-left: 10px;}


@media only screen and (max-width:759px){
.sy-right {float:none;width:100%;margin-left:0px;}
.sy-left {float:none;width:100%;}
}

/* 首页标签 */

.sy-xbq {
border-radius: 14px;
display: inline-block;
height: 28px;
text-align: center;
width: 28px;
background: #996939;
padding: 2px;
margin-left: 20px;
}


.page_box{display: block;
display: block;
height: 40px;
float: left;
text-align: center;
font-size: 14px;
color: #267BD8;
line-height: 40px;
width: 25%;
box-shadow: 0px 1px 0px rgba(225, 225, 225, 0.7);
}
.page_box:hover{
color:#000;
background: #f4f1f5;
transition: all 0.5s linear 0s;
font-size: 14px;
box-shadow: 1px 1px 0px rgba(225, 225, 225, 0.7);
}

@media only screen and (max-width:759px){
.page_box{
width: auto;
padding:0px 15px;
}
}

/* 图鉴页 */

.tj-big {width: 100%;overflow: hidden;}
.tj-left {float:left;width:300px;}
.tj-right {float:left;width:calc(100% - 310px);margin-left:10px;}


table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #F9ECE2;
    color: #6E4135;
}


/* 筛选工具 */
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    padding: 0px 10px;
}

/* 简易线框 */
.dh {
padding: 10px;
margin: 15px 0px;
border: 1px solid #6C6D71;
overflow:hidden;
}

/* 更新履历 */
.wiki-update .update-content {
    padding: 0 0px 0px 0px;
    margin-left: 0px;
}
.wiki-update {
    background-color: transparent;
}


/* 导航修改 */
.wiki-person h2 {
    font-size: 18px;
}
.wiki-person h2 b {
    width: 68%;
}
.wiki-person {
    padding: 30px 20px 0px 20px;
}
.section-left2 {
    height: 540px !important;
    min-height: 540px !important;
}
.section-left2 .wiki-nav {
    margin-bottom: 20px;
}
.wiki-action {
    padding: 5px 0 5px 5px;
    line-height: 22px;
    border-bottom: 1px dotted #303b4c;
    border-top: 1px dotted #777;
    margin: 0px 20px;
}
.wiki-action .fl {
    padding-right: 1em;
    font-size: 16px;
    color: #c5d0dd;
}
.wiki-action li {
    padding-top: 0px;
    font-size: 14px;
    list-style: none;
    background: url(http://p0.qhimg.com/t0187f2d85ad003061f.png) no-repeat 0px 9px;
    margin-left: 0px;
    padding-left: 12px;
}

/* 词条页顶部 */
#firstHeading2 .info0 {
    margin-bottom: 0px;
}
#firstHeading2 .h1-left {
    margin-left: 0px;
}
#firstHeading2 {
    padding: 15px;
}

/* 标签 */
.nry-main-content ul li {
    list-style-type: disc;
}