4466ba436b
## 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
67 lines
1 KiB
CSS
67 lines
1 KiB
CSS
.container {
|
|
padding: 4rem 1rem;
|
|
max-width: 50rem;
|
|
margin: 0 auto;
|
|
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.container h1 {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.container p {
|
|
margin: 1.5rem 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.container button {
|
|
border-radius: 4px;
|
|
height: 40px;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 16px;
|
|
border: none;
|
|
transition: 0.25s all ease;
|
|
background-color: #eaeaea;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #111;
|
|
}
|
|
|
|
.container button:hover {
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.container a {
|
|
text-decoration: none;
|
|
color: #0070f3;
|
|
}
|
|
|
|
.inlineCode {
|
|
color: #be00ff;
|
|
font-size: 16px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.inlineCode::before,
|
|
.inlineCode::after {
|
|
content: "`";
|
|
}
|
|
|
|
.code {
|
|
margin-top: 16px;
|
|
display: block;
|
|
background: #222222;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
color: white;
|
|
font-size: 16px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.links {
|
|
margin-top: 16px;
|
|
color: #9c9c9c;
|
|
}
|