css improvements

This commit is contained in:
ben7sys
2024-11-06 11:18:51 +01:00
parent ae3eab7a98
commit 93a47db841
2 changed files with 16 additions and 20 deletions

View File

@@ -92,6 +92,8 @@
color: var(--text-color);
opacity: 0.7;
transition: color var(--transition-base);
pointer-events: none;
z-index: 1;
}
.input-wrapper textarea + i {
@@ -110,6 +112,7 @@
color: var(--text-color);
font-family: var(--font-primary);
transition: all var(--transition-base);
position: relative;
}
.input-wrapper textarea {
@@ -131,6 +134,7 @@
.input-wrapper input:focus + i,
.input-wrapper textarea:focus + i {
color: var(--accent-color);
top: 50%;
}
/* Character Counter */
@@ -160,6 +164,7 @@
display: flex;
align-items: center;
gap: var(--space-xs);
top: 0;
}
/* Submit Button */
@@ -243,9 +248,6 @@
color: var(--text-color);
position: relative;
display: inline-block;
}
.contact-info h3::after {
content: '';
position: absolute;
bottom: -8px;