banner settings

This commit is contained in:
2019-05-08 04:42:14 +01:00
parent c1e90a554e
commit 7c6ecf1975
18 changed files with 54 additions and 16 deletions

View File

@ -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>

View File

@ -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>

View File

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

View File

@ -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]",

View File

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

View File

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

View File

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

1
src/Yavsc/wwwroot/css/default.min.css vendored Normal file
View File

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

View File

@ -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;
}

1
src/Yavsc/wwwroot/css/dev.min.css vendored Normal file
View File

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

View File

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

View File

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

View File

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

1
src/Yavsc/wwwroot/css/lua.min.css vendored Normal file
View File

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

View File

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

1
src/Yavsc/wwwroot/css/yavsc.min.css vendored Normal file
View File

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

View File

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

View File

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