reprogl
1package style2
3func GenerateInfoStyles() string {4style := "<style>\n"5style += commonStyle() + "\n"6style += infoBackground() + "\n"7style += " </style>"8
9return cdnReplace(style)10}
11
12func infoBackground() string {13return ` .big-header-container .main-header{background-size:cover;background-position:50% 50%;background-repeat:no-repeat;background-color:#23222d;background-image:url(%cdn%/images/tractor.jpg)}14@supports (background-image:url(%cdn%/images/tractor.webp)){.big-header-container .main-header{background-image:url(%cdn%/images/tractor.webp)}}
15@media only screen and (max-width:752px){.big-header-container .main-header{background-image:url(%cdn%/images/tractor-752.jpg)}
16@supports (background-image:url(%cdn%/images/tractor-752.webp)){.big-header-container .main-header{background-image:url(%cdn%/images/tractor-752.webp)}}}`
17}
18