Add some basic layout
This commit is contained in:
parent
49609a06c1
commit
e0a203e751
4 changed files with 58 additions and 53 deletions
|
@ -1,3 +1,6 @@
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Home Page";
|
ViewData["Title"] = "Home Page";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<p>Hi, I'm Rob. I'm a software developer. I primarily work with C# in my professional life, but my home projects are often PHP and Python based.</p>
|
||||||
|
<p>If you wish to get in contact, then get in touch via my <a href="http://uk.linkedin.com/in/robertmarshall/"><img alt="LinkedIn profile" src="https://static.licdn.com/scds/common/u/img/webpromo/btn_liprofile_blue_80x15.png" title=""></a></p>
|
|
@ -6,13 +6,22 @@
|
||||||
<title>@ViewData["Title"] - Website</title>
|
<title>@ViewData["Title"] - Website</title>
|
||||||
|
|
||||||
<environment include="Development">
|
<environment include="Development">
|
||||||
|
<link rel="stylesheet" href="~/css/site.css" />
|
||||||
</environment>
|
</environment>
|
||||||
<environment exclude="Development">
|
<environment exclude="Development">
|
||||||
|
<link rel="stylesheet" href="~/css/site.min.css" />
|
||||||
</environment>
|
</environment>
|
||||||
<link rel="stylesheet" href="~/css/site.css" />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<a id="logo" href="/"><img src="~/images/logo.png" alt="logo" /> Robware</a>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="//git.robware.uk">Projects</a></li>
|
||||||
|
<li><a href="/blog">Blog</a></li>
|
||||||
|
<li><a href="/gallery">Gallery</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
|
|
|
@ -1,56 +1,49 @@
|
||||||
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
html {
|
||||||
for details on configuring this project to bundle and minify static web assets. */
|
font-family: sans-serif;
|
||||||
|
|
||||||
a.navbar-brand {
|
|
||||||
white-space: normal;
|
|
||||||
text-align: center;
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sticky footer styles
|
header {
|
||||||
-------------------------------------------------- */
|
display: flex;
|
||||||
html {
|
align-items: flex-end;
|
||||||
font-size: 14px;
|
justify-content: space-between;
|
||||||
}
|
flex-wrap: wrap;
|
||||||
@media (min-width: 768px) {
|
background: red;
|
||||||
html {
|
padding: 10px;
|
||||||
font-size: 16px;
|
|
||||||
|
#logo {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 24px;
|
||||||
|
height: 50px;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: inherit;
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 100%;
|
||||||
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-top {
|
nav {
|
||||||
border-top: 1px solid #e5e5e5;
|
margin-top: 10px;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.border-bottom {
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-shadow {
|
main {
|
||||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
background: green;
|
||||||
}
|
margin: auto;
|
||||||
|
max-width: 800px;
|
||||||
button.accept-policy {
|
padding: 20px;
|
||||||
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 */
|
|
||||||
}
|
}
|
BIN
Website/wwwroot/images/logo.png
Normal file
BIN
Website/wwwroot/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
Loading…
Add table
Add a link
Reference in a new issue