mirror of
https://github.com/Jetsparrow/jetherald.git
synced 2026-01-20 23:56:08 +03:00
footer fix, css refactor
This commit is contained in:
parent
eeca884982
commit
6b6883bb20
@ -3,7 +3,6 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
||||||
<title>JetHerald</title>
|
<title>JetHerald</title>
|
||||||
<link rel="stylesheet" href="~/css/global.css" />
|
<link rel="stylesheet" href="~/css/global.css" />
|
||||||
@RenderSection("Stylesheets", required: false)
|
@RenderSection("Stylesheets", required: false)
|
||||||
@ -39,11 +38,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="page-main">
|
<div class="page-mid">
|
||||||
|
<main>
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
@RenderSection("footer", required: false)
|
||||||
Rendered in @(Context.Features.Get<RequestTimeFeature>().Stopwatch.Elapsed.TotalMilliseconds) ms
|
Rendered in @(Context.Features.Get<RequestTimeFeature>().Stopwatch.Elapsed.TotalMilliseconds) ms
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,10 @@
|
|||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
@ -7,6 +13,32 @@ body {
|
|||||||
background-color: #fafaff;
|
background-color: #fafaff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
header {
|
||||||
|
background-color: #059;
|
||||||
|
padding: 10px 0px 10px 0px;
|
||||||
|
font-size: 18px;
|
||||||
|
width: 100%;
|
||||||
|
font-family: tahoma, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-mid {
|
||||||
|
flex: 1 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 20px;
|
||||||
|
max-width: 768px;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
@ -19,13 +51,6 @@ h6 {
|
|||||||
font-family: tahoma, sans-serif;
|
font-family: tahoma, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
|
||||||
background-color: #059;
|
|
||||||
padding: 10px 0px 10px 0px;
|
|
||||||
font-size: 18px;
|
|
||||||
width: 100%;
|
|
||||||
font-family: tahoma, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -56,11 +81,6 @@ span.assigneetext {
|
|||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.page-main {
|
|
||||||
max-width: 750px;
|
|
||||||
margin: auto;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topics-list {
|
.topics-list {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user