跳转到内容

MediaWiki:Common.css:修订间差异

来自東莞道路研究社
星野昴留言 | 贡献
无编辑摘要
星野昴留言 | 贡献
无编辑摘要
第85行: 第85行:


.link-content:hover {
.link-content:hover {
     font-size: 19px;
     font-size: 25px;
     text-shadow: 3px 3px gray;
     text-shadow: 3px 3px gray;
}
}

2023年7月8日 (六) 01:20的版本

/* 此 CSS 會套用至所有的介面外觀 */
body{
    font-family: 微软雅黑;
}


.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-title p {
    margin-top: 2px;
    margin-bottom: 2px;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}


/* 黑幕的代碼? */
.heimu, .heimu a, a .heimu, .heimu a.new {
     background-color: #252525;
     color: #252525;
     text-shadow: none;
}
.heimu:hover, .heimu:active,
.heimu:hover .heimu, .heimu:active .heimu {
    color: white !important;
 }
.heimu:hover a, a:hover .heimu,
.heimu:active a, a:active .heimu {
    color: lightblue !important;
}
.heimu:hover .new, .heimu .new:hover, .new:hover .heimu,
.heimu:active .new, .heimu .new:active, .new:active .heimu {
    color: #BA0000 !important;
}


/* 首頁目錄的樣式 */
.index {
    display: flex;
}

.index-link {
    margin:15px;
    width:20%;
    border-radius: 25px;
    opacity:1.0;

    background-image: linear-gradient(aqua, #9966FF);

    transition: 1s;
}

.index-linkhover {
    margin:15px;
    width:20%;
    border-radius: 25px;

    opacity:0.3;

    background-image: linear-gradient(aqua, #9966FF);
}

.link-content {
    transition: 1s;
}

.link-content:hover {
    font-size: 25px;
    text-shadow: 3px 3px gray;
}

@media screen and (max-width: 850px) {
    .index {
        display: block;
    }

    .index-link {
        font-size:30px;
        margin:15px;
        height:60px;
        width:200px;
        border-radius: 25px;
        background-color:#2AD7EC
    }
}