generated from koldovsky/html-template-autocheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac49fab
commit 83b4e35
Showing
20 changed files
with
484 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,63 @@ | ||
|
||
.contacts-form, | ||
.contacts-text { | ||
margin: 24px; | ||
text-align: left; | ||
margin: 24px; | ||
text-align: left; | ||
} | ||
|
||
.contacts-text p, | ||
.contacts-text h2, | ||
.contacts-text h3 { | ||
margin-bottom: 18px; | ||
margin-bottom: 18px; | ||
} | ||
|
||
.contacts-form input[type=text], | ||
.contacts-form input[type=text], | ||
.contacts-form input[type=tel], | ||
.contacts-form input[type=email], | ||
.contacts-form textarea { | ||
width: 100%; | ||
padding: 12px; | ||
resize: vertical; | ||
margin-bottom: 24px; | ||
border: none; | ||
border-bottom: 2px solid var(--text-color); | ||
background-color: inherit; | ||
width: 100%; | ||
padding: 12px; | ||
resize: vertical; | ||
margin-bottom: 24px; | ||
border: none; | ||
border-bottom: 2px solid var(--text-color); | ||
background-color: inherit; | ||
} | ||
|
||
.contacts-form input[type=text]:focus, | ||
.contacts-form input[type=tel]:focus, | ||
.contacts-form input[type=email]:focus, | ||
.contacts-form textarea:focus { | ||
border: none; | ||
border-bottom: 2px solid var(--color-warm); | ||
background-color: inherit; | ||
color: var(--text-color); | ||
.contacts-form input[type=text]:valid, | ||
.contacts-form input[type=tel]:valid, | ||
.contacts-form input[type=email]:valid, | ||
.contacts-form textarea:valid { | ||
border: none; | ||
border-bottom: 2px solid var(--color-warm); | ||
background-color: inherit; | ||
color: var(--text-color); | ||
} | ||
|
||
.contacts-form input[type=submit] { | ||
background-color: inherit; | ||
font-family: var(--font-sofia); | ||
position: relative; | ||
border: 2px solid var(--text-color); | ||
color: var(--text-color); | ||
padding: 0.75rem; | ||
background-color: inherit; | ||
font-family: var(--font-sofia); | ||
position: relative; | ||
border: 2px solid var(--text-color); | ||
color: var(--text-color); | ||
padding: 0.75rem; | ||
} | ||
|
||
.contacts-form input[type=submit]:hover { | ||
border: 2px solid var(--color-warm); | ||
color: var(--color-warm); | ||
} | ||
|
||
@media (min-width: 774px) { | ||
|
||
#contacts { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
.contacts-form{ | ||
flex: 1; | ||
} | ||
.contacts-text { | ||
flex: 1; | ||
} | ||
} | ||
#contacts { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
.contacts-form { | ||
flex: 1; | ||
} | ||
.contacts-text { | ||
flex: 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.