Mediawiki:common.css
| Строка 2459: | Строка 2459: | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
/* 1. Убираем квадратные скобки [ ] вокруг кнопки */ | |||
.recipe-card .mw-collapsible-toggle::before, | |||
.recipe-card .mw-collapsible-toggle::after { | |||
content: "" !important; | |||
display: none !important; | |||
} | |||
/* 2. Отменяем принудительный сдвиг вправо и делаем кнопку строчной */ | |||
.recipe-card .mw-collapsible-toggle { | |||
float: none !important; | |||
display: inline-block !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
width: auto !important; | |||
} | |||
/* 3. Стилизуем саму ссылку (кнопку), на случай если float висит на ней */ | |||
.recipe-card .mw-collapsible-toggle a { | .recipe-card .mw-collapsible-toggle a { | ||
background: rgba(255,255,255,0. | background: rgba(255,255,255,0.15) !important; | ||
padding: 3px 8px !important; | padding: 3px 8px !important; | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
| Строка 2468: | Строка 2485: | ||
outline: none !important; | outline: none !important; | ||
font-weight: normal !important; | font-weight: normal !important; | ||
float: none !important; | |||
display: inline-block !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||