rsnext/examples/environment-variables/styles.module.css
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

62 lines
967 B
CSS

.container {
padding: 4rem 1rem;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.container p {
margin: 1.5rem 0;
}
.container pre {
border: 1px solid #eaeaea;
padding: 1.25rem;
margin: 1.5rem 0;
white-space: pre;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.card {
max-width: 50rem;
box-shadow: -10px 10px 80px rgba(0, 0, 0, 0.12);
border: 1px solid #eee;
border-radius: 8px;
padding: 2rem;
margin: 0 auto;
}
.inlineCode {
color: #be00ff;
font-size: 16px;
white-space: pre-wrap;
}
.inlineCode::before,
.inlineCode::after {
content: "`";
}
.hr {
border: 0;
border-top: 1px solid #eaeaea;
margin: 1.5rem 0;
}
.table {
display: block;
overflow: auto;
border-collapse: collapse;
margin: 2.5rem 0;
}
.table th {
font-weight: 600;
padding: 0.75rem 0.875rem;
border: 1px solid #eaeaea;
}
.table td {
font-size: 0.875rem;
padding: 0.75rem 0.875rem;
border: 1px solid #eaeaea;
}