- adds pages for a variety of guides
- add images to the many of the guides and docs pages
This commit is contained in:
Amruth Pillai
2026-01-23 14:18:48 +01:00
parent 895af548a0
commit ed74fb67f2
59 changed files with 325 additions and 139 deletions
+17 -28
View File
@@ -11,6 +11,10 @@ The **Custom CSS** panel lets you write your own CSS rules to change how your re
- **Auto-save**: there is no “Save” button—your CSS is saved automatically when it changes.
- **Scoped styling (mostly)**: to avoid affecting the rest of the app, your CSS is *usually* scoped to the resume preview.
<Frame caption="Screenshot of the Custom CSS section in the right sidebar">
<img src="/images/guides/using-custom-css/screenshot-1.webp" alt="Screenshot of the Custom CSS section in the right sidebar" />
</Frame>
## Where to find it
In the resume builder, open the **right sidebar** and select **Custom CSS** (the `CSS` section).
@@ -54,19 +58,19 @@ Example:
### Formatting tip (to avoid scoping edge-cases)
Keep each rules selector on **one line**, for example:
Keep each rule's selector on **one line**, for example:
```css
.page-section-experience .section-item-title { font-weight: 700; }
```
Avoid splitting a selector across multiple lines unless youve confirmed it behaves as expected.
Avoid splitting a selector across multiple lines unless you've confirmed it behaves as expected.
## Finding the right selectors
### Use autocomplete in the editor
In the Custom CSS editor, type a `.` (dot). Youll get suggestions for commonly-used class selectors, including:
In the Custom CSS editor, type a `.` (dot). You'll get suggestions for commonly-used class selectors, including:
- **Page-level**: `.page`, `.page-content`, `.page-header`, `.page-basics`, `.page-main`, `.page-sidebar`, `.page-picture`
- **Section-level**: `.page-section`, `.section-content`
@@ -77,7 +81,7 @@ In the Custom CSS editor, type a `.` (dot). Youll get suggestions for commonl
### Stable “starter selectors”
If youre not sure where to start, these are usually safe:
If you're not sure where to start, these are usually safe:
- `.page` (the resume page container)
- `.page-section` (each resume section)
@@ -196,9 +200,9 @@ Example (tighten spacing without changing your layout settings):
```css
.section-item-link a {
display: inline-block;
padding: 2pt 6pt;
padding: 3pt 9pt;
border-radius: 999pt;
border: 1pt solid color-mix(in srgb, var(--page-primary-color) 45%, transparent);
border: 2pt solid color-mix(in srgb, var(--page-primary-color) 45%, transparent);
text-decoration: none;
}
```
@@ -241,40 +245,25 @@ Example (tighten spacing without changing your layout settings):
}
```
### 9) Highlight a specific section (example: Experience)
### 9) Highlight a specific section (example: Profiles)
```css
.page-section-experience {
background: color-mix(in srgb, var(--page-primary-color) 6%, transparent);
.page-section-profiles {
background: color-mix(in srgb, var(--page-primary-color) 10%, transparent);
border-radius: 8pt;
padding: 8pt;
}
```
### 10) Print-only adjustments (manually scoped)
```css
@media print {
.resume-preview-container .page {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.resume-preview-container a {
text-decoration: none;
}
padding: 8pt 12pt;
}
```
## Troubleshooting
### My CSS doesnt do anything
### My CSS doesn't do anything
- Make sure **Enable** is turned on.
- Prefer targeting `.page`, `.page-section`, and `.section-item` instead of `body`.
- Use your browser devtools to **inspect** the preview and confirm the element/class names.
### My `@media` rules affect the whole app / dont apply
### My `@media` rules affect the whole app / don't apply
At-rules arent auto-scoped. Prefix selectors inside them with `.resume-preview-container` as shown above.
At-rules aren't auto-scoped. Prefix selectors inside them with `.resume-preview-container` as shown above.