Landing page nearly working

This commit is contained in:
2020-07-14 12:20:55 +01:00
parent ce603dcddd
commit 39eed1002e
4 changed files with 31 additions and 19 deletions

View File

@@ -2,10 +2,9 @@
<html lang="en-GB">
{{ partial "head.html" . }}
<body>
<header class="site-header">
<div class="wrapper" style="text-align: center;">
<div class="container">
<header>
<h1 style="padding-top: 0.5em;">Arona Jones</h1>
</div>
</header>
<main aria-label="Content" style="height: 100%">
<div style="display: flex; justify-content: center; background: black; margin-left: -3vw; margin-right: -3vw;">
@@ -16,6 +15,7 @@
</div>
</main>
{{ partial "footer.html" . }}
</div>
</body>
</html>

View File

@@ -1,2 +1,4 @@
<footer style="height: 100px; background: black;">
<footer>
<p style="color: white;">&#169; Copyright lolololol
<br/>All rights reversed</p>
</footer>

View File

@@ -1,5 +1,18 @@
.site-header {
body {
width: 100%;
height: 100%;
font-family: helvetica, arial;
}
header, footer {
background: #202226;
padding: 1rem;
text-align: center;
}
.container {
min-height: 100%;
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 100%;
}
/* TODO Proper theme overrides */
h1, .site-title {
@@ -12,8 +25,8 @@ h1, .site-title {
transform: skew(-10deg);
color: white;
padding: 2em;
height: 75vh;
width: 100%;
height: 77vh;
text-align: center;
background-size: cover;
background-repeat: no-repeat;

View File

@@ -1,9 +1,6 @@
/** Reset some basic elements */
body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
/** Basic styling */
body { font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #111; background-color: #fdfdfd; -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: normal; display: flex; min-height: 100vh; flex-direction: column; }
/** Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight { margin-bottom: 15px; }