Module:Documentation/styles.css: Difference between revisions

    From Nonbinary Wiki
    (consistent styles for main and metadata boxes)
    (like this padding better, indeed; sync right-left tho)
    Line 3: Line 3:
    border: 1px solid #a2a9b1;
    border: 1px solid #a2a9b1;
    background-color: #ecfcf4;
    background-color: #ecfcf4;
    padding: 1em;
    clear: both;
    clear: both;
    }
    }
    Line 9: Line 8:
    .template-documentation {
    .template-documentation {
    margin: 1em 0 0 0;
    margin: 1em 0 0 0;
    padding: 1em;
    }
    }


    Line 35: Line 35:
    margin: 0.2em 0;
    margin: 0.2em 0;
         font-style: italic;
         font-style: italic;
        padding: 0.25em 1em;
    }
    }



    Revision as of 05:14, 12 November 2020

    .template-documentation,
    .template-documentation-metadata {
    	border: 1px solid #a2a9b1;
    	background-color: #ecfcf4;
    	clear: both;
    }
    
    .template-documentation {
    	margin: 1em 0 0 0;
    	padding: 1em;
    }
    
    .template-documentation-startbox {
    	padding-bottom: 3px;
    	border-bottom: 1px solid #aaa;
    	margin-bottom: 1ex;
    }
    
    .template-documentation-heading {
    	font-weight: bold;
    	font-size: 125%;
    }
    
    .template-documentation-other-heading {
    	font-size: 150%;
    }
    
    .template-documentation-sandbox-start,
    /* So right or left floating items don't stick out of the doc box.*/
    .template-documentation-end {
    	clear: both;
    }
    
    .template-documentation-metadata {
    	margin: 0.2em 0;
        font-style: italic;
        padding: 0.25em 1em;
    }
    
    .template-documentation-toolbar {
    	font-style: normal;
    	font-size: 85%;
    }