banner settings

vnext
Paul Schneider 5 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 Slogan { get; set; }
public string Banner { get; set; }
public string StyleSheet { get; set; }
public string FavIcon { get; set; }
public string Icon { get; set; }
/// <summary>

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

@ -42,12 +42,8 @@
</environment>
<style>
nav { background: url(@Startup.SiteSetup.Banner);
background-size: contain;
background-repeat: no-repeat;
}
</style>
<link rel="stylesheet" href="@Startup.SiteSetup.StyleSheet" asp-append-version="true"/>
<script>
$(document).ready(function() {
if (typeof allowCircleToBlog !== "undefined") {

@ -13,7 +13,7 @@
"Site": {
"Title": "Yavsc",
"Slogan": "Yavsc!",
"Banner": "/images/banner.jpg",
"StyleSheet": "/css/default.css",
"Authority": "http://127.0.0.1:5000/",
"Owner": {
"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…