Jump to content

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

templatestyles class names;
(shorten name)
(templatestyles class names;)
Line 25: Line 25:
*/
*/


code.cs1_code { /* preserve font but remove other <code> styling; used in error messages */
code.cs1-code { /* preserve font but remove other <code> styling; used in error messages */
color:inherit;
color:inherit;
background: inherit;
background: inherit;
Line 35: Line 35:
/*----------------------------< 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 >------------------------------------------*/


.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;
background-position: right .1em center;
background-position: right .1em center;
}
}


.cs1_lock_limited a,
.cs1-lock_limited a,
.cs1_lock_registration 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: 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;
background-position: right .1em center;
}
}


.cs1_lock_subscription a {
.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: 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;
background-position: right .1em center;
}
}


/*----------------------------< C S 1/C O N F I G U R A T I O N >------------------------------------------*/
/*----------------------------< C S 1 / C O N F I G U R A T I O N >------------------------------------------*/
.cs1_subscription,
.cs1-subscription,
.cs1_registration {
.cs1-registration {
color:#555;
color:#555;
}
}
.cs1_subscription span,
 
.cs1_registration span {
.cs1-subscription span,
.cs1-registration span {
border-bottom:1px dotted;
border-bottom:1px dotted;
cursor:help;
cursor:help;
}
}
.cs1_hidden-error {
 
.cs1-hidden-error {
display:none;
display:none;
font-size:100%;  
font-size:100%;  
}
}
.cs1_visible-error {
 
.cs1-visible-error {
font-size:100%;
font-size:100%;
}
}
/* set small text size in one place
 
.95 * .9 (from references list) is ~0.85
/* set small text size in one place .95 * .9 (from references list) is ~0.85 which is the lower bound for size for accessibility
which is the lower bound for size for accessibility
old styling for this was just .85We could write the rule so that when this template is inside references only then does it
old styling for this was just .85
multiply by 0.95; else multiply by 0.85 */
We could write the rule so that when this template is inside references
 
only then does it multiply by 0.95;
.cs1-subscription,
else multiply by 0.85 */
.cs1-registration,
.cs1_subscription,
.cs1-format {
.cs1_registration,
.cs1_format {
font-size:95%;  
font-size:95%;  
}
}
.cs1_kern-left,
 
.cs1_kern-wl-left {
.cs1-kern-left,
.cs1-kern-wl-left {
padding-left:0.2em
padding-left:0.2em
}
}
.cs1_kern-right,
 
.cs1_kern-wl-right {
.cs1-kern-right,
.cs1-kern-wl-right {
padding-right:0.2em
padding-right:0.2em
}
}
 
.Z3988 span {
.Z3988 span {
display: none;
display: none;
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.