Skip to content

Commit 3ee7aad

Browse files
committed
updated banner style
1 parent 5e46d2c commit 3ee7aad

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

‎_sass/home/_header.scss‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
bottom: 0;
7575
width: 100%;
7676
height: 30%;
77-
z-index: 9999;
77+
// z-index: 9999;
7878

7979
display: table-cell;
8080
vertical-align: middle;
@@ -91,10 +91,11 @@
9191
color: $brand-secondary;
9292

9393
position: absolute;
94-
// top: 50%; left: 50%;
95-
// transform: translate(-50%,-50%);
96-
top: 50%; left: 25%;
97-
transform: translate(-17.5%,-50%);
94+
top: 50%; left: 50%;
95+
transform: translate(-50%,-50%);
96+
width: 75%;
97+
// top: 50%; left: 25%;
98+
// transform: translate(-17.5%,-50%);
9899
}
99100

100101
.funding-banner figure {
@@ -108,12 +109,24 @@
108109
font-family: $sans-serif-font-stack;
109110
}
110111

111-
@media(min-width:768px) {
112+
@media(min-width:736px) {
113+
.funding-banner {
114+
height: 20%;
115+
}
116+
}
117+
118+
@media(min-width:1080px) {
112119
.funding-banner {
113120
height: 10%;
114121
}
115122
}
116123

124+
@media(min-width:1950px) {
125+
.funding-banner-inner {
126+
width: 50%;
127+
}
128+
}
129+
117130

118131
.header-bg {
119132
position: absolute;

0 commit comments

Comments
 (0)