"سانچہ:Wikipedia's sister projects/styles.css" کے نسخوں کے درمیان فرق
Appearance
more semantic elements, remove some unnecessary css |
whitespace nowrap above 360px |
||
سطر 8: | سطر 8: | ||
width: 33%; | width: 33%; | ||
min-width: 20em; | min-width: 20em; | ||
display: inline-block; | display: inline-block; | ||
flex: 1 0 25%; | flex: 1 0 25%; | ||
سطر 26: | سطر 25: | ||
min-width: 50px; | min-width: 50px; | ||
text-align: center; | text-align: center; | ||
} | |||
@media (min-width: 360px) { | |||
#sister-projects-list li { | |||
white-space: nowrap; | |||
} | |||
} | } |
نسخہ بمطابق 07:33، 19 فروری 2021ء
/* {{pp-template}} */
#sister-projects-list {
display: flex;
flex-wrap: wrap;
}
#sister-projects-list li {
width: 33%;
min-width: 20em;
display: inline-block;
flex: 1 0 25%;
}
#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 {
white-space: nowrap;
}
}