打开/关闭菜单
Toggle preferences menu
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第3行: 第3行:
.searchresult{
.searchresult{
display:none;
display:none;
}
.mw-search-result-data{
font-size:5px;
}
}



2021年9月21日 (二) 05:58的版本

/* 这里放置的CSS将应用于所有皮肤 */
/*关闭搜索结果,只显示标题*/
.searchresult{
	display:none;
}

.mw-search-result-data{
	font-size:5px;
}

/*字典词条*/
	.word_entries_container{
		background-color: #f4f4f4;
		border-radius:10px;
    }
    .word_entries_container > .mw-headline {
        display: block;
        font-size: 1.17em;
        margin-top:75px;
        margin-bottom:15px;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
    }

    .word_name{
        margin: 0 0 5px;
        color: #333;
        font-size: 32px;
        font-weight: 700;
        word-break: break-word;
    }
    
    

    .word_defination{
    	margin-left:8px;
        color: #555;
        font-size: 16px;
    }

    .word_defination p {
        display: block;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }
    .related_word{
        margin: 5px 10px 5px 0;
        padding: 4px 7px;
        text-align: center;
        color: #555;
        border-radius: 2px;
        background-color: #e8e8e8;
        font-size: 16px;
    }
    .related_container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    ol, ul {
        list-style: none;
    }
    .word_source{
        display: inline-block;
        font-size: 10px;
        margin-left: 10px;
    }
/*分列*/
div.infoContainer {
        /*信息栏的容器*/
        width: 97%;
        margin: auto;
        margin-top: 15px;

        column-count: 2;
        column-gap: 40px;
        column-rule-style: solid;
        column-rule-width: 1px;
        column-rule-color: #c4c4c4;

        /* Firefox */
        -moz-column-count: 2;
        -moz-column-gap: 40px;
        -moz-column-rule-style: solid;
        -moz-column-rule-width: 1px;
        -moz-column-rule-color: #c4c4c4;

        /* Safari and Chrome */
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        -webkit-column-rule-style: solid;
        -webkit-column-rule-width: 1px;
        -webkit-column-rule-color: #c4c4c4;
        transition-duration: 300ms;
    }

    div.infoContainer > div {
        /*信息栏内部两分区基本样式*/
        width: auto;
        min-height: 300px;
        background-color: #f3f3f3;
        padding: 0.5rem 1rem 0.5rem 1rem;
    }

    .infoContainer > div > strong {
        font-size: 1.5rem;
    }

    .infoContainer_links {
        /*信息栏的具体栏目的链接*/
        color: black;
        text-decoration: none;
        transition: transform 200ms;
        font-size:19px;
        margin-top:2px;
    }
    .infoContainer_links_time{
        display: block;
        font-weight:lighter;
        font-size:13px;
        font-style:italic;
        text-align: right;
        transition-duration:800ms;
    }

    .infoContainer_links:hover {
        /*信息栏的具体栏目的链接鼠标悬浮变色*/
        color: rgb(34, 0, 156);
        text-decoration: none;
        font-size: 21px;
        transition-duration:200ms;
    }
    
    .kanban_container{
    	display:inline-block;
    	width:55%;
    	float:left
    }
    
    .newwords_container{
    	display:inline-block;
    	width:40%;
    	float: right
    }
    
    @media(max-width:480px){
    	.kanban_container{
    		width:95%;
    	}
    	
    	.newwords_container{
    		width:100%;
    		float:left;
    	}
    }