rsnext/examples/with-gsap/App.scss
Steven 4466ba436b
chore(examples): use default prettier for examples/templates (#60530)
## Description
This PR ensures that the default prettier config is used for examples
and templates.

This config is compatible with `prettier@3` as well (upgrading prettier
is bigger change that can be a future PR).

## Changes
- Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will
be needed upgrading to prettier@3)
- Added `examples/.prettierrc.json` with default config (this will
change every example)
- Added `packages/create-next-app/templates/.prettierrc.json` with
default config (this will change every template)

## Related

- Fixes #54402
- Closes #54409
2024-01-11 16:01:44 -07:00

63 lines
1 KiB
SCSS

.header {
width: 100%;
display: flex;
align-items: center;
height: 100px;
a {
margin: 0 28px;
text-decoration: none;
color: #181818;
font-size: 12px;
font-weight: 600;
font-family: "Poppins";
}
}
.container {
position: relative;
width: 1280px;
min-width: 1280px;
margin: 0 auto;
display: flex;
justify-content: center;
.page {
position: absolute;
.inner {
display: flex;
justify-content: center;
h1 {
font-family: "Bebas Neue";
font-size: 52px;
letter-spacing: 0.1rem;
.line-wrap {
overflow: hidden;
height: 66px;
}
}
p {
font-family: "Poppins";
margin-top: 200px;
width: 340px;
font-weight: 300;
line-height: 24px;
font-size: 14px;
}
}
}
}
.page-enter {
opacity: 0;
}
.page-enter-active {
opacity: 1;
transition: opacity 400ms;
transition-delay: 600ms;
}
.page-exit {
opacity: 1;
}
.page-exit-active {
opacity: 0;
transition: opacity 400ms;
}