6
"xelbot.com/reprogl/container"
9
func cdnReplace(str string) string {
10
return strings.Replace(str, "%cdn%", container.GetConfig().CDNBaseURL, -1)
13
func defaultStyleWithoutImage() string {
14
return ` .post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis.jpg)}
15
@media only screen and (max-width:624px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_624w.jpg)}}
16
@media only screen and (max-width:448px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_448w.jpg)}}
17
@media only screen and (max-width:320px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_320w.jpg)}}
18
@supports (background-image:url(%cdn%/images/mantis/mantis.webp)){
19
.post-view .post-view-sidebar{background-image: url(%cdn%/images/mantis/mantis.webp)}
20
@media only screen and (max-width:624px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_624w.webp)}}
21
@media only screen and (max-width:448px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_448w.webp)}}
22
@media only screen and (max-width:320px){.post-view .post-view-sidebar{background-image:url(%cdn%/images/mantis/mantis_320w.webp)}}}`
25
func glyphiconsFont() string {
26
return ` @font-face{font-family:"Glyphicons Halflings";
27
src:url(%cdn%/assets/fonts/glyphicons-halflings-regular.eot);src:url(%cdn%/assets/fonts/glyphicons-halflings-regular.eot?#iefix) format("embedded-opentype"),
28
url(%cdn%/assets/fonts/glyphicons-halflings-regular.woff2) format("woff2"),url(%cdn%/assets/fonts/glyphicons-halflings-regular.woff) format("woff"),
29
url(%cdn%/assets/fonts/glyphicons-halflings-regular.ttf) format("truetype"),url(%cdn%/assets/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg");
33
func commonStyle() string {
34
st := glyphiconsFont()