From Meta, a Wikimedia project coordination wiki
.philosophy {
float: right;
margin: 2px 0 2px .5em;
font-size: 90%;
line-height: normal;
}
.philosophy-title {
margin-bottom: 5px;
background-color: #ddf;
padding: .3em 0;
text-align: center;
font-weight: bold;
}
.philosophy-footer {
margin-top: 5px;
background-color: #eee;
font-size: smaller;
}
.philosophy[dir="ltr"] .philosophy-footer {
/* @noflip */
text-align: right;
}
.philosophy[dir="rtl"] .philosophy-footer {
/* @noflip */
text-align: left;
}