mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
## 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
70 lines
1.0 KiB
CSS
70 lines
1.0 KiB
CSS
section {
|
|
font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
padding: 48px 20px;
|
|
margin: 0 auto;
|
|
max-width: 600px;
|
|
color: #333;
|
|
}
|
|
|
|
section h2 {
|
|
font-weight: 700;
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
margin: 0 0 4px;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
section p {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
section a {
|
|
text-decoration: none;
|
|
color: #1ea7fd;
|
|
}
|
|
|
|
section ul {
|
|
padding-left: 30px;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
section li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
section .tip {
|
|
display: inline-block;
|
|
border-radius: 1em;
|
|
font-size: 11px;
|
|
line-height: 12px;
|
|
font-weight: 700;
|
|
background: #e7fdd8;
|
|
color: #66bf3c;
|
|
padding: 4px 12px;
|
|
margin-right: 10px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
section .tip-wrapper {
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin-top: 40px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
section .tip-wrapper svg {
|
|
display: inline-block;
|
|
height: 12px;
|
|
width: 12px;
|
|
margin-right: 4px;
|
|
vertical-align: top;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
section .tip-wrapper svg path {
|
|
fill: #1ea7fd;
|
|
}
|