Skip to content

Commit

Permalink
Swap website colours of the Home page (#6029)
Browse files Browse the repository at this point in the history
* Swap website colours of the Home page

Signed-off-by: SHRAVANI KAWARE <97099574+ShravaniAK@users.noreply.github.com>

* Add consistent corner rounding and spacing between buttons

Signed-off-by: SHRAVANI KAWARE <97099574+ShravaniAK@users.noreply.github.com>

---------

Signed-off-by: SHRAVANI KAWARE <97099574+ShravaniAK@users.noreply.github.com>
  • Loading branch information
ShravaniAK authored Jul 2, 2024
1 parent e18aaa6 commit 9407dfa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:root {
--md-primary-fg-color: #f3f1f2;
--md-primary-fg-color--dark: #0865AD;
--md-primary-fg-color--light: #6695CA;
--nav-item-color: #4d4d4d;
--md-primary-fg-color--dark: #0D4984;
--md-primary-fg-color--light: #6593C8;
--nav-item-color: #494848;
}

.md-clipboard {
Expand Down
17 changes: 11 additions & 6 deletions overrides/assets/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,15 @@ body {
font-size: large;
padding: 0.525em 1em;
min-width: fit-content;
border-radius:0.7rem;
margin-left: 0.5rem;
}

.home-container .md-button,
.need-to-know-more-container .md-button {
background-color: var(--md-primary-fg-color--light);
border-color: var(--md-primary-fg-color--light);
border-radius: 0.7rem;
}

.home-container .md-button--primary {
Expand All @@ -114,7 +117,7 @@ h2.secondary-headline, h3.trusted-by {
}

.home-container h1 {
color: var(--md-primary-fg-color--dark);
color: black;
margin-top: 1em;
margin-bottom: 0;
}
Expand Down Expand Up @@ -224,6 +227,7 @@ h2.secondary-headline, h3.trusted-by {
font-weight: 600;
margin: 0 auto 2rem;
max-width: 75%;
color:var(--nav-item-color);
}

.why-serverless-container .md-typeset h1,
Expand Down Expand Up @@ -273,7 +277,7 @@ h2.secondary-headline, h3.trusted-by {

/* knative components container css */
.knative-components-container h1 {
color: #7dc47e;
color: white;
}

.knative-components-container .text-table .normal-text {
Expand Down Expand Up @@ -308,7 +312,7 @@ h2.secondary-headline, h3.trusted-by {
}

.trying-it-all-container .md-typeset h2 {
color: var(--md-primary-fg-color--dark);
color: black;
line-height: 1;
margin-bottom: 1rem;
}
Expand Down Expand Up @@ -337,6 +341,7 @@ h2.secondary-headline, h3.trusted-by {
background-color: var(--md-primary-fg-color--dark);
color: white;
margin-top: 1em;
border-radius: 0.7rem;
}

.trying-it-all-container .md-button.call-to-action:hover {
Expand Down Expand Up @@ -387,7 +392,7 @@ h2.secondary-headline, h3.trusted-by {
.case-studies-container .normal-text {
text-align: start;
padding: 0 2em;
color: var(--md-primary-fg-color--light);
color: var(--nav-item-color);
font-weight: 600;
font-style: italic;
line-height: 1.1;
Expand Down Expand Up @@ -459,8 +464,8 @@ h2.secondary-headline, h3.trusted-by {

.cncf-notice-container h3 {
font-weight: bold;
color: var(--md-default-fg-color--light);
margin-top: 1rem;
color: var(--nav-item-color);
margin-top: 0;
}

.md-typeset img.cncf-logo {
Expand Down

0 comments on commit 9407dfa

Please sign in to comment.