MediaWiki:Common.css: Difference between revisions
From Japanese Craftpedia portal
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
list-style-type: none; | list-style-type: none; | ||
display: flex; | display: flex; | ||
flex-direction: | flex-direction: column; | ||
width: 450px; | width: 450px; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
| Line 31: | Line 31: | ||
margin-right: 30px; | margin-right: 30px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
white-space: nowrap; | |||
} | } | ||
Revision as of 04:12, 28 February 2026
/* CSS placed here will be applied to all skins */
.language-list ul {
display: inline; /* prevent block list */
margin: 0;
padding: 0;
}
.language-list li {
display: inline; /* put items in a row */
margin-right: 0.6em; /* spacing between */
}
.language-list li::after {
content: "• "; /* separator like ULS */
}
.language-list li:last-child::after {
content: ""; /* no dot after last */
}
.translate-languages {
list-style-type: none;
display: flex;
flex-direction: column;
width: 450px;
flex-wrap: wrap;
}
.translate-languages li {
font-size: 1.05rem;
font-family: Verdana;
margin-right: 30px;
margin-bottom: 10px;
white-space: nowrap;
}