After the conversation in T138622, I’ve decided that there is a need to have some permanent styling applied before mobile main page can be loaded in Russian Wikipedia. We are getting rid of main page special casing, but given the nature of a new main page we have to have some on-render styles that TemplateStyles currently can’t provide.
Basically, I need to put the code for changing the page background (see below) somewhere before T195813 can be resolved, and I don’t think that T195813 would be resolved without coming up with some better solution that Russian Wikipedia can also use in near future. I am planning the deployment of new main page on 1 June, so I would like to have the feedback on this from mobile developers before the next deployment train.
I am already subscribed to the task about the deprecation and would be more than ready and capable to assist when the other solution to this problem would come in the future.
@media (max-width: 719px) {
.skin-minerva .header-container.header-chrome { box-shadow:none; }
.skin-minerva #content { background-color:#eaecf0; }
}