模板:Navbox/styles.css

来自肖彦锐之家
/* 原站该模板样式应抄自萌百某个古老版本,过于丑陋,已计划逐步淘汰相关模板 24-04 */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%;
}
table.navbox+table.navbox {
    margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
}
.navbox-group {
    font-weight: 700;
    padding-left: 1em!important;
    padding-right: 1em!important;
    white-space: nowrap;
    padding-top: 2px;
    padding-bottom: 2px;
}
.navbox,
.navbox-subgroup {
    background: none repeat scroll 0 0 #fdfdfd;
}
.navbox-list {
    border-color: #fdfdfd;
}
.navbox-title,
table.navbox th {
    background: none repeat scroll 0 0 #E4E4E4;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: none repeat scroll 0 0 #ECECEC;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: none repeat scroll 0 0 #F6F6F6;
}
.navbox-even {
    background: none repeat scroll 0 0 #F7F7F7;
}
.navbox-odd {
    background: none repeat scroll 0 0 transparent;
}
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}
.navbar {
    position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
	display: none;
}

@media only screen and (max-width:759px){
	.infotable {
	    width: 90%;
	    float: none;
	    margin: 0 auto;
	}
	
	/*.navbox {*/
	/*	display:none;*/
	/*}*/
	/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
	.navbox-title>div{
        display: none;
    }
    /*把内边距去掉*/
    .navbox-group,
    .navbox-group >div{
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}