banner settings

main
Paul Schneider 7 years ago
parent c1e90a554e
commit 7c6ecf1975
18 changed files with 54 additions and 16 deletions

@ -7,7 +7,7 @@ namespace Yavsc
public string Title { get; set; } public string Title { get; set; }
public string Slogan { get; set; } public string Slogan { get; set; }
public string Banner { get; set; } public string StyleSheet { get; set; }
public string FavIcon { get; set; } public string FavIcon { get; set; }
public string Icon { get; set; } public string Icon { get; set; }
/// <summary> /// <summary>

@ -45,6 +45,6 @@
} }
<div class="container"> <div class="container">
@await Component.InvokeAsync("BlogIndex",User.GetUserId()??"_anonymous_",0,25); @await Component.InvokeAsync("BlogIndex",User.GetUserId()??"_anonymous_",0,25)
</div> </div>

@ -42,19 +42,15 @@
</environment> </environment>
<style> <link rel="stylesheet" href="@Startup.SiteSetup.StyleSheet" asp-append-version="true"/>
nav { background: url(@Startup.SiteSetup.Banner);
background-size: contain; <script>
background-repeat: no-repeat; $(document).ready(function() {
} if (typeof allowCircleToBlog !== "undefined") {
</style> $('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
<script> }
$(document).ready(function() { });
if (typeof allowCircleToBlog !== "undefined") { </script>
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
}
});
</script>
@RenderSection("header", required: false) @RenderSection("header", required: false)
</head> </head>

@ -13,7 +13,7 @@
"Site": { "Site": {
"Title": "Yavsc", "Title": "Yavsc",
"Slogan": "Yavsc!", "Slogan": "Yavsc!",
"Banner": "/images/banner.jpg", "StyleSheet": "/css/default.css",
"Authority": "http://127.0.0.1:5000/", "Authority": "http://127.0.0.1:5000/",
"Owner": { "Owner": {
"Name": "[Site owner's name]", "Name": "[Site owner's name]",

@ -0,0 +1,6 @@
nav { background: url(/images/haircut/coiffure.svg);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/haircut/coiffure.svg) no-repeat local;background-size:contain}

@ -0,0 +1,5 @@
nav { background: url(/images/yavsc.png);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/yavsc.png) no-repeat local;background-size:contain}

@ -0,0 +1,5 @@
nav { background: url(/images/it/neworleans-louisiana-bywater-1973969-o.jpg);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/it/neworleans-louisiana-bywater-1973969-o.jpg) no-repeat local;background-size:contain}

@ -0,0 +1,4 @@
nav { background: url(/images/arts/concert.jpg);
background-size: cover;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/arts/concert.jpg) no-repeat;background-size:cover}

@ -0,0 +1,5 @@
nav { background: url(/images/logo-lua.png);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/logo-lua.png) no-repeat local;background-size:contain}

@ -0,0 +1,5 @@
nav { background: url(/images/logo-lua.png);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/logo-lua.png) no-repeat local;background-size:contain}

@ -0,0 +1,5 @@
nav { background: url(/images/logo-lua.png);
background-attachment: local;
background-size: contain;
background-repeat: no-repeat;
}

@ -0,0 +1 @@
nav{background:url(/images/logo-lua.png) no-repeat local;background-size:contain}
Loading…