diff --git a/index.css b/index.css index dade2f4..909334b 100644 --- a/index.css +++ b/index.css @@ -135,7 +135,7 @@ select, input:not(.clr-input) { .input:focus, .input:active { - /* font-weight: 700; */ + font-weight: 700; outline: solid var(--clr-outline) 5px; border: 2px solid var(--clr-border); } @@ -154,7 +154,11 @@ select, input:not(.clr-input) { color: var(--clr-text); pointer-events: none; letter-spacing: 1.75px; - font-weight: 500; + font-weight: 600; +} + +#clr-input:hover ~ #clr-input-text { + font-weight: 800; } .scheme-select { @@ -192,26 +196,6 @@ select, input:not(.clr-input) { position: relative; } -#clr-0{ - background-color: #3EEBD8; -} - -#clr-1 { - background-color: #42CDED; -} - -#clr-2 { - background-color: #459CEE; -} - -#clr-3 { - background-color: #496CF0; -} - -#clr-4 { - background-color: #5B4DF1; -} - .clr-hex-code { width: 100px; padding: 10px; @@ -318,7 +302,6 @@ div > span { position: relative; bottom: 0; right: 0; - font-size: 1.15em; } @keyframes copied { @@ -363,7 +346,7 @@ div > span { border-radius: 6px; text-align: center; } - + button { line-height: 0; } diff --git a/index.html b/index.html index 1fcfb5d..b1c5f94 100644 --- a/index.html +++ b/index.html @@ -37,22 +37,22 @@
#459CEE
- +Click anywhere on a colour to copy its hex code!
@@ -64,32 +64,32 @@#3EEBD8
+#42CDED
+#459CEE
+#496CF0
+#5B4DF1
+