MediaWiki:Common.css:修订间差异
外观
	
	
无编辑摘要  | 
				无编辑摘要 标签:手工回退  | 
				||
| (未显示同一用户的67个中间版本) | |||
| 第1行: | 第1行: | ||
/* 此 CSS 會套用至所有的介面外觀 */  | /* 此 CSS 會套用至所有的介面外觀 */  | ||
body{  | |||
     font-family: 微软雅黑;  |      font-family: 微软雅黑;  | ||
}  | }  | ||
.infobox {  | .infobox {  | ||
     background: #eee;  |      background: #eee;  | ||
| 第9行: | 第11行: | ||
     margin: 0 0 1em 1em;  |      margin: 0 0 1em 1em;  | ||
     padding: 1em;  |      padding: 1em;  | ||
     width:   |      width: 300px;  | ||
}  | }  | ||
.infobox-title {  | .infobox-title {  | ||
     font-size:   |      font-size: 2em;  | ||
     text-align: center;  |      text-align: center;  | ||
}  | |||
.infobox-title p {  | |||
    margin-top: 2px;  | |||
    margin-bottom: 2px;  | |||
}  | }  | ||
.infobox-image {  | .infobox-image {  | ||
| 第25行: | 第31行: | ||
.infobox td {  | .infobox td {  | ||
     vertical-align: top;  |      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-phone {  | |||
    display: none;  | |||
}  | |||
.index-link {  | |||
    margin:5px;  | |||
    height:40px;  | |||
    width:98%;  | |||
    border-radius: 25px;  | |||
    background-image: linear-gradient(aqua, #9966FF);  | |||
}  | |||
.link-content {  | |||
    transition: 1s;  | |||
}  | |||
.link-content:hover {  | |||
    text-shadow: 4px 4px gray;  | |||
}  | |||
@media screen and (max-width: 900px) {  | |||
    .fongjing {  | |||
        display: none;  | |||
    }  | |||
    .topic {  | |||
        display: none;  | |||
    }  | |||
    .index-phone {  | |||
        display: flex;  | |||
    }  | |||
}  | }  | ||
2024年3月4日 (一) 23:23的最新版本
/* 此 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-phone {
    display: none;
}
.index-link {
    margin:5px;
    height:40px;
    width:98%;
    border-radius: 25px;
    background-image: linear-gradient(aqua, #9966FF);
}
.link-content {
    transition: 1s;
}
.link-content:hover {
    text-shadow: 4px 4px gray;
}
@media screen and (max-width: 900px) {
    .fongjing {
        display: none;
    }
     
    .topic {
        display: none;
    }
    .index-phone {
        display: flex;
    }
}