“MediaWiki:Common.css”的版本间的差异

来自帮助文档
跳转至: 导航搜索
第120行: 第120行:
 
     background-color: #fff;
 
     background-color: #fff;
 
     color: #1795bb;
 
     color: #1795bb;
     border: 1px solid #ccc;
+
     border: 0px solid #ccc;
 
}
 
}

2024年11月29日 (五) 16:47的版本

/* 这里放置的CSS将应用于所有皮肤 */

#firstHeading{display: none;}

li{white-space: nowrap;}

#p-cactions li.selected a{ z-index: 0;}

h1 {
    font-size: 250%;
    border-bottom: 0px solid #a2a9b1;
}
h2 {
    font-size: 200%;
    font-weight: bold;
}

#toc{
 display: block;
 position: fixed;
 bottom: 0px;
 left: 0px;
 width: 125px;
 height: 97%;
 overflow-y: scroll;
 -moz-border-radius: 0 0 1px 1px;
 border: 1px solid #aaa;
 border-radius: 0 0 1px 1px;
 padding: 12px;
 -moz-box-shadow: 0 1px 8px #000;
}
 
#toc:hover{
 display: block;
 position: fixed;
 top: 1px;
 left: 0px;
 width: initial;
 height: 97%;
 -moz-border-radius: 0 0 1px 1px;
 -moz-box-shadow: 0 1px 8px #000;
 overflow-y: scroll;
 z-index: 4;
}

#searchBody{
 padding: 0.5em 0.4em 0.4em 0.4em;
 text-align: center;

 
}

#p-search{
 z-index:3;
 position: fixed;
 bottom: 200px;
 right: 30px;
 width: 230px;
}


#p-tb{
 position:fixed;
 bottom: 35%;
 right: 0px;
 z-index:3;
}

#p-logo{
  display: none;
}

.mw-body{
    margin: 2.8em 0 0 160px;
    padding: 0em 4em;
    position: relative;
    z-index: 2;
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
    border-right: 0;
    line-height: 1.5em;
}

/*搜索框*/
#topsearch{
    width: 20vw;
    height: 2vw;
    position: fixed;
    top: 0px;
    right: 40%;
}
/*目录标题*/
.tocnumber{
    display:none;

}
div#simpleSearch{width: 12.6em;}

#mw-page-base{display: none;}

body.page-Main_Page h1.firstHeading { display:none; }

.toclevel-4 a:first-child {display: none;}


#button{
    background-color: #1795bb;
    border: none;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    font-size: 25px;
    text-align: center;
}
#button:hover{
     background-color: #fff;
     color: #1795bb;
     border: 0px solid #ccc;
}