User:Ursuul/sandbox.css

/* Restore edit text */ .page-content h2, .page-content h3 { justify-content: space-between; align-items: stretch; }

.page-content .mw-editsection { --section-edit-text: "edit"; display: inline-flex; align-items: stretch; margin-left: 0; }

.page-content .mw-editsection > span { display: none; }

.page-content .mw-editsection > a { display: inline-flex; align-items: center; }

.page-content .mw-editsection > a:before { content: var(--section-edit-text); margin-right: 5px; }

.page-content .mw-editsection > a .wds-icon-small { width: 12px; height: 12px; }

/** Language support **/ [lang="de"] .page-content .mw-editsection { --section-edit-text: "bearbeiten"; }

[lang="fr"] .page-content .mw-editsection { --section-edit-text: "modifier"; }

[lang="es"] .page-content .mw-editsection { --section-edit-text: "editar"; }

[lang="id"] .page-content .mw-editsection { --section-edit-text: "sunting"; }

[lang="pl"] .page-content .mw-editsection { --section-edit-text: "edytuj"; }

[lang="ru"] .page-content .mw-editsection { --section-edit-text: "править"; }