Add some basic layout

This commit is contained in:
Robert Marshall 2019-04-21 14:49:37 +01:00
parent 49609a06c1
commit e0a203e751
4 changed files with 58 additions and 53 deletions

View file

@ -1,56 +1,49 @@
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
white-space: normal;
text-align: center;
word-break: break-all;
html {
font-family: sans-serif;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
font-size: 14px;
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
header {
display: flex;
align-items: flex-end;
justify-content: space-between;
flex-wrap: wrap;
background: red;
padding: 10px;
#logo {
display: flex;
align-items: center;
font-size: 24px;
height: 50px;
color: inherit;
text-decoration: inherit;
img {
height: 100%;
margin-right: 10px;
}
}
nav {
margin-top: 10px;
margin-left: auto;
ul {
list-style: none;
padding: 0;
margin: 0;
li {
display: inline-block;
margin-left: 10px;
}
}
}
}
.border-top {
border-top: 1px solid #e5e5e5;
}
.border-bottom {
border-bottom: 1px solid #e5e5e5;
}
.box-shadow {
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
button.accept-policy {
font-size: 1rem;
line-height: inherit;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
}
main {
background: green;
margin: auto;
max-width: 800px;
padding: 20px;
}