"سانچہ:Wikipedia's sister projects/styles.css" کے نسخوں کے درمیان فرق
Appearance
put that in the 360 pile |
add a bgc for wiktionary |
||
سطر 21: | سطر 21: | ||
#sister-projects-list li > div:first-child { | #sister-projects-list li > div:first-child { | ||
text-align: center; | text-align: center; | ||
} | |||
/* dark mode makes this icon invisible */ | |||
.sister-projects-wikt-icon { | |||
background-color: white; | |||
} | } | ||
نسخہ بمطابق 05:53، 22 مئی 2024ء
/* {{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 {
text-align: center;
}
/* dark mode makes this icon invisible */
.sister-projects-wikt-icon {
background-color: white;
}
@media (min-width: 360px) {
#sister-projects-list li {
width: 33%;
min-width: 20em;
white-space: nowrap;
flex: 1 0 25%;
}
#sister-projects-list li > div:first-child {
min-width: 50px;
}
}