Skip to content

Commit 154afd5

Browse files
committed
features
1 parent 3baa854 commit 154afd5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/pages/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ import styles from './index.module.css';
1111

1212
function HomepageHeader() {
1313
const {siteConfig} = useDocusaurusContext();
14-
const all = {
15-
background: "white",
16-
};
1714

1815
const letters = {
1916
"text-align": "left",
@@ -22,12 +19,12 @@ function HomepageHeader() {
2219
background: "white",
2320
color: "#00152A",
2421
float: "right",
25-
width: "20%",
22+
width: "30%",
2623
margin: "0",
2724
};
2825
const image = {
2926
float: "right",
30-
width: "30%",
27+
width: "35%",
3128
};
3229
return (
3330
<header className={clsx('hero hero--primary', styles.heroBanner)}>

src/pages/index.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
* and scoped locally.
44
*/
55

6+
@media screen and (max-width: 950px) {
7+
.heroBanner {
8+
flex-direction: column;
9+
width: 100%;
10+
}
11+
}
12+
613
.heroBanner {
714
left: 50%;
815
align-content: center;
@@ -23,6 +30,7 @@
2330
display: flex;
2431
align-items: center;
2532
justify-content: left;
33+
width: 100%;
2634
}
2735

2836
.right {

0 commit comments

Comments
 (0)