更新样式:微调后台管理网站的默认前台首页样式

This commit is contained in:
Argo-MacBookPro 2018-09-29 12:08:52 +08:00
parent 46684f3b82
commit b58b3f472c
3 changed files with 14 additions and 23 deletions

View File

@ -2,5 +2,17 @@
ViewBag.Title = "首页";
Layout = "_Bootstrap";
}
@section css {
<style type="text/css">
.content-body {
position: fixed;
left: 0;
bottom: 40px;
right: 0;
top: 98px;
overflow: hidden;
}
</style>
}
<div class="content-body welcome-bg">
</div>

View File

@ -12,10 +12,10 @@
<link href="~/css/font-awesome.min.css" rel="stylesheet" asp-append-version="true" />
</environment>
@RenderSection("css", false)
<link href="~/css/theme.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/theme-responsive.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/site.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/site-responsive.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/theme.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/theme-responsive.css" rel="stylesheet" asp-append-version="true" />
@if (!string.IsNullOrEmpty(Model.Theme))
{
<link href="~/css/@Model.Theme" rel="stylesheet" asp-append-version="true" />

View File

@ -340,7 +340,6 @@ a, a:hover, a:focus {
.go-top i {
color: #2A3542;
}
/*notify bar*/
.breadcrumb {
border: solid 1px #ddd;
@ -355,31 +354,11 @@ a, a:hover, a:focus {
padding-right: 6px;
}
.content-body {
position: fixed;
left: 0;
bottom: 40px;
right: 0;
top: 98px;
overflow: hidden;
}
.content-body iframe {
width: 100%;
height: 100%;
border: none;
}
.welcome-bg {
background-image: url('../images/bg.jpg');
background-size: 100% 100%;
}
/*bs v4.1.3*/
label.dropdown-item:first-child {
margin-top: 0.5rem;
}
.cache-title {
font-weight: bold;
color: #0077de;