Skip to content

Commit

Permalink
Move CSS for Hero Container to Theme (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Apr 13, 2023
1 parent baef6d5 commit bc4d5d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ svg.landingLogo path {
fill: #ebedf0
}

.heroContainer_src-theme-sections-hero-hero-module {
background: -webkit-linear-gradient(to right, #102445, #0a1922) !important; /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #102445, #0a1922) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.hero__title {
font-size: 2.5rem;
}
Expand Down
6 changes: 3 additions & 3 deletions src/theme/sections/hero/hero.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.heroContainer {
/* background: linear-gradient(134.3deg, #FFFFFF 0%, #000000 40.99%, #000000 100%);*/
background: #000000; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #000000, #434343); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #000000, #434343); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: #0a1922; /* fallback for old browsers */
padding: 32px 0 42px;
background: -webkit-linear-gradient(to right, #102445, #0a1922) !important; /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #102445, #0a1922) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.heroInner {
Expand Down

0 comments on commit bc4d5d6

Please sign in to comment.