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

From Amanita Research
Jump to navigation Jump to search
(tweak)
(+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 14:09, 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;
	}