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

Jump to navigation Jump to search
Content deleted Content added
shorten name
templatestyles class names;
Line 25:
*/
 
code.cs1_codecs1-code { /* preserve font but remove other <code> styling; used in error messages */
color:inherit;
background: inherit;
Line 35:
/*----------------------------< A C C E S S I C O N S T Y L E >------------------------------------------*/
 
.cs1_lock_freecs1-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_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-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-position: right .1em center;
}
 
/*----------------------------< 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;
}
 
.cs1_subscription span,
.cs1_registrationcs1-subscription span {,
.cs1-registration span {
border-bottom:1px dotted;
cursor:help;
}
 
.cs1_hiddencs1-hidden-error {
display:none;
font-size:100%;
}
 
.cs1_visiblecs1-visible-error {
font-size:100%;
}
 
/* set small text size in one place
/* set small text size in one place .95 * .9 (from references list) is ~0.85 which is the lower bound for size for accessibility
old styling for this was just .85. We could write the rule so that when this template is inside references only then does it
which is the lower bound for size for accessibility
multiply by 0.95; else multiply by 0.85 */
old styling for this was just .85
 
We could write the rule so that when this template is inside references
.cs1-subscription,
only then does it multiply by 0.95;
.cs1-registration,
else multiply by 0.85 */
.cs1-format {
.cs1_subscription,
.cs1_registration,
.cs1_format {
font-size:95%;
}
 
.cs1_kern-left,
.cs1_kerncs1-wlkern-left {,
.cs1-kern-wl-left {
padding-left:0.2em
}
 
.cs1_kern-right,
.cs1_kerncs1-wlkern-right {,
.cs1-kern-wl-right {
padding-right:0.2em
}
 
.Z3988 span {
display: none;
}