📷💕 Checkpoint
./public/style.css:1062301/802 ./src/pages/index.hbs:1062301/87
This commit is contained in:
1 parent
064be38b0e
commit
d3b58f8a8c
2 files changed
+14
-6
No files matched your search
+7
-4
@@ -80,7 +80,7 @@ a:not(.btn--remix):visited {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
color: #000;
|
color: #000000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
@@ -138,12 +138,15 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles for our custom color form and its results */
|
/* Styles for our custom color form and its results */
|
||||||
.color-info {
|
.color-form {
|
||||||
color: #ffffff;
|
color: #000;
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: var(--image-max-width);
|
max-width: var(--image-max-width);
|
||||||
}
|
}
|
||||||
|
.color-form a:not(.btn--remix) {
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--color-text-main);
|
||||||
|
}
|
||||||
form {
|
form {
|
||||||
margin: 0.75rem 0;
|
margin: 0.75rem 0;
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-2
@@ -42,10 +42,15 @@
|
|||||||
<div class="color-form">
|
<div class="color-form">
|
||||||
<!-- add text indicating that we've changed color OR had an error -->
|
<!-- add text indicating that we've changed color OR had an error -->
|
||||||
{{#if color}}
|
{{#if color}}
|
||||||
<div class="color-info">Now available in <b>{{color}}</b>!</div>
|
<p class="color-info">
|
||||||
|
Now available in <b>{{color}}</b>!
|
||||||
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if colorError}}
|
{{#if colorError}}
|
||||||
<div class="color-info">Hmm. Couldn't find <b>"{{colorError}}"</b>. <a href="?randomize=go">Try a random color?</a></div>
|
<p class="color-info">
|
||||||
|
Hmm. Couldn't find <b>"{{colorError}}"</b>.
|
||||||
|
<a href="?randomize=go">Try a random color?</a>
|
||||||
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<!-- the "what's your favorite color?" form sends a POST to the server, check server.js to see how it works -->
|
<!-- the "what's your favorite color?" form sends a POST to the server, check server.js to see how it works -->
|
||||||
|
|||||||
Reference in new issue
Block a user