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>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>JetHerald</title>
|
||||
<link rel="stylesheet" href="~/css/global.css" />
|
||||
@RenderSection("Stylesheets", required: false)
|
||||
@ -39,11 +38,14 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="page-main">
|
||||
<div class="page-mid">
|
||||
<main>
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
@RenderSection("footer", required: false)
|
||||
Rendered in @(Context.Features.Get<RequestTimeFeature>().Stopwatch.Elapsed.TotalMilliseconds) ms
|
||||
</footer>
|
||||
|
||||
|
||||
@ -1,4 +1,10 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
line-height: 1.6;
|
||||
font-size: 16px;
|
||||
font-family: sans-serif;
|
||||
@ -7,6 +13,32 @@ body {
|
||||
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,
|
||||
h2,
|
||||
h3,
|
||||
@ -19,13 +51,6 @@ h6 {
|
||||
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 {
|
||||
display: inline-block;
|
||||
@ -56,11 +81,6 @@ span.assigneetext {
|
||||
color: black;
|
||||
}
|
||||
|
||||
div.page-main {
|
||||
max-width: 750px;
|
||||
margin: auto;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.topics-list {
|
||||
padding-left: 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user