"سانچہ:Wikipedia's sister projects/styles.css" کے نسخوں کے درمیان فرق
Appearance
move this inside the 360px+ |
and this |
||
سطر 7: | سطر 7: | ||
#sister-projects-list li { | #sister-projects-list li { | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
سطر 30: | سطر 29: | ||
min-width: 20em; | min-width: 20em; | ||
white-space: nowrap; | white-space: nowrap; | ||
flex: 1 0 25%; | |||
} | } | ||
} | } |
نسخہ بمطابق 07:41، 19 فروری 2021ء
/* {{pp-template}} */
#sister-projects-list {
display: flex;
flex-wrap: wrap;
}
#sister-projects-list li {
display: inline-block;
}
#sister-projects-list li span {
font-weight: bold;
}
#sister-projects-list li > div {
display: inline-block;
vertical-align: middle;
padding: 6px 4px;
}
#sister-projects-list li > div:first-child {
min-width: 50px;
text-align: center;
}
@media (min-width: 360px) {
#sister-projects-list li {
width: 33%;
min-width: 20em;
white-space: nowrap;
flex: 1 0 25%;
}
}