Skip to content

Commit b129005

Browse files
committed
docs: change css of the front page
1 parent a53fe7b commit b129005

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

src/css/custom.css

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,17 @@
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}
3131
#frontPage {
32-
min-height: 80vh;
3332
width: 100%;
3433
height: 100%;
3534
}
36-
.footer {
37-
min-height: 20vh;
38-
width: 100%;
39-
height: auto;
40-
}
41-
p {
42-
padding: 1rem;
43-
max-width: 65%;
35+
.frontPage__text {
4436
margin: auto;
37+
max-width: 45%;
38+
padding: 1em;
4539
}
46-
.front_page__text {
47-
font-size: 18px;
40+
41+
.main-wrapper {
42+
flex: 1 0 0;
4843
}
4944

5045
button {

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function HomepageHeader() {
1616
<div className="container">
1717
<h1 className="hero__title">{siteConfig.title}</h1>
1818
<p className="hero__subtitle">{siteConfig.tagline}</p>
19-
<p className="front_page__text">
19+
<p className="frontPage__text">
2020
ImageJS is a JavaScript library designed to facilitate image
2121
processing and manipulation. It provides a wide range of features for
2222
developers to enhance, analyze, and transform images seamlessly. It

0 commit comments

Comments
 (0)