MediaWiki:Rail.css

/* Рейл-блоки */ .WikiaRail .module { background-color: #373737; background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/8/8b/Pattern1.png/revision/latest?cb=20180119024340&path-prefix=ru); background-repeat: no-repeat; background-position: right bottom; border: none !important; } @media only screen and (max-width:1023px) { .WikiaRail .rail-module { background-color: #373737; background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/8/8b/Pattern1.png/revision/latest?cb=20180119024340&path-prefix=ru); background-repeat: no-repeat; background-position: right bottom; border: none !important; padding: 15px; margin-left: 8px !important; width: 300px !important; }   .WikiaRail .module h2 { background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/7/76/Xx.png/revision/latest?cb=20180118234115&path-prefix=ru); background-repeat: no-repeat; background-size: contain; background-position: right; border: 0; margin-top: -20px; margin-left: -15px; padding-left: 2px; border-bottom: none; background-color: #4a4a4a; padding: 10px; width: 310px !important; min-height: 0; font-family: Didact Gothic !important; color: white !important; }   .WikiaRail .rail-module h2 { background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/7/76/Xx.png/revision/latest?cb=20180118234115&path-prefix=ru); background-repeat: no-repeat; background-size: contain; background-position: right; border: 0; margin-top: -15px; margin-left: -15px; padding-left: 2px; border-bottom: none; background-color: #4a4a4a; padding: 10px; width: 310px !important; min-height: 0; font-family: Didact Gothic !important; color: white !important; } } @media only screen and (min-width:1024px) { .WikiaRail .rail-module { background-color: #373737; background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/8/8b/Pattern1.png/revision/latest?cb=20180119024340&path-prefix=ru); background-repeat: no-repeat; background-position: right bottom; border: none !important; padding: 15px; margin-left: -1px !important; width: 270px !important; }   .WikiaRail .module h2 { background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/7/76/Xx.png/revision/latest?cb=20180118234115&path-prefix=ru); background-repeat: no-repeat; background-size: contain; background-position: right; border: 0; margin-top: -20px; margin-left: -15px; padding-left: 2px; border-bottom: none; background-color: #4a4a4a; padding: 10px; width: 280px !important; min-height: 0; font-family: Didact Gothic !important; color: white !important; }   .WikiaRail .rail-module h2 { background-image: url(https://vignette.wikia.nocookie.net/darling-in-the-franxx/images/7/76/Xx.png/revision/latest?cb=20180118234115&path-prefix=ru); background-repeat: no-repeat; background-size: contain; background-position: right; border: 0; margin-top: -15px; margin-left: -15px; padding-left: 2px; border-bottom: none; background-color: #4a4a4a; padding: 10px; width: 280px !important; min-height: 0; font-family: Didact Gothic !important; color: white !important; } } .WikiaRail .rail-module h2.has-icon svg { fill: #d5d4d4; color: #d5d4d4; }