🌿🌛 Checkpoint

./public/style.css:1062301/670
./src/pages/index.hbs:1062301/542
This commit is contained in:
Glitch (glitch-hello-node)
2021-04-12 21:50:35 +00:00
parent 6dca72e437
commit a2c852ae2f
2 changed files with 19 additions and 23 deletions
+16 -21
View File
@@ -104,6 +104,22 @@ body {
background-color: var(--color-bg);
}
/* Page structure */
.wrapper {
min-height: var(--wrapper-height);
display: grid;
place-items: center;
margin-left: 2rem;
margin-top: 0;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Title h1 style */
.title {
color: var(--color-text-main);
font-family: HK Grotesk;
@@ -114,27 +130,6 @@ body {
margin-bottom: 1.5rem;
}
.wrapper {
min-height: var(--wrapper-height);
display: grid;
place-items: center;
margin-left: 2rem;
margin-top: 0;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Navigation grid */
.navigation {
display: flex;
justify-content: flex-end;
}
/* Very light scaling for our illustration */
.illustration {
max-width: 100%;
+3 -2
View File
@@ -24,8 +24,8 @@
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css" />
<!-- if we've set a custom color (search or random) we change title text color with this style block -->
{{#if color}}
<!-- this is a handlebars IF statement, checking for a custom "color" variable set in server.js -->
{{#if color}}
<style>
.title {
color: {{color}};
@@ -68,6 +68,7 @@
/>
</div>
</div>
<!-- the footer holds our remix button — you can use it for structure or cut it out ✂ -->
<footer class="footer">
<div class="links"></div>
<a