Module:Citation/CS1/styles.css: Difference between revisions

    From Nonbinary Wiki
    (+error message code style;)
    No edit summary
    Line 1: Line 1:
    .cs1_style_code { /* preserve font but remove other <code> styling; used in error messages */
    .cs1_style_code { /* preserve font but remove other <code> styling; used in error messages */
    color:inherit;
    color:inherit;
    background: inherit;
    border: inherit; /* code editor doesn't like inherit with boder? https://www.w3.org/wiki/CSS/Properties/border suggest that inherit is ok */
    border: inherit; /* code editor doesn't like inherit with boder? https://www.w3.org/wiki/CSS/Properties/border suggest that inherit is ok */
    padding:inherit;
    padding:inherit;
    }
    }


    /*----------------------------< A C C E S S  I C O N  S T Y L E >------------------------------------------*/
    /*----------------------------< A C C E S S  I C O N  S T Y L E >------------------------------------------*/

    Revision as of 14:58, 21 July 2018

    .cs1_style_code {																/* preserve font but remove other <code> styling; used in error messages */
    	color:inherit;
    	background: inherit;
    	border: inherit;															/* code editor doesn't like inherit with boder? https://www.w3.org/wiki/CSS/Properties/border suggest that inherit is ok */
    	padding:inherit;
    	}
    
    
    /*----------------------------< A C C E S S   I C O N   S T Y L E >------------------------------------------*/
    
    .cs1_lock_free a {
    	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png) no-repeat;
    	background-position: right .1em center;
    	}
    
    .cs1_lock_limited a,
    .cs1_lock_registration a {
    	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png) no-repeat;
    	background-position: right .1em center;
    	}
    
    .cs1_lock_subscription a {
    	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png) no-repeat;
    	background-position: right .1em center;
    	}