Skip to content

Commit

Permalink
website css updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Oct 6, 2024
1 parent a605910 commit a51e6ee
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
4 changes: 4 additions & 0 deletions website/src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
height: 100px;
width: 100px;
}

svg.featureSvg path {
stroke: var(--docusaurus-svg-color);
}
4 changes: 2 additions & 2 deletions website/src/components/HomepageTools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ function ToolsRight() {
<Tool {...props} />
))}
</div>
<hr />
<hr className="hero__hr2" />
<div className="text--center padding-horiz--md padding-vert--md">
<Heading as="h2">Work in Progress</Heading>
{WorkInProgressTools.map((props, idx) => (
<ToolWork {...props} />
))}
</div>
<hr />
<hr className="hero__hr2" />
<div className="text--center padding-horiz--md padding-vert--md">
<Heading as="h2">Internal</Heading>
<b><Link to={'https://github.com/xpack-dev-tools/xbb-helper-xpack'}>xbb-helper</Link></b> - <b>xPack Build Helper</b>
Expand Down
17 changes: 17 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
--ifm-color-primary-lightest: #97c0fe;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--docusaurus-svg-color: #323232;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -30,13 +31,29 @@
--ifm-color-primary-lighter: #69a4fe;
--ifm-color-primary-lightest: #97c0fe;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--docusaurus-svg-color: #CDCDCD;
}

/* For the home page xpm install field */
p.hero__code code {
color: var(--ifm-font-color-base)
}


p.hero__subtitle {
margin: 0 0 0 0; /* 0 0 var(--ifm-paragraph-margin-bottom) */
}


hr.hero__hr {
/* background-color: var(--ifm-color-primary); */
height: 3px;
}

hr.hero__hr2 {
height: 2px;
}

/* Reduce size of blog titles (H2 is 2rem) */
.title_f1Hy {
font-size: 2.5rem; /* 3rem; */
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Home(): JSX.Element {
<HomepageHeader />
<main>
<HomepageFeatures />
<hr/>
<hr className="hero__hr"/>
<HomepageTools />
</main>
</Layout>
Expand Down
2 changes: 1 addition & 1 deletion website/static/img/check-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion website/static/img/globe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion website/static/img/mosaic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a51e6ee

Please sign in to comment.