Skip to content

Commit

Permalink
chore(docs): remove unneeded/unused styles from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
evwilkin committed Jul 15, 2024
1 parent 96fb4d8 commit 60eab5a
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 223 deletions.
152 changes: 1 addition & 151 deletions packages/documentation-site/patternfly-docs/pages/home.css
Original file line number Diff line number Diff line change
@@ -1,155 +1,5 @@
.ws-mdx-p {
/* font-size: var(--pf-v6-global--FontSize--lg); */
}

.pf-m-white,
.pf-m-white.ws-mdx-a {
color: white;
}

#hello-were-patternfly+.ws-mdx-p {
margin-bottom: var(--pf-t--global--spacer--sm);
}

#patternfly-principles {
/* font-size: var(--pf-v6-global--FontSize--4xl); */
}

#flyer-fundamentals .ws-heading-anchor {
/* color: var(--pf-v6-global--Color--100); */
}

.ws-pf-principle .pf-v6-l-flex {
align-items: flex-start;
flex-wrap: nowrap;
}

.ws-pf-principle .pf-v6-l-flex>div:first-child {
margin-right: var(--pf-t--global--spacer--3xl);
flex-shrink: 0;
width: 93px;
text-align: center;
}

@media (max-width: 767px) {
.ws-pf-principle .pf-v6-l-flex {
flex-wrap: wrap;
}

.ws-pf-principle .ws-principles-img {
margin-bottom: var(--pf-t--global--spacer--lg);
}
}

.v5-featured-posts, .v5-stay-informed {
--pf-v6-c-page__main-section--PaddingRight: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingLeft: var(--pf-t--global--spacer--2xl);
}

.v5-featured-posts-cards, .v5-stay-informed-cards {
--pf-v6-c-page__main-section--PaddingTop: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingRight: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingBottom: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingLeft: var(--pf-t--global--spacer--2xl);
}

.v5-featured-posts > div.pf-v6-c-page__main-body,
.v5-stay-informed > div.pf-v6-c-page__main-body {
padding-bottom: 0px;
}

.v5-featured-posts-card-header-img {
.v6-featured-posts-card-header-img {
background-position: center;
background-size: cover;
height: 300px;
}

.ws-homepage-main-section {
--pf-v6-c-page__main-section--PaddingTop: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingRight: 0px;
--pf-v6-c-page__main-section--PaddingBottom: var(--pf-t--global--spacer--2xl);
--pf-v6-c-page__main-section--PaddingLeft: var(--pf-t--global--spacer--2xl);
}

@media (max-width: 992px) {
.ws-homepage-main-section {
--pf-v6-c-page__main-section--PaddingRight: var(--pf-t--global--spacer--2xl);
}
}

.ws-homepage-main-section.pf4-c-background-image .pf4-site-c-hero {
margin-bottom: 0;
margin: var(--pf-t--global--spacer--xl) auto 0;
}

.ws-mdx-a {
/* font-size: var(--pf-v6-global--FontSize--lg); */
}

@keyframes fadeIn {
from {
opacity: 0;
}

to {
opacity: 1;
}
}

.fadeIn {
animation-name: fadeIn;
}

@keyframes fadeInDown {
from {
opacity: 0;
transform: translate3d(0, -100%, 0);
}

to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}

.fadeInDown {
animation-name: fadeInDown;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 100%, 0);
}

to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}

.fadeInUp {
animation-name: fadeInUp;
}

.animated {
animation-duration: 1s;
animation-fill-mode: both;
}

.fadeInOne {
animation-delay: .2s;
}

.fadeInTwo {
animation-delay: .6s;
}

.fadeInThree {
animation-delay: 1s;
}

.fadeInFour {
animation-delay: 1.4s;
}

Loading

0 comments on commit 60eab5a

Please sign in to comment.