mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-28 23:01:57 -04:00
fix(curriculum): match the solution code with original demo (#52728)
This commit is contained in:
@@ -521,6 +521,11 @@ label {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#search-input:focus-visible,
|
||||
#search-button:focus-visible {
|
||||
outline: 3px solid #198eee;
|
||||
}
|
||||
|
||||
#search-input {
|
||||
height: 40px;
|
||||
padding-left: 10px;
|
||||
@@ -534,7 +539,6 @@ label {
|
||||
text-align: center;
|
||||
background-color: #7f21ab;
|
||||
color: #f5f6f7;
|
||||
outline: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -230,6 +230,7 @@ assert.strictEqual(outputEl.innerText.trim(), 'MMMCMXCIX');
|
||||
--gray-75: #3b3b4f;
|
||||
--gray-85: #1b1b32;
|
||||
--gray-90: #0a0a23;
|
||||
--blue-50: #198eee;
|
||||
--error: #a94442;
|
||||
--danger-color: #850000;
|
||||
--danger-background: #ffadad;
|
||||
@@ -296,6 +297,11 @@ label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input:focus-visible,
|
||||
button:focus-visible {
|
||||
outline: 3px solid var(--blue-50);
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
font-size: 2.5rem;
|
||||
@@ -307,12 +313,9 @@ input {
|
||||
color: white;
|
||||
background-color: var(--gray-90);
|
||||
border: 1px solid var(--gray-05);
|
||||
outline: none;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
button {
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
margin-top: 15px;
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user