پودمان:InfoboxPerson/styles.css: تفاوت میان نسخهها
ظاهر
صفحهای تازه حاوی «←Module:InfoboxPerson/styles.css: ←Main box: .person-infobox { width: 22em; max-width: 100%; float: right; clear: right; margin: 0 0 1em 1em; font-size: 90%; } ←Title: .person-infobox-title { background: #2c5f9e; color: #ffffff; text-align: center; font-size: 120%; font-weight: bold; padding: 0.6em; } ←Section headers: .person-infobox-header { background: #2c5f9e; color: #ffffff; text-align: cente...» ایجاد کرد |
جزبدون خلاصۀ ویرایش |
||
| خط ۶: | خط ۶: | ||
width: 22em; | width: 22em; | ||
max-width: 100%; | max-width: 100%; | ||
float: | float: left; | ||
clear: | clear: left; | ||
margin: | margin: 0 1em 1em 0; | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
/* Title */ | /* Title */ | ||
نسخهٔ کنونی تا ۱۳ ژوئیهٔ ۲۰۲۶، ساعت ۱۱:۲۱
/* Module:InfoboxPerson/styles.css */
/* Main box */
.person-infobox {
width: 22em;
max-width: 100%;
float: left;
clear: left;
margin: 0 1em 1em 0;
font-size: 90%;
}
/* Title */
.person-infobox-title {
background: #2c5f9e;
color: #ffffff;
text-align: center;
font-size: 120%;
font-weight: bold;
padding: 0.6em;
}
/* Section headers */
.person-infobox-header {
background: #2c5f9e;
color: #ffffff;
text-align: center;
font-weight: bold;
padding: 0.4em;
}
/* Image */
.person-infobox-image {
text-align: center;
padding: 0.5em;
}
.person-infobox-caption {
text-align: center;
font-size: 90%;
padding: 0.3em;
}
/* Labels */
.person-infobox-label {
width: 35%;
text-align: right;
vertical-align: top;
white-space: nowrap;
}
/* Values */
.person-infobox-value {
width: 65%;
text-align: right;
vertical-align: top;
}
/* Mobile */
@media (max-width: 640px) {
.person-infobox {
float: none;
margin: 1em auto;
width: 100%;
}
}