-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Update for Edge/IE related to CSS [ms-high-contrast]
- Loading branch information
1 parent
204b12e
commit 2ce4f8e
Showing
9 changed files
with
48 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Main element fallback colors IE because IE does not support CSS variables */ | ||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { | ||
nav { background-color:#2A293E; } | ||
nav a, h1, footer { background-color:hsla(243, 20%, 40%, 1); } | ||
.calc-result ul { border-bottom:1px solid #2A293E; } | ||
.calc-result ul li { border:1px solid #2A293E; } | ||
.calc-result ul li:nth-child(odd) { background-color: hsla(243, 20%, 80%, 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* El elemento principal tiene colores alternativos IE porque IE no admite variables CSS */ | ||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { | ||
nav { background-color:#2A293E; } | ||
nav a, h1, footer { background-color:hsla(243, 20%, 40%, 1); } | ||
.calc-result ul { border-bottom:1px solid #2A293E; } | ||
.calc-result ul li { border:1px solid #2A293E; } | ||
.calc-result ul li:nth-child(odd) { background-color: hsla(243, 20%, 80%, 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* Cores de fallback do elemento principal IE porque o IE não suporta variáveis CSS */ | ||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { | ||
nav { background-color:#2A293E; } | ||
nav a, h1, footer { background-color:hsla(243, 20%, 40%, 1); } | ||
.calc-result ul { border-bottom:1px solid #2A293E; } | ||
.calc-result ul li { border:1px solid #2A293E; } | ||
.calc-result ul li:nth-child(odd) { background-color: hsla(243, 20%, 80%, 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