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

@@ -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; }