MediaWiki:Common.css: Difference between revisions

From Japanese Craftpedia portal
No edit summary
No edit summary
Line 22: Line 22:
   display: flex;
   display: flex;
   flex-direction: columns;
   flex-direction: columns;
   width: 350px;
   width: 450px;
   border: 2px solid red;
   border: 2px solid red;
   flex-wrap: wrap;
   flex-wrap: wrap;

Revision as of 04:10, 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: columns;
   width: 450px;
   border: 2px solid red;
   flex-wrap: wrap;
}

.translate-languages li {
  font-size: 1.05rem;
  font-family: Verdana;
  margin-right: 30px;
}