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

From Vigyanwiki
< Module:Citation/CS1
Template>Headbomb
(tweak)
Template>Trappist the monk
(+error message code style;)
Line 1: Line 1:
.cs1_style_code { /* preserve font but remove other <code> styling; used in error messages */
color: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 {
.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: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png) no-repeat;

Revision as of 19:39, 21 July 2018

.cs1_style_code {																/* preserve font but remove other <code> styling; used in error messages */
	color: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;
	}