Mediawiki:common.css
| Строка 2433: | Строка 2433: | ||
} /* <--- ВОТ ОНА, ЗАКРЫВАЮЩАЯ СКОБКА МОБИЛЬНОЙ ВЕРСТКИ */ | } /* <--- ВОТ ОНА, ЗАКРЫВАЮЩАЯ СКОБКА МОБИЛЬНОЙ ВЕРСТКИ */ | ||
/* | /* Делаем кнопку Развернуть на всю ширину как панель */ | ||
.recipe-card .mw-collapsible-toggle { | .recipe-card .mw-collapsible-toggle { | ||
display: block !important; | |||
width: 100% !important; | |||
background: #2a3446 !important; | |||
padding: 8px 10px !important; | |||
box-sizing: border-box !important; | |||
float: none !important; | float: none !important; | ||
text-align: left !important; | |||
} | |||
/* Возвращаем слово "Рецепт" и ставим его слева */ | |||
.recipe-card .mw-collapsible-toggle::before { | |||
content: "Рецепт" !important; | |||
color: #8ab4f8 !important; | |||
font-weight: bold !important; | |||
font-size: 13px !important; | |||
margin-right: 10px !important; | |||
display: inline-block !important; | display: inline-block !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
/* Оформляем кнопку "Развернуть" как аккуратный ярлычок */ | |||
.recipe-card .mw-collapsible-toggle a { | .recipe-card .mw-collapsible-toggle a { | ||
background: rgba(255,255,255,0.15) !important; | background: rgba(255,255,255,0.15) !important; | ||
| Строка 2454: | Строка 2468: | ||
font-weight: normal !important; | font-weight: normal !important; | ||
display: inline-block !important; | display: inline-block !important; | ||
vertical-align: middle !important; | |||
float: none !important; | |||
} | } | ||