Template:Main Page/styles.css: Difference between revisions

    From Wikinoor
    mNo edit summary
    mNo edit summary
    Line 1: Line 1:
    body.page-Main_Page #mp-topbanner {
    clear: both;
    }
    .mp-topbanner {
    .mp-topbanner {
    text-align: center;
    text-align: center;
    Line 24: Line 20:
    .mp-welcome .mp-welcome-title, .mp-description .colored a {  
    .mp-welcome .mp-welcome-title, .mp-description .colored a {  
    color: #0181A7 !important;
    color: #0181A7 !important;
    }
    .mp-welcome .mp-welcome-title {
    font-weight: bold;
    font-weight: bold;
    }
    }

    Revision as of 22:15, 27 November 2022

    .mp-topbanner {
    	text-align: center;
    	width: 90%;
    	margin: 0 auto;
    	margin-bottom: 20px;
    }
    
    .mp-welcome p, .mp-description p { 
    	margin: 0; 
    	display: inline-block; 
    	padding: 0 5px;
    }
    
    .mp-welcome {
    	font-size: 32px;
    	color: #999;
    	font-weight: bold;
    }
    
    .mp-welcome .mp-welcome-title, .mp-description .colored a { 
    	color: #0181A7 !important;
    }
    
    .mp-welcome .mp-welcome-title {
    	font-weight: bold;
    }
    
    .mp-description {
    	font-size: 16px;
    	color: #666; 
    	margin-bottom: 5px; 
    	border-bottom: 1px solid #e0e0e0; 
    	padding: 5px 0 10px 0;
    }
    
    .mp-welcome p {
    	border-bottom: 3px solid #e0e0e0;
    }
    
    .mp-welcome .wellcome {
    	display: inline-block;
    	border-bottom: 3px solid #e0e0e0;
    }
    
    .mp-welcome h1, .mp-description h2 {
    	display: inline;
    	font-size: 1em;
    	border:  none;
    	color: #666;
    }
    
    .mp-menu {
    	border-bottom: 1px solid #e0e0e0;
    }
    
    .mp-menu .mp-menu-item {
    	display: inline-block;
    	font-size: 14px;
    	margin: 0 4px;
    }
    
    .mp-menu .mp-menu-item a {
    	color: #0181a7 !important;
    }
    
    #mp-upper {
    	display: flex;
    }
    
    #mp-left {
    	flex: 1 1 70%;
    	margin-right: 2px;
    	padding: 0 5px;
    }
    
    #mp-right {
    	flex: 1 1 30%;
    	margin-left: 2px;
    }
    
    #mp-article {
    	display: flex;
    	flex-direction: column;
    	padding-top: 1em;
    }
    
    #mp-f-article, #mp-s-article, #mp-help {
    	margin-bottom: 1em;
    }
    
    .item-box {
        background: #f5faff none repeat scroll 0 0;
        border: 1px solid #a7d7f9;
        border-radius: 0.5em;
        padding: 1em;
        margin-bottom: 1em;
    }
    
    .mp-h2 {
    	padding: 10px;
    	border-radius: 6px;
    	background: #c6defe none repeat scroll 0 0;
    	margin-bottom: 10px;
    }
    
    .mp-h2 span {
    	font-size: 15px;
    	position: relative;
    	padding-left: 45px;
    }
    
    #mp-article .mp-h2 span:before, #mp-new .mp-h2 span:before, #mp-top .mp-h2 span:before, #mp-help  .mp-h2 span:before {
        width: 43px;
        height: 43px;
        position: absolute;
        left: -1px;
        top: -9px;
        content: " ";
    }
    
    .mp-more {
    	float: right;
    	margin-right: 10px;
    }
    
    #mp-new, .topArticles {
    	width: 100%;
    	height: auto; 
    	margin-bottom: 10px;
    }
    
    #mp-new ol {
    	margin: 10px 10px 0 0;
    	padding: 0; 
    	text-align: left !important;
    }
    
    #mp-new ol li {
    	list-style: none;
    }
    
    #mp-new ol li:before { 
        content: "";
        line-height: 1em;
        width: 5px;
        height: 5px;
        background-color: #00528C;
        float: left;
        margin: 7px 0 0 7px;
        border-radius: 50%;
    }
    
    @media (max-width: 875px) {
    	.mp-topbanner {
    		margin-bottom: 0px;
    	}	
    	
    	.mp-welcome {
    		font-size: 24px;
    	}
    	
    	.mp-menu {
    		border-bottom: unset;
    	}	
    
    	#mp-upper {
    	  flex-direction: column;
    	}
    	
    	.mp-h2 { 
    		padding: 10px;
    		border-radius: 6px;
    		background: #c6defe none repeat scroll 0 0;
    		margin-bottom: 10px;
    	}
    	
    	.mp-h2 span { 
    		padding-left: 45px;
    		position: relative;
    	}
    	
    	#mp-article .mp-h2 span:before, #mp-new .mp-h2 span:before, #mp-top .mp-h2 span:before, #mp-help  .mp-h2 span:before {
    	    width: 43px;
    	    height: 43px;
    	    position: absolute;
    	    left: -1px;
    	    top: -9px;
    	    content: " ";
    	}
    }