Template:Commonscat/styles.css
Appearance
/* {{PP-template}} */
.commonscat {
font-size: 90%;
margin: 2px .5em;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 4px;
width: 250px;
}
.commonscat::after {
content: "";
display: block;
clear: both;
}
.commonscat-context-ltr {
/* @noflip */
float: right;
/* @noflip */
clear: right;
/* @noflip */
margin-right: 0;
}
.commonscat-context-rtl {
/* @noflip */
float: left;
/* @noflip */
clear: left;
/* @noflip */
margin-left: 0;
}
.commonscat[dir="ltr"] {
/* @noflip */
text-align: left;
}
.commonscat[dir="rtl"] {
/* @noflip */
text-align: right;
}
.commonscat[dir="ltr"] .commonscat-icon {
/* @noflip */
float: left;
}
.commonscat[dir="rtl"] .commonscat-icon {
/* @noflip */
float: right;
}
.commonscat[dir="ltr"] .commonscat-text {
/* @noflip */
margin-left: 60px;
}
.commonscat[dir="rtl"] .commonscat-text {
/* @noflip */
margin-right: 60px;
}