-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added 'Getting Started' button and started improving homepage style #164
base: main
Are you sure you want to change the base?
Changes from 1 commit
a94a414
2f30e97
9c04223
4065bf9
b8fbf41
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -9,11 +9,24 @@ | |||||
} | ||||||
|
||||||
.hero { | ||||||
background: url('/static/img/bg-pattern-dark.png'); | ||||||
/* background: url('/static/img/bg-pattern-dark.png'); */ | ||||||
display: flex; | ||||||
align-items: center; | ||||||
justify-content: center; | ||||||
background-color: black; | ||||||
height: 50vh; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. more in line with the actual
Suggested change
|
||||||
filter: invert(var(--fty-hero-color-filter)); | ||||||
padding: 3rem 2rem; | ||||||
} | ||||||
|
||||||
.flex-col { | ||||||
display: flex; | ||||||
flex-direction: column; | ||||||
align-items: center; | ||||||
justify-content: center; | ||||||
gap: 1.5rem; | ||||||
} | ||||||
|
||||||
.hero img { | ||||||
max-width: 320px; | ||||||
} | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,3 +68,14 @@ | |
border-radius: var(--ifm-code-border-radius); | ||
padding: 2em 1em 1em; | ||
} | ||
|
||
.text-center { | ||
text-align: center; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't we have it already somewhare here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately, I couldn't find something similar. Infima doesn't seem to have as many utility classes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead, it exists, it's not written in the documentation, but by trying, using Infima's style 'with double dash' I managed to use Infima's utility class. I will remove this line of code. |
||
|
||
.flex { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 4rem; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't like it?
other proposal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially, I thought of leaving only the black background; it seemed to me a more modern and minimalist look. If, instead, we want to keep a background image, as an alternative, I would have something similar to this:
What do you think? Otherwise, it's perfectly fine to keep the current one.