Skip to content

Commit bc4d5d6

Browse files
authored
Move CSS for Hero Container to Theme (#581)
1 parent baef6d5 commit bc4d5d6

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/css/custom.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ svg.landingLogo path {
207207
fill: #ebedf0
208208
}
209209

210-
.heroContainer_src-theme-sections-hero-hero-module {
211-
background: -webkit-linear-gradient(to right, #102445, #0a1922) !important; /* Chrome 10-25, Safari 5.1-6 */
212-
background: linear-gradient(to right, #102445, #0a1922) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
213-
}
214-
215210
.hero__title {
216211
font-size: 2.5rem;
217212
}

src/theme/sections/hero/hero.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.heroContainer {
22
/* background: linear-gradient(134.3deg, #FFFFFF 0%, #000000 40.99%, #000000 100%);*/
3-
background: #000000; /* fallback for old browsers */
4-
background: -webkit-linear-gradient(to right, #000000, #434343); /* Chrome 10-25, Safari 5.1-6 */
5-
background: linear-gradient(to right, #000000, #434343); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
3+
background: #0a1922; /* fallback for old browsers */
64
padding: 32px 0 42px;
5+
background: -webkit-linear-gradient(to right, #102445, #0a1922) !important; /* Chrome 10-25, Safari 5.1-6 */
6+
background: linear-gradient(to right, #102445, #0a1922) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
77
}
88

99
.heroInner {

0 commit comments

Comments
 (0)