Skip to content

Commit

Permalink
updated the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
opiopan committed Jun 17, 2024
1 parent 7ab5251 commit c188c8c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import HomepageTopics from '@site/src/components/HomepageTopics';

import Heading from '@theme/Heading';
import styles from './index.module.css';
import styles from './index.module.scss';

import { Version } from '@site/.version';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* and scoped locally.
*/

$screen_threshold: 996px;

.heroBanner {
height: 30rem;
padding: 4rem 0;
Expand All @@ -18,6 +20,15 @@
background-size: cover;
background-position-x: center;
color:white;

@media screen and (max-width: $screen_threshold) {
background:
linear-gradient(to bottom, transparent 40%, var(--fm-background) 100%),
linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
url("/static/img/titleback-small.webp")
black
;
}
}

.heroTitleText {
Expand Down
Binary file added docs/static/img/titleback-small.webp
Binary file not shown.

0 comments on commit c188c8c

Please sign in to comment.