MediaWiki:Common.css

来自天使文库

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 这里放置的CSS将应用于所有皮肤 */

/* = 内容相关 = */

/* 字体相关 */
a:hover, a:active {
text-decoration: none;
text-shadow: #5bcefa 0 0 7px;
}
a:hover {
text-decoration: underline;
}
a.new {
color: blue !important;
text-decoration: none;
font-weight: bold;
}
a {
color: #f5a8ba !important;
text-decoration: none;
font-weight: bold;
}
[href]:hover{
    font-size: 106%;
}

/* 浮动目录 */
#toc, .toc {
        display: block;
        position: fixed;
        top: 100px;
        right: 0px;
        min-width: 200px;
        max-width: 350px;
        max-height: 600px;
        overflow-y: scroll;
        border: 1px solid #aaa;
        border-radius: 0 0 1px 1px;
        -moz-border-radius: 0 0 1px 1px;
        background: rgba(249,249,249,0.85);
        padding: 12px;
        box-shadow: 0 1px 8px #000;
        -webkit-box-shadow: 0 1px 8px #000;
        -moz-box-shadow: 0 1px 8px #000;
 
}

/* 背景透明 */
#content{
opacity: 0.95;
}

/* = 首页相关 = */
.mainpage-newsbox {
    width: 66.67%;
    float: left;
}
.mainpage-box {
    float: left;
    width: 33.33%;
}
.mainpage-title {
    font-family: EasonPro, "黑体", serif;
    font-size: 1.618em;
    color: #FFFFFF;
    margin: 0;
    background: #f5a8ba;
    font-weight: 400; /* 400 = normal */
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size-adjust: .48;
}
.mainpage-content,
.mainpage-1stcontent {
    vertical-align: top;
    padding: .5em 2%;
    min-height: 130px;
}
.mainpage-content.nomobile {
    min-height: auto;
}
.clear-div {
    clear: both;
}
#mainpage {
    display: block;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin: 0 auto; /* 居中 */
    max-width: 1030px;
}